check_ntp -> (No output!)

Babak Pasdar bpasdar at IGXGlobal.com
Fri Mar 21 14:36:41 CET 2003


I'll try this one last time.  I have gotten no response from anyone on this.  Does anyone have any idea why I get a (No output!) when I run check_ntp through Nagios, when it seems to work just fine from the command line.

A while back I experienced a similar problem with a newer set of CVS plugins when I got the same problem and was only able to resolve it by replacing the check_ntp with an older version.  Details are provided below.

As always any help is appreciated.

Babak
 
Babak Pasdar wrote:
> 
> 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
> 

--
Babak Pasdar
Founder/CTO
IGX Global
389 Main St.
Hackensack, NJ 07601
www.igxglobal.com
(201) 498-0555 ext. 2205

The electronic message that you have received and any attachments are solely intended for the use of the addressee(s) and may contain information that is confidential.  

If you receive this email in error, please advise us by responding to NOC at igxglobal.com. You are required to delete the contents and destroy any copies immediately.  IGX Global is not liable for the views expressed in this electronic message or for the consequences of any computer viruses that may be unknowingly transmitted within this message.
        
This electronic message is also subject to standard copyright/ownership laws. It is not intended to be reproduced, or re-transmitted without the consent of the originator.

www.igxglobal.com 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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