A new template for zabbix 2.0 is available at: http://www.zabbix.com/forum/showthread.php?t=27057
The new template has better error handling, you now get notified if the HP WBEM providers are not properly installed.
Also you can now monitor an infinite number of components, instead of the limits described below, and the HP generated entries in the eventlog.
Finally, all items contain information about the component in their names instead of just numbers (eg: HP Physical Disk "Port:2I Box:1 Bay:3" status, HP Processor "Slot 1" status, HP SmartArray "Smart Array B110i SATA RAID Controller in Slot 0" status etc.)
Use the template below if you are still running zabbix 1.8 or later.
This is the template I built for monitoring HP servers hardware.
It uses active checks so it can work behind NAT (the agent connects the zabbix server), it uses WBEM so you only need to install WBEM providers and not HP SIM (and it can also monitor lowend servers like ML110 which DO NOT support HP SIM). No SNMP configuration required.
What it monitors (triggers):
-logical disk status (4 disks max)
-physical disk status (8 disks max)
-cpu status, fan status, temperature sensor (2 proc max)
-smart array status, cache status, battery status
-power supply status, temperature sensor
What graphs is has:
-processor temperature
-power source consumption
-processor max clock/current clock
How to use it:
-download the hp_server_template_export.xml from here and import it into your zabbix server.
-download HP WBEM providers from HP and install on your server
-download zabbix_hp_query.vbs from here and copy to your zabbix agent installation folder
-add the following lines to your zabbix_agentd.conf file and replace ZABBIX_AGENT_PATH with the actual path to your zabbix agent folder, replace HP_SERVER with the name you have given the host in the zabbix frontend (case sensitive?) and replace ZABBIX_SERVER_IP with the IP of your zabbix server.
-configure zabbix server to accept active checks (open port 10051 and forward it to your server if behind NAT).
You should end up with a nice overview like this:

Hope you find it useful.
The new template has better error handling, you now get notified if the HP WBEM providers are not properly installed.
Also you can now monitor an infinite number of components, instead of the limits described below, and the HP generated entries in the eventlog.
Finally, all items contain information about the component in their names instead of just numbers (eg: HP Physical Disk "Port:2I Box:1 Bay:3" status, HP Processor "Slot 1" status, HP SmartArray "Smart Array B110i SATA RAID Controller in Slot 0" status etc.)
Use the template below if you are still running zabbix 1.8 or later.
This is the template I built for monitoring HP servers hardware.
It uses active checks so it can work behind NAT (the agent connects the zabbix server), it uses WBEM so you only need to install WBEM providers and not HP SIM (and it can also monitor lowend servers like ML110 which DO NOT support HP SIM). No SNMP configuration required.
What it monitors (triggers):
-logical disk status (4 disks max)
-physical disk status (8 disks max)
-cpu status, fan status, temperature sensor (2 proc max)
-smart array status, cache status, battery status
-power supply status, temperature sensor
What graphs is has:
-processor temperature
-power source consumption
-processor max clock/current clock
How to use it:
-download the hp_server_template_export.xml from here and import it into your zabbix server.
-download HP WBEM providers from HP and install on your server
-download zabbix_hp_query.vbs from here and copy to your zabbix agent installation folder
-add the following lines to your zabbix_agentd.conf file and replace ZABBIX_AGENT_PATH with the actual path to your zabbix agent folder, replace HP_SERVER with the name you have given the host in the zabbix frontend (case sensitive?) and replace ZABBIX_SERVER_IP with the IP of your zabbix server.
-configure zabbix server to accept active checks (open port 10051 and forward it to your server if behind NAT).
Code:
#zabbix server to send values to Server=ZABBIX_SERVER_IP #hostname here must match the host name configured in zabbix server Hostname=HP_SERVER #enable active checks DisableActive=0 #the port on which the agent will connect to the server ServerPort=10051 #hp query UserParameter = hp.query[*],cscript "ZABBIX_AGENT_PATH\zabbix_hp_query.vbs" //Nologo $1 $2 $3 $4

Hope you find it useful.


Comment