Log not logging, trends.cgi and check_udp and check_ntp error

Troutman mike at troutman.org
Thu Apr 24 19:13:30 CEST 2003


At 12:52 PM 4/24/2003, you wrote:
>You mentioned Nagios v1, but neglected to mention which version of
>plugins.
>
>Also did you compile from source - if so were there any warnings about GD
>libraries - trends.cgi needs them.

Plugins v.1.3-1 from rpm.  Nagios 1 compiled from source on RH 9.0.  No 
errors on compile.  Went back and checked to make sure.

>for the plugins - did you try modifying the arguments?

Yes :

from checkcommands.cfg :
$USER1$/check_ntp -H $HOSTADDRESS$ -w 60 -c 120 -j 5000 -k 10000

/usr/lib/nagios/plugins/check_ntp x.x.x.x -w 60 -c 120 -j 5000 -k 10000
NTP WARNING: Offset -99.122618 msec > +/- 60 sec, jitter 1.641 msec

If I change -w to 120, I get an OK.  The --help file reads :
-w ( --warning)
      Clock offset in seconds at which a warning message will be generated.
         Defaults to 60.

Perhaps that should read msec instead of seconds.

>check_ntp - does 2 tests: ntpdate against a server (localtime vs server
>time) and ntpdc (server is in sync with its peers).
>
>check_udp does require -H

/usr/lib/nagios/plugins/check_udp -H x.x.x.x
Host name was not supplied
Usage: check_udp -H <host_address> [-p port] [-w warn_time] [-c crit_time]
          [-e expect] [-s send] [-t to_sec] [-v]

/usr/lib/nagios/plugins/check_udp x.x.x.x
No data was recieved from host!
No response from host on port 0

Perhaps there was a bug in the rpm for the 1.3-1 plugins.  This version of 
check_udp requires you not to use '-H' and check_ntp doesn't seem to be 
accepting the assigned values (unless I am reading the --help instructions 
incorrectly).


___________________________________________
         Mike Troutman
         http://www.troutman.org




-------------------------------------------------------
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