Re: [Nagios-users] PING is critical

2007-03-06 Thread Brandino Andreas
Yesterday i increased the number of pings from 3 to 6 with some better results (less notifications). Tomorrow i will set critical to be set when there is 100% lost. That way i hope fake alerts will be stopped. Thanks Tuesday, March 6, 2007, 10:05:39 PM, you wrote: > On 06/03/07, Patrick Morris

Re: [Nagios-users] PING is critical

2007-03-06 Thread Jim Avery
On 06/03/07, Patrick Morris <[EMAIL PROTECTED]> wrote: > > Any idea what can be wrong?? I expect you have configured the service check (or the command definition) so that Nagios only sends one ping. Pings are not guaranteed to get there and back so sometimes do get lost. Configure your services

Re: [Nagios-users] Initial checks delayed too much

2007-03-06 Thread Jim Avery
Correct me if I am wrong but I think you need to look at the retain_state_information directive in nagios.cfg . If you don't have this on, then I think Nagios will not know what state each host and service is in when it restarts, so they will all be pending until the relevant service checks are ru

Re: [Nagios-users] PING is critical

2007-03-06 Thread Patrick Morris
On Tue, 06 Mar 2007, Brandino Andreas wrote: > I have a nagios monitoring some hosts (routers /servers). > For some reason i get many notifications that ping has expired (100% > loss). > Howerver, the host isn't down and i can ping the remote hosts from > the linux thats runs nagios without any pr

[Nagios-users] PING is critical

2007-03-06 Thread Brandino Andreas
I have a nagios monitoring some hosts (routers /servers). For some reason i get many notifications that ping has expired (100% loss). Howerver, the host isn't down and i can ping the remote hosts from the linux thats runs nagios without any problem the same moment i get the critical notifications!

Re: [Nagios-users] Problem with check_nis script

2007-03-06 Thread Patrick Morris
Hi Kaplan,! On Tue, 06 Mar 2007, Kaplan, Andrew H. wrote: > # 'check_nis_space' command definition > > define command{ > > command_name/usr/local/nagios/libexec/check_nis -H > space > -d nisdomain > > command_line /usr/local/nagios/libexec/ch

Re: [Nagios-users] Problem with check_nis script

2007-03-06 Thread Andy Shellam
Kaplan, Andrew H. wrote: > > Hi there – > > I have installed the check_nis script on our Nagios 2.6 server, and > have been able to manually run it. My next step is getting it to run > within Nagios. > > The script has been copied to the libexec directory, and I have added > a command definition

[Nagios-users] Problem with check_nis script

2007-03-06 Thread Kaplan, Andrew H.
Hi there - I have installed the check_nis script on our Nagios 2.6 server, and have been able to manually run it. My next step is getting it to run within Nagios. The script has been copied to the libexec directory, and I have added a command definition to the commands.cfg file. Here is the s

Re: [Nagios-users] External Commands not working

2007-03-06 Thread Jason King
You have to make sure "check_external_commands" option in the nagios.cfg file is set to 1. Otherwise nagios never checks to see if an external command has been issued. Jason Justin Craig wrote: > My external commands are not working. Can someone provide assistance? > > Below is some of my cg

Re: [Nagios-users] External Commands not working

2007-03-06 Thread Patrick Morris
Hi Justin! > My external commands are not working. Can someone provide assistance? > > Below is some of my cgi.cfg info: > > cgi.cfg > nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.dat 5 '/usr/local/nagios/bin/nagios' > use_authentication=1 > auth

[Nagios-users] Initial checks delayed too much

2007-03-06 Thread Fabricio Lima
Hello, I've set up a nagios system monitoring several hosts (50 hosts with 10 services). When I add some host, and reloads with pkill -HUP nagios, the host/services are exibited at the cgi, but it doesn't get checked as informed. Check it out bellow: Current Network Status Last Updated: Tue M

[Nagios-users] External Commands not working

2007-03-06 Thread Justin Craig
My external commands are not working. Can someone provide assistance? Below is some of my cgi.cfg info: cgi.cfg nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.dat 5 '/usr/local/nagios/bin/nagios' use_authentication=1 authorized_for_system_commands=nagio

Re: [Nagios-users] Passing a string from services to commands for check_http

2007-03-06 Thread Jim Avery
On 05/03/07, Tom Cowin <[EMAIL PROTECTED]> wrote: > in commands.cfg: > define command { >command_name check_http_port_string >command_line /usr/local/nagios/libexec/check_http -I $HOSTADDRESS$ -p > $ARG1$ -s $ARG2$ > } That looks okay to me. It wouldn't do any harm to put the string in qu

Re: [Nagios-users] Printable Documentation

2007-03-06 Thread Sébastien Barbereau
Hi, the broken link has been fixed. There are differences betwen the PDF I've generated and the "official" pdf from Holger Weiss. Especially about printed output (alternate margins, table of contents, page formatting ...). URL: http://runnagios.be/doc.html Seb. On 3/5/07, Holger Weiss <[EMAIL PR