Zabbix templates:
- HP c7000 chassis SNMP monitoring template with autodiscover
Install guide:
-
Create Regexp in Zabbix accrding to HP_regexp.png screenshot from this repository
-
Add required MIB files to your system: I have downloaded required mibs from here:
http://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1580676047/v124934/upd10.50mib.tar.gz and used mainly:
-rw-r--r-- 1 root root 98745 jún 26 15:04 cpqhost.mib
-rw-r--r-- 1 root root 270427 jún 26 15:04 cpqrack.mib
-rw-r--r-- 1 root root 73 jún 26 15:04 rfc-1212.mib
-rw-r--r-- 1 root root 105462 jún 26 15:04 rfc1213.mib
-rw-r--r-- 1 root root 3776 jún 26 15:04 rfc-1215.mib
Based on: http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS
Steps for Ubuntu 16.04 LTS:
- Copy MIBs to /usr/share/snmp/mibs and rename them to SOMENAME-MIB.my
- EDIT /etc/snmp/snmp.conf and add mibs loading:
mibs +CPQHOST-MIB mibs +CPQRACK-MIB
- Restart snmpd daemon:
/etc/init.d/snmpd restart
Test functionality: snmptranslate -IR -On cpqRackServerBladePartNumber.1
- Restart Zabbix server to use newly added MIBS
/etc/init.d/zabbix-server restart
- Import template to zabbix
- Create macro in zabbix: {$COMMUNITY} - community string for chassis.