Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Nagios plugin for checking Siemens HiPath 3000 Series PBX via SNMP
Current Version
Last Release Date
June 8, 2009
Owner
Tomas Ruzicka
The HiPath's MIB
This plugin checks the following via SNMP: * the overall system state * state of every installed extension card * load level * uptime
The first two checks alter the check's result code, 3rd may optionaly alter it too. Uptime is just informational.
Some examples:
-- without parameters usage is printed and UNKNOWN status returned [root@nagios libexec]# ./check_siemens_hipath Usage: check_siemens_hipath -H hostname_or_ip-address [-C community] [-w load -c load] Usage: check_siemens_hipath -V|--version Usage: check_siemens_hipath --help
-- if no community is given, "public" is assumed [root@nagios libexec]# ./check_siemens_hipath --host checked.systems.ip.address -w 10 -c 20 OK - Overall system state(normal); All 12 expansion cards(normal); CPU Load 0% (w/c 10%/20%); Uptime: 62:9:51:35.45
-- if -w and/or -c is ommited or if -c is lower than -w - load level is only informational (no nagios state change) [root@nagios libexec]# ./check_siemens_hipath -H checked.systems.ip.address OK - Overall system state(normal); All 12 expansion cards(normal); CPU Load 0%; Uptime: 62:10:08:26.67
-- "warning" and "minor" state is mapped to WARNING, "major" and "critical" is mapped to CRITICAL [root@nagios libexec]# ./check_siemens_hipath -H checked.systems.ip.address WARNING - Overall system state(minor); Failing expansion cards: HXGM3(minor); CPU Load 0%; Uptime: 62:10:08:26.67
-- bad host or community [root@nagios libexec]# ./check_siemens_hipath --host 192.168.1.2 -C cmnty UNKNOWN - bad host (192.168.1.2) or community string (cmnty) or SNMP not working
After some problems with errors because of the missing MIBs the plugin works fine. Thank you. Only 4 "stars" rating because of the problems with the MIBs. I don't know if i solved it without the hint from csdragon. Thank you! Maybe you could add a check for the needed MIBs with a clear error message, if they are missing. If somebody has got the same problem: I'm using Debian. First you need to add a "non-free" repository to your "sources.list". After that you can install die "mibs-downloader" with "apt-get install snmp-mib-downloader". While installing it automatically downloads all official IETF Mibs.
Thx. Esquilax! Glad to hear my plugin works for you :-) Much better I could have used numerical OIDs in the code completelly eliminating the need for any MIBs...
First off all I had to download the snmp-mibs-downloader and install all MIBs...
When i tried to probe this plugin i get this exit.. Did not find 'hrMIBAdminInfo' in module HOST-RESOURCES-MIB (/usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt) Unlinked OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 } Undefined identifier: hrMIBAdminInfo near line 7 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt Cannot find module (H150E-MIB): At line 0 in (none) Cannot adopt OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 } h150eSysState.0: Unknown Object Identifier (Sub-id not found: (top) -> h150eSysState) Did not find 'hrMIBAdminInfo' in module HOST-RESOURCES-MIB (/usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt) Unlinked OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 } Undefined identifier: hrMIBAdminInfo near line 7 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt Cannot find module (H150E-MIB): At line 0 in (none) Cannot adopt OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 } Missing object name What can i do in this Case?? Thanks in advanced Carlos Armas
You must be logged in to submit a review.
To:
From: