Nagios
Version vom 21. April 2016, 10:15 Uhr von Mb (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Nagios= ==netways Nagios Plugin check_gude (SNMP)== ===Download=== * https://exchange.icinga.org/netways/check_gude ===Test=== ./check_gude.pl --host 10.1…“)
Nagios
netways Nagios Plugin check_gude (SNMP)
Download
Test
./check_gude.pl --host 10.113.0.26 --community=public -k Temp1 -w 30 -c 35
Expert Sensor Box 7211-0: WARNING - WARNING: Temp1=30.2C (w:30, c:35) sysDescr: Expert Sensor Box 7211-0 enterprise oid: .1.3.6.1.4.1.28507.31 Temp1 = 302 | Temp1=30.2C;30;35
Nagios Configuration
- Command*
define command { command_name check_gudesensor command_line /usr/local/bin/check_gude.pl -H '$HOSTADDRESS$' -k $ARG1$ -w $ARG2$ -c $ARG3$ }
- Service*
define service { use generic-service host_name 10.113.0.26 service_description Temp1 check_command check_gudesensor!Temp1!30!35 }
- Nagiosgrapher*
define ngraph{ service_name Hygro graph_log_regex Hygro\d+=(\d+\.\d+)% graph_value RTA graph_units % graph_legend humidity rrd_plottype AREA rrd_color 00a000 } define ngraph{ service_name Temp graph_log_regex Temp\d+=(\d+\.\d+)C graph_value RTA graph_units C graph_legend temperature rrd_plottype LINE2 rrd_color a00000 }