Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
897 B

11 years ago
# Monitor UPS status
# Description: Nut UPS load
# Type: Agent or Agent (active)
# Key: ups.load[UPS]
# Type of information: Numeric (float)
# Units: %
# Multiplier: Do not use
# Store Value: As is
UserParameter=ups.load[*],upsc $1 ups.load
# Description: Nut UPS Battery Charge
# Type: Agent or Agent (active)
# Key: ups.battery.charge[UPS]
# Type of information: Numeric (float)
# Units: %
# Multiplier: Do not use
# Store Value: As is
UserParameter=ups.battery.charge[*],upsc $1 battery.charge
# Description: Nut UPS Status
# Type: Agent or Agent (active)
# Key: ups.status[UPS]
# Type of information: Character
# Show Value: As is (you can also define a dictionnary OL=>On Line etc...)
UserParameter=ups.status[*],upsc $1 ups.status
# Description: Nut UPS Model
# Type: Agent or Agent (active)
# Key: ups.model[UPS]
# Type of information: Text
UserParameter=ups.model[*],upsc $1 ups.model