Home Directory Plugins Hardware Network Gear Siemens Siemens HiPath 3000 Series check

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Siemens HiPath 3000 Series check

Rating
4 votes
Favoured:
0
Owner
Hits
108154
Files:
FileDescription
check_siemens_hipathThe check plugin
H150E-MIB.txtThe HiPath's MIB
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios plugin for checking Siemens HiPath 3000 Series PBX via SNMP
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
Reviews (3)
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.
Owner's reply

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...

bycsdragon, July 9, 2013
1 of 1 people found this review helpful
First off all I had to download the snmp-mibs-downloader and install all MIBs...
bycarmas, November 25, 2009
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