Nagios plugins support

by GarciaPL on Tuesday 30 April 2013

Some of you may noticed that I made few posts about Nagios plugins which were made by me ;)

1) Monitor Cisco HSRP with SNMP
2) Nagios HP BladeSystem Ambient Temperature
3) CPUMem Cisco 2800 plugin Nagios Exchange

Second and third script you can of course find at Nagios Exchange.

I would like also to tell that if you have some bright or casual idea about new plugin for Nagios or your company needs to write some plugins and integrate them with existed Nagios infrastructure, please just write to me ;) I will help you of course in telecommute way ;) Contact information you will be able to find in About me section of this blog.

Nagios | The Industry Standard in IT Infrastructure Monitoring

Orange API Hackathon

by GarciaPL on Thursday 25 April 2013

So! A new competition has arrived! It is called Orange API Hackathon! It is dedicated to developers and people with bright ideas about new applications, systems and services which must use one of the available Open Middleware Application Programming Interfaces which are provided by Orange and Town Hall of Warsaw (Find out where this town is! and Check Town Hall Website).

This contest is divided into two stages :

Stage 1) Collection of Abstracts (11 April 2013 - 3 June 2013)
Stage 2) Implementation and Selection (15 June May 2013 - 25 June 2013)

Awards :

- Grand Prize : invitation for one to Java One Conference 2013
- First Prize : summer internships in Orange Labs for 3 participants for 3 months


I think that very interesting and for some very useful information is that one of the partner of contest which is a IQ Partners SA is going to setting aside a pool of 500 000 PLN (about 120 000 Euros) to create a company with one or more winners of Orange API Hackathon.

Reference :
[1] Open Middleware Orange API Hackathon Contest Details
[2] Terms & Conditions of Contest [English]
[3] Terms & Conditions of Contest [Polish]
[4] Town Hall of Warsaw
[5] IQ Partners SA

Perl Check for Business Days with DateTime module

by GarciaPL

Quick piece of code how to check if given date in DateTime module format is business day or not ;) I think that this function is very usefull for every kind of business application that you would like to write in the near future ;)

my @day_of_week = ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday');

sub check_business_day {
 my ($name_of_day) = @_;
 if ( grep( /^$name_of_day$/, @day_of_week ) ) {
  return 1;
 } else {
  return 0;
 }
}

check_business_day($date_time->day_name());

Function returns 1 if given day name from $date_time variable is a business day, otherwise it return 0.

Reference :
[1] Source Pastebin.com