Check HP UPS system status via Nagios
Submitted by itefix on Wed, 13/02/2013 - 12:47
Nagios configuration definitions below allow you to check status of HP UPS systems via Nagios. Requirements: SNMP is enabled at UPS systems and Net-SNMP is installed at the Nagios host.
# UPS Rack 1 define host { use generic-switch host_name ups-rack-1 alias UPS Rack 1 address } # UPS Battery Time Remaining define service{ use generic-service host_name ups-rack-1 service_description Battery Time Remaining check_command check_snmp!-o .1.3.6.1.4.1.232.165.3.2.1.0 -l "Battery Time Remaining" -u " secs" } # UPS Battery Voltage define service{ use generic-service host_name ups-rack-1 service_description Battery voltage check_command check_snmp!-o .1.3.6.1.4.1.232.165.3.2.2.0 -l "Battery Voltage" -s " V" } # UPS Battery Current define service{ use generic-service host_name ups-rack-1 service_description Battery current check_command check_snmp! -o .1.3.6.1.4.1.232.165.3.2.3.0 -l "Battery current" } # UPS Battery Capacity define service{ use generic-service host_name ups-rack-1 service_description Battery capacity check_command check_snmp!-o .1.3.6.1.4.1.232.165.3.2.4.0 -l "Battery capacity" } |
Featured product
Release Announcements
- 2024-11-25 Copssh client 8.0.0
- 2024-11-17 OpenSSL tool 2.0.1
- 2024-11-17 Wrbldnsd 5.0.2