check_ntp from cvs 02/18/2003 broken

Babak Pasdar bpasdar at IGXGlobal.com
Wed Feb 19 04:48:26 CET 2003



OK Iam playing musical plugins here.  I was having problems getting:

check_snmp
check_mysql
check_ifstatus
check_ifoperstatus

from both the plugins:

nagios-plugins-200211131100
nagios-plugins-1.3.0-beta2

I downloaded the cvs from today's (02/18/2003) tree.  All of the above works except the few hours I spent troubleshooting check_ntp.  Now check_ntp works from the command line but for the life of me it would not work in Nagios.  I copied the old check_ntp from the nagios-plugins-200211131100 and BANG it started working immediately.


Output from CVS 02/18/2003 plugin:

#./check_ntp -H 192.168.1.11
NTP OK: Offset 0.002215 secs, jitter 16.822 msec, peer is stratum 1

Output from nagios log:

Feb 19 02:12:30 localhost nagios: SERVICE ALERT: Sheeko;NET-ntp;CRITICAL;SOFT;1;(No output!)
Feb 19 02:13:30 localhost nagios: SERVICE ALERT: Sheeko;NET-ntp;CRITICAL;SOFT;2;(No output!)
Feb 19 02:14:30 localhost nagios: SERVICE ALERT: Sheeko;NET-ntp;CRITICAL;HARD;3;(No output!)

hope this helps.

Babak


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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