Re: [Nagios-users] check_ntp offsets

2009-08-19 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/08/09 01:15 AM, Chris wrote:
 On Wed, Aug 19, 2009 at 1:09 PM, Thomas Guyot-Sionnestderm...@aei.ca wrote:
 On 18/08/09 10:13 PM, Onotsky, Steve x55328 wrote:
 -Original Message-
 From: Chris [mailto:atst...@gmail.com]
 Sent: August 18, 2009 21:56
 To: nagios-users ML
 Subject: [Nagios-users] check_ntp offsets

 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)

 Running check_ntp from command line shows NTP OK
 (/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)

 Output: NTP OK: Offset -102.234564
 secs|offset=-102.234564s;200.00;300.00;

 Here is what I have added:

 edit /etc/nagios/objetcs/command.cfg and add:

 define command{
 command_name check_ntp
 command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c
 $ARG2$
 }

 edit /etc/nagios/objetcs/server.cfg and add:

 define service{
 use critical-service
 host_namehostname
 service_description NTP
 check_command   check_ntp!200!300
 }
 According to your check definition, the result is absolutely correct.
 You asked it to warn you if the offset is more than 200 seconds, and go
 critical if over 300 seconds.

 What you were probably hoping for were thresholds in milliseconds.  In
 that case, you'll want to set -w and -c to fractional values (-w 0.2 -c
 0.3, or whatever values you actually want as thresholds).
 The offset and thresholds are both in seconds:

 $ ./check_ntp -H pool.ntp.org -w 0.001 -c 0.01
 NTP WARNING: Offset 0.008824706078 secs |offset=0.008825s;0.001000;0.01;

 
 I have tried all the suggestions but still a no go.
 
 I still get offset=-105.293049s;60.00;120.00;
 and Offset -105.293049 secs

According to that result above you're using the default thresholds
(60.00;120.00), meaning that you're not passing the arguments
correctly.

Verify your definitions (especially look for typos - you may have two
very-similar check_ntp commands defined), or use the echo trick to see
which what command you're actually running. Use:

command_line echo $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$

This will skip the check and print the command that normally runs instead.

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKi6sb6dZ+Kt5BchYRAsfIAKCosd5iB9nhDFXLZVZxls9DlWmHiwCgpQ+D
CsXIrBr63mx7axlJ5/+p2aY=
=PXRE
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp offsets

2009-08-19 Thread Marc Powell

On Aug 18, 2009, at 8:55 PM, Chris wrote:

 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)

If your configured thresholds used to be lower, verify that you don't  
have multiple nagios daemons running at the same time.

--
Marc


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check_ntp offsets

2009-08-18 Thread Chris
I am running check_ntp plugin and I have setup an offset threshold of
-w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
(Warning)

Running check_ntp from command line shows NTP OK
(/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)

Output: NTP OK: Offset -102.234564
secs|offset=-102.234564s;200.00;300.00;

Here is what I have added:

edit /etc/nagios/objetcs/command.cfg and add:

define command{
command_name check_ntp
command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}

edit /etc/nagios/objetcs/server.cfg and add:

define service{
use critical-service
host_name   hostname
service_description NTP
check_command   check_ntp!200!300
}


Thanks for any help.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp offsets

2009-08-18 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18/08/09 09:55 PM, Chris wrote:
 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)
 
 Running check_ntp from command line shows NTP OK
 (/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)
 
 Output: NTP OK: Offset -102.234564
 secs|offset=-102.234564s;200.00;300.00;
 
 Here is what I have added:
 
 edit /etc/nagios/objetcs/command.cfg and add:
 
 define command{
 command_name check_ntp
 command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
 }
 
 edit /etc/nagios/objetcs/server.cfg and add:
 
 define service{
 use critical-service
 host_name hostname
 service_description NTP
 check_command   check_ntp!200!300
 }
 

That's odd. Please check the following:
1. Check that $USER1$ is /usr/lib/nagios/plugins/
2. Please check your check_ntp version. If it's older than 1.4.13 you
should try the latest version.
3. Check that you're checking the same host. A trick to verify commands
is to add echo in front of $USER1$, and grab the command from the web
interface.


- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKi2W/6dZ+Kt5BchYRAvn7AJoD7OjhjFakLduGLGP2SXyv22UlNgCdFNFZ
sHZw1z8go6a/ukJU6T4DevU=
=QOx9
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp offsets

2009-08-18 Thread Onotsky, Steve x55328
 -Original Message-
 From: Chris [mailto:atst...@gmail.com]
 Sent: August 18, 2009 21:56
 To: nagios-users ML
 Subject: [Nagios-users] check_ntp offsets
 
 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)
 
 Running check_ntp from command line shows NTP OK
 (/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)
 
 Output: NTP OK: Offset -102.234564
 secs|offset=-102.234564s;200.00;300.00;
 
 Here is what I have added:
 
 edit /etc/nagios/objetcs/command.cfg and add:
 
 define command{
 command_name check_ntp
 command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c
 $ARG2$
 }
 
 edit /etc/nagios/objetcs/server.cfg and add:
 
 define service{
 use critical-service
 host_name hostname
 service_description NTP
 check_command   check_ntp!200!300
 }

According to your check definition, the result is absolutely correct.
You asked it to warn you if the offset is more than 200 seconds, and go
critical if over 300 seconds.

What you were probably hoping for were thresholds in milliseconds.  In
that case, you'll want to set -w and -c to fractional values (-w 0.2 -c
0.3, or whatever values you actually want as thresholds).

Cheers

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp offsets

2009-08-18 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18/08/09 10:13 PM, Onotsky, Steve x55328 wrote:
 -Original Message-
 From: Chris [mailto:atst...@gmail.com]
 Sent: August 18, 2009 21:56
 To: nagios-users ML
 Subject: [Nagios-users] check_ntp offsets

 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)

 Running check_ntp from command line shows NTP OK
 (/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)

 Output: NTP OK: Offset -102.234564
 secs|offset=-102.234564s;200.00;300.00;

 Here is what I have added:

 edit /etc/nagios/objetcs/command.cfg and add:

 define command{
 command_name check_ntp
 command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c
 $ARG2$
 }

 edit /etc/nagios/objetcs/server.cfg and add:

 define service{
 use critical-service
 host_namehostname
 service_description NTP
 check_command   check_ntp!200!300
 }
 
 According to your check definition, the result is absolutely correct.
 You asked it to warn you if the offset is more than 200 seconds, and go
 critical if over 300 seconds.
 
 What you were probably hoping for were thresholds in milliseconds.  In
 that case, you'll want to set -w and -c to fractional values (-w 0.2 -c
 0.3, or whatever values you actually want as thresholds).

The offset and thresholds are both in seconds:

$ ./check_ntp -H pool.ntp.org -w 0.001 -c 0.01
NTP WARNING: Offset 0.008824706078 secs |offset=0.008825s;0.001000;0.01;

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKi2zZ6dZ+Kt5BchYRAn4mAJ4y32+xYuxfEJYdvuu7iCyDQwQaxgCePb4H
BBTNdZuZfNm2M7fZXclQnvk=
=Vi0W
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp offsets

2009-08-18 Thread Chris
On Wed, Aug 19, 2009 at 1:09 PM, Thomas Guyot-Sionnestderm...@aei.ca wrote:
 On 18/08/09 10:13 PM, Onotsky, Steve x55328 wrote:
 -Original Message-
 From: Chris [mailto:atst...@gmail.com]
 Sent: August 18, 2009 21:56
 To: nagios-users ML
 Subject: [Nagios-users] check_ntp offsets

 I am running check_ntp plugin and I have setup an offset threshold of
 -w 200 -c 300 but Nagios is still showing Offset -102.234564 secs
 (Warning)

 Running check_ntp from command line shows NTP OK
 (/usr/lib/nagios/plugins/check_ntp -H hostname -w 200 -c 300)

 Output: NTP OK: Offset -102.234564
 secs|offset=-102.234564s;200.00;300.00;

 Here is what I have added:

 edit /etc/nagios/objetcs/command.cfg and add:

 define command{
         command_name check_ntp
         command_line $USER1$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c
 $ARG2$
 }

 edit /etc/nagios/objetcs/server.cfg and add:

 define service{
         use                             critical-service
         host_name                    hostname
         service_description             NTP
         check_command                   check_ntp!200!300
         }

 According to your check definition, the result is absolutely correct.
 You asked it to warn you if the offset is more than 200 seconds, and go
 critical if over 300 seconds.

 What you were probably hoping for were thresholds in milliseconds.  In
 that case, you'll want to set -w and -c to fractional values (-w 0.2 -c
 0.3, or whatever values you actually want as thresholds).

 The offset and thresholds are both in seconds:

 $ ./check_ntp -H pool.ntp.org -w 0.001 -c 0.01
 NTP WARNING: Offset 0.008824706078 secs |offset=0.008825s;0.001000;0.01;


I have tried all the suggestions but still a no go.

I still get offset=-105.293049s;60.00;120.00;
and Offset -105.293049 secs

check_ntp is from the latest plugins version - 1.4.13.

I have put the absolute path /usr/lib/nagios/plugins/check_ntp instead
of the $USER1$ variable.

I have put -w 0.2 -c 0.3 - no luck.

Thanks.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_ntp on blade systems

2009-03-30 Thread Andreas Ericsson
Chris wrote:
 I'm using check_ntp for some of my blade systems and it says: NTP
 CRITICAL: No response from NTP server By using the verbose mode I can
 see it's sending:
 
 sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 re-sending request to peer 0
 
 NTP CRITICAL: No response from NTP server
 
 I used tcpdump from the blade server and can see packets coming in
 from the nagios server.
 
 I use check_ntp to monitor many of my other systems without any problem.
 
 I also do lots of other checks (including various SNMP checks) on the
 blade system via Nagios without any problem.
 

It seems your blade server isn't running an NTP daemon in listening
mode.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check_ntp on blade systems

2009-03-29 Thread Chris
I'm using check_ntp for some of my blade systems and it says: NTP
CRITICAL: No response from NTP server By using the verbose mode I can
see it's sending:

sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0

NTP CRITICAL: No response from NTP server

I used tcpdump from the blade server and can see packets coming in
from the nagios server.

I use check_ntp to monitor many of my other systems without any problem.

I also do lots of other checks (including various SNMP checks) on the
blade system via Nagios without any problem.

Thanks for any help.

--
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check_ntp inquiry

2007-11-05 Thread jmacaranas
Hi,

 

   Where does check_ntp gets the offset? How does it compute the value?
I have a weird problem:

 

  Doing an check_ntp -H host1 shows an offset which is different to the
offset result of ntpdc -p host1

 

Thanks,



This message and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom it is
addressed. It may contain sensitive and private proprietary or legally
privileged information. No confidentiality or privilege is waived or
lost by any mistransmission. If you are not the intended recipient,
please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. 
FXDirectDealer, LLC reserves the right to monitor all e-mail 
communications through its networks. Any views expressed in this 
message are those of the individual sender, except where the 
message states otherwise and the sender is authorized to state them.

Unless otherwise stated, any pricing information given in this message
is indicative only, is subject to change and does not constitute an
offer to deal at any price quoted. Any reference to the terms of
executed transactions should be treated as preliminary only and subject
to our formal confirmation. FXDirectDealer, LLC is not responsible for any
recommendation, solicitation, offer or agreement or any information
about any transaction, customer account or account activity contained in
this communication.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread Tiago Cruz

Hugo van der Kooij wrote:

Yes, the ntpd daemon is only listen no 127.0.0.1. I did a test, please look:



Pardon me for noting. But shouldn't you setup ntp correctly before you
start to setup monitoring it? Untill ntp is working and keeping everything
in sync I would not spend another second on trying to make a ntp service
check work.


Ok, I agree with you. But I have ~300 servers, and the NTP is running and 
working in some ones, not in every servers. I didn't know about this 
configuration (ntpd only listen in localhost) and I'm very been thankful to this 
list to help me to find this problem.


Now, I'm just try find a way to monitory all the servers and discover how have a 
unsynchronized clock, but I'm not sure that what I have to do :)


Please, say if I'm correct: All the servers MUST be listen in all interfaces, 
and not only in localhost to work?


Many thanks by attention!

--

Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread John Jolet
On Friday 05 May 2006 07:36, Tiago Cruz wrote:
 Now, I'm just try find a way to monitory all the servers and discover how
 have a unsynchronized clock, but I'm not sure that what I have to do :)

 Please, say if I'm correct: All the servers MUST be listen in all
 interfaces, and not only in localhost to work?

 Many thanks by attention!
not necessarily.  You can use nrpe to run the check_ntp locally on those hosts 
that do not need to listen to ntp requests from the net.  In fact, if you are 
doing nrpe checks for other things on those hosts, that's how i would set it 
up.  No reason for a host to listen on all interfaces just so you can check 
whether it's clock is synchronized

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread Tiago Cruz

John Jolet wrote:

not necessarily.  You can use nrpe to run the check_ntp locally on those hosts 
that do not need to listen to ntp requests from the net.


Thanks!!!
To begin a test, I did this:

- Insert in nrpe.cfg one new command:
command[check_ntp]=/.../bin-1.4.2/libexec/check_ntp -H localhost

- Check this service remote:
trinity:~# /.../bin-1.4.2/libexec/check_nrpe -H 10.0.0.91 -c check_ntp
NTP WARNING: Desynchronized peer server found|offset=0.02, 
jitter=0,peer_stratum=16


And, when I tried the command in the host 10.0.0.91, I get another error:

rust:~# /.../bin-1.4.2/libexec/check_ntp -H localhost
Argument (not parsed) isn't numeric in abs at /.../check_ntp line 355.
NTP WARNING: Desynchronized peer server found|offset=0.02, 
jitter=0,peer_stratum=16


I would like to know:
1-) How can I fix this error on line 355
2-) Why my clock is unsynchronized (the 10.0.0.91 is the NTP server of my 
network!)

Many thanks (and good lunch for all :-p )
--

Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread John Jolet
On Friday 05 May 2006 10:03, Tiago Cruz wrote:
 John Jolet wrote:
  not necessarily.  You can use nrpe to run the check_ntp locally on those
  hosts that do not need to listen to ntp requests from the net.

 Thanks!!!
 To begin a test, I did this:

 - Insert in nrpe.cfg one new command:
 command[check_ntp]=/.../bin-1.4.2/libexec/check_ntp -H localhost
did you run check_ntp -H localhost on the box in question?  did it return 
okay?


 - Check this service remote:
 trinity:~# /.../bin-1.4.2/libexec/check_nrpe -H 10.0.0.91 -c check_ntp
 NTP WARNING: Desynchronized peer server found|offset=0.02,
 jitter=0,peer_stratum=16
the -H here is the host from above?


 And, when I tried the command in the host 10.0.0.91, I get another error:

 rust:~# /.../bin-1.4.2/libexec/check_ntp -H localhost
 Argument (not parsed) isn't numeric in abs at /.../check_ntp line 355.
 NTP WARNING: Desynchronized peer server found|offset=0.02,
 jitter=0,peer_stratum=16

 I would like to know:
 1-) How can I fix this error on line 355
 2-) Why my clock is unsynchronized (the 10.0.0.91 is the NTP server of my
 network!)
what was the output of ntpq -p localhost on 10.0.0.91?

 Many thanks (and good lunch for all :-p )

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread Tiago Cruz

Thanks again by your attention! :)

John Jolet wrote:
did you run check_ntp -H localhost on the box in question?  did it return 
okay?


I'll post all the output here, because I'm not understanding what's can be 
happing here :-(


Trinity, IP 10.0.0.173 (Nagios Server)

trinity:~# ntpq -p localhost
  remote   refid  st t when poll reach   delay   offset  jitter
 ==
  10.0.0.91   .INIT.  16 u  704 102400.0000.000 4000.00

trinity:~# /.../check_ntp -H localhost
Argument (not parsed) isn't numeric in abs at /.../check_ntp line 355.
NTP WARNING: Desynchronized peer server found

---

Rust, IP 10.0.0.91 (NTP Server of my Network)

rust:~# ntpq -p localhost
 remote   refid  st t when poll reach   delay   offset  jitter
==
 10.0.0.91   .INIT.  16 u- 102400.0000.000 4000.00

rust:~# /.../check_ntp -H localhost
Argument (not parsed) isn't numeric in abs at /.../check_ntp line 355.
NTP WARNING: Desynchronized peer server found|offset=0.03, 
jitter=0,peer_stratum=16


Strange.. I'm out of synchrony with my self 8-)

Many thanks!

--

Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-05 Thread John Jolet
On Friday 05 May 2006 12:10, Tiago Cruz wrote:
 Thanks again by your attention! :)

 John Jolet wrote:
  did you run check_ntp -H localhost on the box in question?  did it return
  okay?

 I'll post all the output here, because I'm not understanding what's can be
 happing here :-(

 Trinity, IP 10.0.0.173 (Nagios Server)

 trinity:~# ntpq -p localhost
remote   refid  st t when poll reach   delay   offset 
 jitter
 ===
=== 10.0.0.91   .INIT.  16 u  704 102400.0000.000
 4000.00

 trinity:~# /.../check_ntp -H localhost
 Argument (not parsed) isn't numeric in abs at /.../check_ntp line 355.
 NTP WARNING: Desynchronized peer server found
okay, first thing is that neither of those servers are synced with anyone.  if 
they were synced, they would have a * next to the remote address.  i'd get 
ntp working and synchronizing first, before I messed with checking that 
service.  If 10.0.0.91 is supposed to be the reference for the rest of your 
network, get him syncing to at least 3 servers on at least two strata first.  
If you want to email me offlist with your ntpd.conf file, i'll try to help 
out some more.  However, until ntp is actually working on the server that's 
supposed to be supplying your time locally, i think you're going to be kinda 
off-topic for this list with this issue.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Check_NTP issues

2006-05-04 Thread Tiago Cruz

Hello all,

I would like to know how the gentleman's are using the perl script 
called check_ntp, because I tried to use and have a lot of errors, like 
this:


sidious:~# ./check_ntp -H 10.0.0.19
Use of uninitialized value in division (/) at 
/interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424.
NTP WARNING: Desynchronized peer server found|offset=-5.885026, 
jitter=0,peer_stratum=16


Why? All the hosts are syncronized with my NTP server... and what is 
this error message? This error of the first line goes to my nagios 
monitor :(


sidious:~# ./check_ntp -H 10.0.0.125
Use of uninitialized value in division (/) at 
/interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424.
NTP CRITICAL: No suitable peer server found - Server for ntp probably 
down|offset=0.00, jitter=0,peer_stratum=0


Why? The NTP is running in the machine 10.0.0.125... and what is this 
error message? This error of the first line goes to my nagios monitor :(


sidious:~# ./check_ntp -H localhost
Argument (not parsed) isn't numeric in abs at 
/interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 355.
NTP WARNING: Desynchronized peer server found|offset=0.02, 
jitter=0,peer_stratum=16


Another error that goes to my monitor...

Thanks for any help!
Tiago Cruz


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-04 Thread Tiago Cruz

John Jolet wrote:

On Thursday 04 May 2006 14:03, Tiago Cruz wrote:

sidious:~# ./check_ntp -H 10.0.0.19
Use of uninitialized value in division (/) at
/interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424.
NTP WARNING: Desynchronized peer server found|offset=-5.885026,
jitter=0,peer_stratum=16
that line divides $jitter by 1000.  for some reason, $jitter isn't getting 
set.  it's initialized at the top of the code to undef, and is supposed to be 
set to $11 from the output of the ntpq command.  if you run the ntpq command 
yourself, do you get a value for jitter?


Hello John,

I'm not sure about the correct syntax of this command, but, please, look 
at this:


sidious:~# ntpq -p 10.0.0.19
10.0.0.19: timed out, nothing received
***Request timed out

sidious:~# ntpq -p localhost
  remote   refid  st t when poll reach   delay   offset 
 jitter


==
  10.0.0.91   .INIT.  16 u  658 102400.0000.000 
4000.00


It this that you want?
Many thanks by your attention!


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_NTP issues

2006-05-04 Thread John Jolet
On Thursday 04 May 2006 14:21, Tiago Cruz wrote:
 John Jolet wrote:
  On Thursday 04 May 2006 14:03, Tiago Cruz wrote:
  sidious:~# ./check_ntp -H 10.0.0.19
  Use of uninitialized value in division (/) at
  /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424.
  NTP WARNING: Desynchronized peer server found|offset=-5.885026,
  jitter=0,peer_stratum=16
 
  that line divides $jitter by 1000.  for some reason, $jitter isn't
  getting set.  it's initialized at the top of the code to undef, and is
  supposed to be set to $11 from the output of the ntpq command.  if you
  run the ntpq command yourself, do you get a value for jitter?

 Hello John,

 I'm not sure about the correct syntax of this command, but, please, look
 at this:

 sidious:~# ntpq -p 10.0.0.19
 10.0.0.19: timed out, nothing received
 ***Request timed out

 sidious:~# ntpq -p localhost
remote   refid  st t when poll reach   delay   offset
   jitter

 ===
=== 10.0.0.91   .INIT.  16 u  658 102400.0000.000
 4000.00

 It this that you want?
 Many thanks by your attention!

well, as you can see..running it against 10.0.0.19 results in null for 
jitter :)  sounds like ntp on that box isn't listening to remote hosts.  try 
running the check_ntp on that host via nrpe...
prepare for this by running ntpq -p localhost on that 10.0.0.19 box.  if you 
still get nothing received...ntpd is not running.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


R: [Nagios-users] Check_ntp

2006-03-24 Thread Marco Borsani
When I run check_ntp -H xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is a linux
system syncronized with the same ntp server of nagios system) I receive:
NTP CRITICAL: No suitable peer server found - Server for ntp probably down

Before this test, the plugin seemed work fine (with another target host):
# check_ntp -H zzz.zzz.zzz.zzz
# NTP OK: Offset 0.000134 secs, jitter 3.23 msec, peer is stratum 2

Any idea?
Marco


-}-Messaggio originale-
-}Da: [EMAIL PROTECTED] 
-}[mailto:[EMAIL PROTECTED] Per conto 
-}di Marco Borsani
-}Inviato: giovedì 23 marzo 2006 16.23
-}A: 'Marc Powell'; 'NAGIOS'
-}Oggetto: R: [Nagios-users] Check_ntp
-}
-}My lines were:
-}
-}use lib /usr/local/nagios/libexec /libexec use utils 
-}qw($TIMEOUT %ERRORS print_revision support); 
-}
-}Now the command answers correctly !! ;-)
-}
-}The help on-line (check_ntp -h) is not so easy to understand...
-}
-}Does check_ntp compare the target host specified time with 
-}the locale time (Nagios server time) or what?
-}
-}Regards
-}Marco
-}
-}-}-Messaggio originale-
-}-}Da: [EMAIL PROTECTED]
-}-}[mailto:[EMAIL PROTECTED] Per conto 
-}-}di Marc Powell
-}-}Inviato: giovedì 23 marzo 2006 16.14
-}-}A: NAGIOS
-}-}Oggetto: RE: [Nagios-users] Check_ntp
-}-}
-}-}Look around line 66 in the plugin and verify that it looks 
-}-}something like -- -} -}use lib /usr/local/nagios/libexec 
-}; -}use utils qw($TIMEOUT %ERRORS print_revision support); -}
-}-}--
-}-}Marc
-}-}
-}-} -Original Message-
-}-} From: [EMAIL PROTECTED]
-}-}[mailto:nagios-users-
-}-} [EMAIL PROTECTED] On Behalf Of Marco Borsani 
-}-} Sent: Thursday, March 23, 2006 3:02 AM -} To: 'Bill Jacqmein'
-}-} Cc: 'NAGIOS'
-}-} Subject: R: [Nagios-users] Check_ntp -} -} I also 
-}tested plugins 1.4.2, but I received same error message -} 
-}-} Marco -} -} -}-Messaggio originale- -} -}Da: 
-}Bill Jacqmein [mailto:[EMAIL PROTECTED] -} -}Inviato: 
-}mercoledì 22 marzo 2006 17.34 -} -}A: Marco Borsani -} 
-}-}Cc: NAGIOS -} -}Oggetto: Re: [Nagios-users] Check_ntp -} 
-}-}upgrade to the latest -} version of the plugins at 
-}-}http://nagiosplug.sourceforge.net/
-}-} -}barring that
-}-} -}check that utils.pm is in the libexec directory.
-}-} -}
-}-} -}
-}-} -}On 3/22/06, Marco Borsani [EMAIL PROTECTED] wrote:
-}-} -} Hi all !
-}-} -}
-}-} -} I'd to use check_ntp, but when I try to running it 
-}, I obtain:
-}-} -} # ./check_ntp
-}-} -} use not allowed in expression at ./check_ntp line 
-}66, -}at -}end -} of line -} syntax error at ./check_ntp 
-}line 66, near libexec use -} utils 
-}-} -} Execution of ./check_ntp aborted due to compilation errors.
-}-} -}
-}-} -} I don't know perl  :-(
-}-} -}
-}-} -} I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 
-}-}11.00 system).
-}-} -}
-}-} -} Regards
-}-} -}
-}-} -} Marco Borsani
-}-} -} Unix  Monitoring System Administrator Technical Operation
-}-} -} Tel.+39 010 4310115
-}-} -} Fax +39 010 4327454
-}-} -} E-mail: [EMAIL PROTECTED]
-}-} -}
-}-} -} ITnet S.r.l. - Direzione e Coordinamento di WIND -} 
-}-}Telecomunicazioni S.p.A.
-}-} -} Internet Service Provider
-}-} -} Sede legale: Via C.G.Viola, 48 - 
-}00148 Roma
-}-} -} Dir. Centrale e Amministrativa: Via Pacinotti, 39
-}-} -}  16151 Genova (Italy)
-}-} -}
-}-} -} http://www.it.net
-}-} -} mailto:[EMAIL PROTECTED]
-}-} -} 
-}___
-}-} -} Altre sedi ITnet:
-}-} -} MILANO tel.: +39 02 30114900[EMAIL PROTECTED]
-}-} -} ROMAtel.: +39 06 83116707[EMAIL PROTECTED]
-}-} -} 
-}___
-}-} -} ITnet is associated to CIX (Commercial IP eXchange) 
-}and -}RIPE -} ITnet is -} associated to AIIP (Associazione 
-}Italiana Internet -} Providers) -} -} -} -} -} -} 
-}---
-}-} -} This SF.Net email is sponsored by xPML, a 
-}-}groundbreaking scripting -} -} language that extends 
-}applications into web and mobile -}media. 
-}-} Attend -} the live webcast and join the prime developer 
-}group -} -}breaking into this new coding territory!
-}-} -}
-}-}
-}-}-}http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241
-}720dat=12
-}-} 16 -} 42 ___
-}-} -} Nagios-users mailing list
-}-} -} Nagios-users@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 -} -} -} -} -} -} 
-}---
-}-} This SF.Net email is sponsored by xPML, a groundbreaking 
-}scripting -} language that extends applications into web and 
-}mobile -}media. Attend -} the live webcast and join the 
-}prime developer group -}breaking into this -} new coding territory!
-}-} http

R: [Nagios-users] Check_ntp

2006-03-23 Thread Marco Borsani
My lines were:

use lib /usr/local/nagios/libexec /libexec
use utils qw($TIMEOUT %ERRORS print_revision support); 

Now the command answers correctly !! ;-)

The help on-line (check_ntp -h) is not so easy to understand...

Does check_ntp compare the target host specified time with the locale time
(Nagios server time) or what?

Regards
Marco

-}-Messaggio originale-
-}Da: [EMAIL PROTECTED] 
-}[mailto:[EMAIL PROTECTED] Per conto 
-}di Marc Powell
-}Inviato: giovedì 23 marzo 2006 16.14
-}A: NAGIOS
-}Oggetto: RE: [Nagios-users] Check_ntp
-}
-}Look around line 66 in the plugin and verify that it looks 
-}something like --
-}
-}use lib /usr/local/nagios/libexec ;
-}use utils qw($TIMEOUT %ERRORS print_revision support);
-}
-}--
-}Marc
-}
-} -Original Message-
-} From: [EMAIL PROTECTED] 
-}[mailto:nagios-users- 
-} [EMAIL PROTECTED] On Behalf Of Marco Borsani
-} Sent: Thursday, March 23, 2006 3:02 AM
-} To: 'Bill Jacqmein'
-} Cc: 'NAGIOS'
-} Subject: R: [Nagios-users] Check_ntp
-} 
-} I also tested plugins 1.4.2, but I received same error message
-} 
-} Marco
-} 
-} -}-Messaggio originale-
-} -}Da: Bill Jacqmein [mailto:[EMAIL PROTECTED]
-} -}Inviato: mercoledì 22 marzo 2006 17.34
-} -}A: Marco Borsani
-} -}Cc: NAGIOS
-} -}Oggetto: Re: [Nagios-users] Check_ntp -} -}upgrade to the latest 
-} version of the plugins at -}http://nagiosplug.sourceforge.net/
-} -}barring that
-} -}check that utils.pm is in the libexec directory.
-} -}
-} -}
-} -}On 3/22/06, Marco Borsani [EMAIL PROTECTED] wrote:
-} -} Hi all !
-} -}
-} -} I'd to use check_ntp, but when I try to running it , I obtain:
-} -} # ./check_ntp
-} -} use not allowed in expression at ./check_ntp line 66, 
-}at -}end 
-} of line -} syntax error at ./check_ntp line 66, near libexec use 
-} utils 
-} -} Execution of ./check_ntp aborted due to compilation errors.
-} -}
-} -} I don't know perl  :-(
-} -}
-} -} I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 
-}11.00 system).
-} -}
-} -} Regards
-} -}
-} -} Marco Borsani
-} -} Unix  Monitoring System Administrator Technical Operation
-} -} Tel.+39 010 4310115
-} -} Fax +39 010 4327454
-} -} E-mail: [EMAIL PROTECTED]
-} -}
-} -} ITnet S.r.l. - Direzione e Coordinamento di WIND 
-} -}Telecomunicazioni S.p.A.
-} -} Internet Service Provider
-} -} Sede legale: Via C.G.Viola, 48 - 00148 Roma
-} -} Dir. Centrale e Amministrativa: Via Pacinotti, 39
-} -}  16151 Genova (Italy)
-} -}
-} -} http://www.it.net
-} -} mailto:[EMAIL PROTECTED]
-} -} ___
-} -} Altre sedi ITnet:
-} -} MILANO tel.: +39 02 30114900[EMAIL PROTECTED]
-} -} ROMAtel.: +39 06 83116707[EMAIL PROTECTED]
-} -} ___
-} -} ITnet is associated to CIX (Commercial IP eXchange) and -}RIPE 
-} ITnet is -} associated to AIIP (Associazione Italiana Internet 
-} Providers) -} -} -} -} -} 
-} ---
-} -} This SF.Net email is sponsored by xPML, a 
-}groundbreaking scripting 
-} -} language that extends applications into web and mobile -}media. 
-} Attend -} the live webcast and join the prime developer group 
-} -}breaking into this new coding territory!
-} -}
-} 
-}-}http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=12
-} 16 -} 42 ___
-} -} Nagios-users mailing list
-} -} Nagios-users@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 -} -}
-} 
-} 
-} 
-} ---
-} This SF.Net email is sponsored by xPML, a groundbreaking scripting 
-} language that extends applications into web and mobile 
-}media. Attend 
-} the live webcast and join the prime developer group 
-}breaking into this 
-} new coding territory!
-} http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
-} ___
-} Nagios-users mailing list
-} Nagios-users@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
-}
-}
-}---
-}This SF.Net email is sponsored by xPML, a groundbreaking 
-}scripting language that extends applications into web and 
-}mobile media. Attend the live webcast and join the prime 
-}developer group breaking into this new coding territory!
-}http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
-}___
-}Nagios-users mailing list
[EMAIL PROTECTED]
-}https

RE: [Nagios-users] Check_ntp

2006-03-23 Thread Marc Powell


 -Original Message-
 From: Marco Borsani [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 23, 2006 9:23 AM
 To: Marc Powell; 'NAGIOS'
 Subject: R: [Nagios-users] Check_ntp
 
 My lines were:
 
 use lib /usr/local/nagios/libexec /libexec
 use utils qw($TIMEOUT %ERRORS print_revision support);
 
 Now the command answers correctly !! ;-)
 
 The help on-line (check_ntp -h) is not so easy to understand...
 
 Does check_ntp compare the target host specified time with the locale
time
 (Nagios server time) or what?

I don't use the plugin but the help says Checks the local timestamp
offset versus host with ntpdate so I would say the answer is yes.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Check_ntp

2006-03-23 Thread Bill Jacqmein
Mark,

Where is utils.pm located?

Thanks,

  Bill


On 3/23/06, Marc Powell [EMAIL PROTECTED] wrote:


  -Original Message-
  From: Marco Borsani [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 23, 2006 9:23 AM
  To: Marc Powell; 'NAGIOS'
  Subject: R: [Nagios-users] Check_ntp
 
  My lines were:
 
  use lib /usr/local/nagios/libexec /libexec
  use utils qw($TIMEOUT %ERRORS print_revision support);
 
  Now the command answers correctly !! ;-)
 
  The help on-line (check_ntp -h) is not so easy to understand...
 
  Does check_ntp compare the target host specified time with the locale
 time
  (Nagios server time) or what?

 I don't use the plugin but the help says Checks the local timestamp
 offset versus host with ntpdate so I would say the answer is yes.

 --
 Marc


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Nagios-users mailing list
 Nagios-users@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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Check_ntp

2006-03-22 Thread Marco Borsani
Hi all !

I'd to use check_ntp, but when I try to running it , I obtain:
# ./check_ntp
use not allowed in expression at ./check_ntp line 66, at end of line
syntax error at ./check_ntp line 66, near libexec
use utils 
Execution of ./check_ntp aborted due to compilation errors.

I don't know perl  :-(

I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system).

Regards

Marco Borsani
Unix  Monitoring System Administrator
Technical Operation
Tel.+39 010 4310115
Fax +39 010 4327454
E-mail: [EMAIL PROTECTED]

ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A.
Internet Service Provider
Sede legale: Via C.G.Viola, 48 - 00148 Roma
Dir. Centrale e Amministrativa: Via Pacinotti, 39
 16151 Genova (Italy)

http://www.it.net
mailto:[EMAIL PROTECTED] 
___
Altre sedi ITnet:
MILANO tel.: +39 02 30114900[EMAIL PROTECTED]
ROMAtel.: +39 06 83116707[EMAIL PROTECTED]
___
ITnet is associated to CIX (Commercial IP eXchange) and RIPE
ITnet is associated to AIIP (Associazione Italiana Internet Providers)




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_ntp and windoze 2003...

2006-01-22 Thread Bill Jacqmein
I see the same thing on Windows 2003 but only one some installs. Ive been trying to use the following KB article http://support.microsoft.com/kb/875424/en-us
Snipped from the article1.Click Start, click Run,  type 
cmd, and then press ENTER.2.At the command prompt, type the following commands in the order that they are given. After you type each command,  press ENTER.

•w32tm /config /manualpeerlist:NTP_server_IP_Address,0x8
/syncfromflags:MANUAL•net stop w32time•net start w32time
•w32tm /resyncRegards, Bill
On 1/19/06, Francois Meehan [EMAIL PROTECTED] wrote:
Hi all,We are monitoring NTP for a bunch of windows servers, we have no problemswith win2k machines but with the win 2003, we're getting the followingerror:NTP CRITICAL: No suitable peer server found - Server for ntp probably down
We know the machines have NTP configured properly.Is there special configuration involved with Windows 2003?Regards,François---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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


[Nagios-users] check_ntp and windoze 2003...

2006-01-19 Thread Francois Meehan
Hi all,

We are monitoring NTP for a bunch of windows servers, we have no problems
with win2k machines but with the win 2003, we're getting the following
error:

NTP CRITICAL: No suitable peer server found - Server for ntp probably down

We know the machines have NTP configured properly.

Is there special configuration involved with Windows 2003?

Regards,


François




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@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