Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Liebert GXT4
This is simple bash script to check Emerson Liebert GXT4 with Emerson SIC UF snmp 810. It can check ups status (status != 0 means critical, i can't find docs about statuses), check current load, check battery remaining time and battery capacity in percent.
Usage: ./check_ups.sh -h hostname -C snmp community -x check type -w warning -c critical
Note that the warning and critical options should be use like 8000 for 80%, because of snmp output.
Check types:
upsstatus
upsload
upsbatperc
upsbatmins
P.S. I added warning exit code for 0% load of ups, because it probably means that battery is broken and ups is on bypass mode.
P.P.S. This is my first script, so please bear with my meager skills.
Usage: ./check_ups.sh -h hostname -C snmp community -x check type -w warning -c critical
Note that the warning and critical options should be use like 8000 for 80%, because of snmp output.
Check types:
upsstatus
upsload
upsbatperc
upsbatmins
P.S. I added warning exit code for 0% load of ups, because it probably means that battery is broken and ups is on bypass mode.
P.P.S. This is my first script, so please bear with my meager skills.
Reviews (0)
Be the first to review this listing!