Phase one, Check IOStat for Nagios.

Full Working version can be found here

/* CHECK OUT THE LINK AT THE TOP OF THIS POST­čśë */
/* OR CHECK THE SOURCE DIRECTLY HERE ;               
     http://technology.amis.nl/download/iostat/

    THIS SCRIPT REQUIRES THE SYSSTAT PACKAGE (IOSTAT)
*/

Thanks, Rgrds,

About Chris Gralike

Momenteel ben ik manager van de afdeling business continuity bij de zakelijke IT dienstverlener AMIS Services BV. Sinds 2003 ben ik actief in de ICT branche. Tussen 2003 en nu heb ik verschillende rollen vervuld. In de rollen: systeem- en netwerkbeheer, system engineer, servicemanager en nu practice manager ben ik in contact gekomen met uiteenlopende technologie├źn, methodologie├źn, idee├źn, oplossingen en innovaties. Een rijke ervaring waarmee ik de klanten van Conclusion en AMIS elke dag probeer te ondersteunen. Mijn credo: 'Altijd opzoek een win-win tussen business en technologie.'

Posted on February 4, 2010, in centreon, Linux, Linux Commands, Nagios / Centreon, Network Monitoring and tagged , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink. 2 Comments.

  1. the script has a lot of &quot… stuff in it. I don’t know perl, did something go wrong?

    When I replace the " with ” I can run this, but the output is not good:

    [martin@186395-NOC01 ~]$ ./iostat-plugin.pl
    Name “main::CT” used only once: possible typo at ./iostat-plugin.pl line 59.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 61.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 62.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 63.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 64.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 65.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 66.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 67.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 68.
    Number of devices : 0; sda total wait: sda total util: sdb total wait: sdb total util: sdc total wait: sdc total util: sdd total wait: sdd total util: [martin@186395-NOC\
    01 ~]$
    [martin@186395-NOC01 ~]$ ./iostat-plugin.pl
    Name “main::CT” used only once: possible typo at ./iostat-plugin.pl line 59.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 61.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 62.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 63.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 64.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 65.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 66.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 67.
    Use of uninitialized value in concatenation (.) or string at ./iostat-plugin.pl line 68.
    Number of devices : 0; sda total wait: sda total util: sdb total wait: sdb total util: sdc total wait: sdc total util: sdd total wait: sdd total util: [martin@186395-NOC\
    01 ~]$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: