Home Directory Plugins Hardware UPS check_ups_snmp

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_ups_snmp

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-07-11
Compatible With
  • Nagios 3.x
License
Apache
Hits
109584
Files:
FileDescription
check_ups_snmp.shbash script
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Single bash script to check:
* battery temperature (with critical/warning levels)
* battery charge status (e.g.: normal, low, depleated, etc)
* output type (e.g.: normal, bypass, battery, etc)
* number of active alarms
Works on Linux, requires:
* snmpget (usually included in "snmp")
* UPS-MIB mib (usually included in non-free repositories)

Tested on:
Chloride Linear MK II
Emerson GXT3

Usage: check_ups_snmp [-w XX -c XX] -O OperationType -H Hostname

OperationTypes:
batteryCharge - critical if different than NORMAL
temperature - warning and critical as per w/c parameters
outputType - critical if different than NORMAL
alarmsCount - critical if bigger than 0

Hostname: host to check

Parameters w and c are optional and used only when checking temperatures