HP / Aruba Switch CRC/Packet Drop Check (Nagios / Icinga)
This script checks HP/Aruba (also modular) switches (and maybe all others switches with common MIBs) on every interface for CRC errors & packet errors (in / out).
Tested on Icinga2 (version: r2.9.1-1)
check_hp_crc.sh - Version 1.0
by Michael St - 23.10.2014
is121026[at]fhstp.ac.at
GNU GPLv3
This means: you are allowed to copy and change the script as you like!
The script is free for download, but be so kind and don´t delete my name and replace it with yours!
Help is within the Script (-h)
Debugging is also available (-d)
Performance Data: (-p)
Wors great with pnp4nagios (should work also with nagiosgraph)
Need more SNMP MIBS downloaded -> snmp-mibs-downloader
example: https://packages.debian.org/de/jessie/snmp-mibs-downloader
used MIBs:
-
RMON-MIB
- IF-MIB
-
Service/Command definitions: check_hp_switch_definitions.txt
-
Script: check_hp_switch.sh