Updates to all Nagios/Icinga check plugins

This is a collection of updates to all SNMP-based plugins:

  • SNMPv3 authentication by username/password pairs fixed
  • indentation of all perl files fixed using ‘perltidy -ce -i=2 -pt=2 -l=0’
  • SVN tags $Revision$ and $Rev$ replaced by $Id$
  • $Id$ now handled by .git/info/attributes after moving from SVN to GIT

List of plugins and versions order:

1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 3.29 out of 5)
Loading...

Host-Resource-MIB queries: cpu, processes, storage (v3.5)

Version 3.4 includes a version of check_hr_storage which supports different unit types (mega-, giga-, tera- and petabytes as well as percentage values). Thanks Alex for pointing me into this direction!

Version 3.5 compared to version 3.4 replaces BigInt with BigFloat and solves an output issue with percentage values.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: check plugins for Host-Ressource-MIB (4779 downloads )

Host-Resource-MIB queries: cpu, processes, storage (v3.2)

Version 3.1 introduced an unwanted behaviour on checking partial paths on Unix. For example “/” would also hit “/var” if it was first in the list. So the “feature” (not a bug) of an exact match has now been added.

This means you don’t need to state the full storage name as a parameter, which makes it possible to use this service-check on a whole hostgroup in Nagios, i.e. check “C:” on all “windows-servers” in a single blow, while still allowing for exact matches on Unix-like systems.

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4.50 out of 5)
Loading...

DOWNLOAD: check plugins for Host-Ressource-MIB (4203 downloads )

Host-Resource-MIB queries: cpu, processes, storage (v3.1)

Version 3.1 changed the way the storage-name is checked

  • from $response->{$key} eq $volumeName
  • to $response->{$key} =~ /^$volumeName/

This means you don’t need to state the full storage name as a parameter, which makes it possible to use this service-check on a whole hostgroup in Nagios, i.e. check “C:” on all “windows-servers” in a single blow.

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: check plugins for Host-Ressource-MIB (4166 downloads )

Host-Resource-MIB queries: cpu, processes, storage (v3.0)

Query the Host Resource MIB of various operating systems for cpu usage, processes and storage/volumes. These scripts have been tested against Linux and Windows XP, but should do the job for any other OS as well.

These versions are complete rewrites in Perl and only use OID-Trees, so you don’t need to add the Host-Resource-MIB to your local configuration.

Version 3.0 includes the new check_hr_cpuload script which allows you to monitor the CPU usage over longer time periods, which in general should be more interesting than a single-point-in-time check:

  • data history is stored in small files on a per-host basis (defaults to /tmp)
  • the amount of data-points is configurable (defaults to 10)

Basically this is an extension of the check_hr_cpu script and therefor works the same for multiple CPUs. If there should be any interest in having an addition switch on both scripts to identify the cpuID let me know. I personally guess there is no big need in having such a restriction.

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.50 out of 5)
Loading...

DOWNLOAD: check plugins for Host-Ressource-MIB (4212 downloads )

Host-Resource-MIB queries: cpu, processes, storage (v2.5)

Query the Host Resource MIB of various operating systems for cpu usage, processes and storage/volumes. These scripts have been tested against Linux and Windows XP, but should do the job for any other OS as well.

The current version is a complete rewrite in Perl and only uses the OID-Trees, so you don’t need to add the Host-Resource-MIB to your local configuration.

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD: check plugins for Host-Ressource-MIB (4071 downloads )