FR : Il s'agit d'un plugin de mon cru pour interroger les mibs Insight Manager des serveurs HP/COMPAQ (raid, réseaux, ventilo, température, ...) afin de savoir si tout va bien.
Il est écrit en Perl et très fortement inspiré du code de Manubulon pour la partie snmp.
EN : It's a plugin for my own to check Insight Manager mibs from HP/COMPAQ servers (raid, nic, fan, temp, ...) to see if everything goes well.
It is written in Perl and strongly inspired by the code of Manubulon for the snmp part.
######################### check_snmp_cpqHealth ################################################## ###########################
# VERSION : 1.5
# AUTHOR : DonKiShoot ( donkishoot at neuf dot fr )
# HELP : ./check_snmp_cpqHealth.pl -h (for more information go to http://forum.centreon.com/showthread.php?t=2899)
# LICENCE : GPL - http://www.fsf.org/licenses/gpl.txt
############################# CHANGELOG ################################################## ##################################
# 1.5 (25 Apr 2013) : cpqDaLogDrvRebuildBlks deprecated by HP. Must add an 'isAvailable()' check for avoiding crash
# 1.4 (03 Apr 2012) : Update Mib Objects definitions to version 9
# 1.3 (26 Jan 2012) : Update function returnDisk() to handle empty array for OID cpqDaLogDrvPhyDrvIDs
# 1.2 (10 Jun 2011) : Add factory temperature threshold crossover check (-T)
# 1.1 (05 Jul 2010) : Add fan redundancy check (beta option -f)
# 1.0 (19 May 2008) : Release "Prod I" for production use (no update since last version)
# 0.9 (28 Mar 2008) : Best blade support with little hack
# Add DaCntlrNumberOfInternalPorts & DaCntlrNumberOfExternalPorts & DaCntlrDriveWriteCacheState
# Update MIB information (HeFltTolFanLocale,DaCntlrModel,Sm2CntlrModel,NicI fPhysAdapterConfSpeedDuplex)
# 0.8 (20 Sep 2007) : Fix bug with snmpV2 by adding $session->max_msg_size(8000)
# 0.7 (02 Mar 2007) : Add Spare Drive check
# 0.6 (01 Mar 2007) : Fix bug with multi disk controller
# Update MIB controllers model
# Fix ePN compatibility
# 0.5 (26 Oct 2006) : Add exclude for MIB not accessible on every server
# Display mib info only if in myMibs list and not in exclude
# 0.4 (25 Oct 2006) : Finish parsing mibs i need
# Add diagnose to Nagios service status
# 0.3 (16 Oct 2006) : Add Event Log and ILO
# 0.2 (25 Aug 2006) : Parse improvement with use of regex (no more hack needed)
# Add PCI and Array Controller
# 0.1 (10 Aug 2006) : Initial release
################################################## ################################################## ########################
Il est écrit en Perl et très fortement inspiré du code de Manubulon pour la partie snmp.
EN : It's a plugin for my own to check Insight Manager mibs from HP/COMPAQ servers (raid, nic, fan, temp, ...) to see if everything goes well.
It is written in Perl and strongly inspired by the code of Manubulon for the snmp part.
######################### check_snmp_cpqHealth ################################################## ###########################
# VERSION : 1.5
# AUTHOR : DonKiShoot ( donkishoot at neuf dot fr )
# HELP : ./check_snmp_cpqHealth.pl -h (for more information go to http://forum.centreon.com/showthread.php?t=2899)
# LICENCE : GPL - http://www.fsf.org/licenses/gpl.txt
############################# CHANGELOG ################################################## ##################################
# 1.5 (25 Apr 2013) : cpqDaLogDrvRebuildBlks deprecated by HP. Must add an 'isAvailable()' check for avoiding crash
# 1.4 (03 Apr 2012) : Update Mib Objects definitions to version 9
# 1.3 (26 Jan 2012) : Update function returnDisk() to handle empty array for OID cpqDaLogDrvPhyDrvIDs
# 1.2 (10 Jun 2011) : Add factory temperature threshold crossover check (-T)
# 1.1 (05 Jul 2010) : Add fan redundancy check (beta option -f)
# 1.0 (19 May 2008) : Release "Prod I" for production use (no update since last version)
# 0.9 (28 Mar 2008) : Best blade support with little hack
# Add DaCntlrNumberOfInternalPorts & DaCntlrNumberOfExternalPorts & DaCntlrDriveWriteCacheState
# Update MIB information (HeFltTolFanLocale,DaCntlrModel,Sm2CntlrModel,NicI fPhysAdapterConfSpeedDuplex)
# 0.8 (20 Sep 2007) : Fix bug with snmpV2 by adding $session->max_msg_size(8000)
# 0.7 (02 Mar 2007) : Add Spare Drive check
# 0.6 (01 Mar 2007) : Fix bug with multi disk controller
# Update MIB controllers model
# Fix ePN compatibility
# 0.5 (26 Oct 2006) : Add exclude for MIB not accessible on every server
# Display mib info only if in myMibs list and not in exclude
# 0.4 (25 Oct 2006) : Finish parsing mibs i need
# Add diagnose to Nagios service status
# 0.3 (16 Oct 2006) : Add Event Log and ILO
# 0.2 (25 Aug 2006) : Parse improvement with use of regex (no more hack needed)
# Add PCI and Array Controller
# 0.1 (10 Aug 2006) : Initial release
################################################## ################################################## ########################
Comment