check_ntp and me

Babak Pasdar bpasdar at IGXGlobal.com
Thu Mar 20 23:27:55 CET 2003


I posted the enclosed a few weeks ago, as an FYI.  However when moving Nagios to it's permanent box, I am unable to get check_ntp from any version working from in Nagios.  They all seem to work fine when run from the command line.  I am running a RH 7.3 system and all my other plugins seem to work fine.

When I run check_ntp via check_by_ssh it also seems to work fine, though this is a bit useless to me.

Please tell me what I am missing.  Any help, any at all is appreciated.

Thanks

Babak


--------------------- Post from 02/18/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: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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