Hi, OK, that looks as it would work. WORKS4ME now, though. Your solution would be nice hint on nagios website or so...
Regards, Lace On Mon, 22 May 2006 12:03:37 +0200, Joerg Linge wrote: > Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > > > This ist still a quick hack, but it works ;-) > > > This is IMHO the fastest way without parsing status.dat. > > > > Do you have it tested? I do not think it will work. The goal is to reflect > > the field "last_hard_state", not the field "current_state". > > "SERVICESTATEID" unfortunately corresponds to "current_state" while > > "last_hard_state" has no corresponding macro. > > This was only a quick example! > $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) > > So you can exit with a CRITICAL state if your service is CRITICAL/HARD. > > This is not a "ready to run" solution but i think its a possible way. > > Jörg ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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
