check_ntp -> (No output!)
Subhendu Ghosh
sghosh at sghosh.org
Fri Mar 21 14:56:07 CET 2003
On Fri, 21 Mar 2003, Babak Pasdar wrote:
>
> 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
> >
> >
> >
> >
> >
> >
> >
> >
Can you run nagios in debug mode and see what is happening?
--
-------------------------------------------------------
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