This will allow you to monitor HP hardware, i.e. RAID controller, degraded disk etc. This was done on Ubuntu 10.04
wget http://downloads.linux.hp.com/SDR/downloads/bootstrap.sh
chmod +x bootstrap.sh
./bootstrap.sh -r ProLiantSupportPack (this adds the HP repo to apt's sources)
wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack
apt-key add GPG-KEY-ProLiantSupportPack
aptitude update
apt-get install hp-snmp-agents
apt-get install net-snmp (or apt-get install snmp for later versions)
/sbin/hpsnmpconfig - Follow the prompts
##########################################
Restart snmp
/etc/init.d/snmpd restart
wget http://downloads.linux.hp.com/SDR/downloads/bootstrap.sh
chmod +x bootstrap.sh
./bootstrap.sh -r ProLiantSupportPack (this adds the HP repo to apt's sources)
wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack
apt-key add GPG-KEY-ProLiantSupportPack
aptitude update
apt-get install hp-snmp-agents
apt-get install net-snmp (or apt-get install snmp for later versions)
/sbin/hpsnmpconfig - Follow the prompts
nano /etc/default/snmpd
#modify this line, replacing x.x.x.x with your public facing IP if needed
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1 x.x.x.x'
##########################################
Restart snmp
/etc/init.d/snmpd restart
Start the agents!
/etc/init.d/hp-snmp-agents start
Test with
snmpwalk -v 1 -c rocom localhost 1.3.6.1.4.1.232
Comments
Post a Comment