service check skipped?
Tomas Macek
maca02 at atlas.cz
Thu May 11 08:34:02 CEST 2006
Hi, I check this UPS APC and I have this configuration:
###############
command[check_snmp_arg]=$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -w $ARG3$ -c $ARG4$
host[UPS-fin]=UPS Finagro;10.84.0.10;sw.fin;check-host-alive;5;60;24x7;1;1;0;
service[UPS-fin]=Output voltage;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputVoltage.0!218:243!196:253
service[UPS-fin]=Output frequency;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputFrequency.0!45:55!40:60
service[UPS-fin]=Load;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputLoad.0!0:80!0:90
service[UPS-fin]=Input voltage;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsInput.upsAdvInput.upsAdvInputLineVoltage.0!218:243!196:253
service[UPS-fin]=Input frequency;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsInput.upsAdvInput.upsAdvInputFrequency.0!45:55!40:60
service[UPS-fin]=Temperature;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsBattery.upsAdvBattery.upsAdvBatteryTemperature.0!5:40!0:45
service[UPS-fin]=Battery capacity;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsBattery.upsAdvBattery.upsAdvBatteryCapacity.0!90:101!70:102
#################
and this is the output in nagios's web interface:
################ last check duration output
Battery capacity OK 05-11-2006 07:50:02 0d 0h 11m 20s 1/1 SNMP OK - 97
Temperature OK 05-11-2006 06:35:13 1d 17h 8m 17s 1/1 SNMP OK - 22
Input frequency OK 05-11-2006 07:52:31 22d 16h 58m 2s 1/1 SNMP OK - 50
Input Voltage OK 05-11-2006 07:59:03 0d 0h 22m 10s 1/1 SNMP OK - 227
Output frequency OK 05-11-2006 07:43:52 22d 18h 3m 12s 1/1 SNMP OK - 50
Output voltage OK 05-11-2006 07:30:32 5d 18h 11m 56s 1/1 SNMP OK - 227
Load OK 05-11-2006 07:36:23 1d 17h 8m 17s 1/1 SNMP OK - 0
################
and this is output of the date command in the command line at that time from
the computer running Nagios...
###########
[root at iks nagios]# date
Thu May 11 08:03:29 CEST 2006
###########
Why was the last check of the "Temperature" at 06:35:13 while other checks
after 7:00? All the service check should be in 2 minutes? Why some of them have
last check at 7:30 and some at 7:50?
I'm still using Nagios 1.2 and older configuration files.
Does anyone have any ideas?
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list