1
0
mirror of https://github.com/VerosK/nagios-snmp-tortilla.git synced 2026-02-05 22:55:16 +01:00

Imported plugin and basic configs

This commit is contained in:
Veros Kaplan
2013-09-29 22:24:47 +02:00
parent 0416533c6a
commit 132b9a08a3
8 changed files with 257 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
# APC PDU with SNMP - http://goo.gl/KkiEg2
#
# temperature, humidity
#
[value:temperature]
oid = .1.3.6.1.4.1.318.1.1.26.10.2.2.1.8.1
units = C
func = lambda x: float(x)/10
warning = temperature > 21
critical = temperature > 25
name = Teplota
[value:humidity]
oid = .1.3.6.1.4.1.318.1.1.26.10.2.2.1.10.1
units = %
warning = (humidity > 60)

View File

@@ -0,0 +1,12 @@
# APC PDU with SNMP - http://goo.gl/KkiEg2
#
# only temperature
#
[value:temperature]
oid = .1.3.6.1.4.1.318.1.1.26.10.2.2.1.8.1
units = C
func = lambda x: float(x)/10
warning = temperature > 21
critical = temperature > 25
name = Teplota

27
ini/apc-pdu.ini Normal file
View File

@@ -0,0 +1,27 @@
# APC PDU with SNMP - http://goo.gl/KkiEg2
#
# voltage, current and power
#
[value:current]
oid = .1.3.6.1.4.1.318.1.1.26.6.3.1.5.1
func = lambda x: float(x)/10
warning = current > 9
critical = current > 15
name = Current
units = A
[value:voltage]
oid = .1.3.6.1.4.1.318.1.1.26.6.3.1.6.1
warning = (voltage < 231) or (voltage > 232)
critical = (voltage < 229) or (voltage > 235)
units = V
name = Voltage
[value:power]
oid = .1.3.6.1.4.1.318.1.1.26.6.3.1.7.1
units = W
func = lambda x: float(x)*10
warning = (power > 1800)
critical = (power > 2000)
name = Power