Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Andreas Ericsson
Nguyen, Tham wrote: > Okay the problem is solved. > > > > Before I had this in the localhost.cfg: > > > > define service{ > > use generic-service > > host_namesun-ae-server001 > > service_description

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
Thanks Mathieu. -Original Message- From: Mathieu Gagné [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 3:24 PM To: Nguyen, Tham Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_icmp issues warning and does not run > The setuid bit works though; just the con

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Mathieu Gagné
> The setuid bit works though; just the config file is not set properly. > The error message (Warning: This plugin must be either run as root or > setuid root ) is ambiguous!!! > "check_nrpe" means it will be run on the remote host, not the local host. Please make sure the "setuid bit" is als

Re: [Nagios-users] Service down for 5 checks before notification?

2008-05-29 Thread Marc Powell
Please always respond on list so that others now, and in the future, can learn from your experience. On May 29, 2008, at 5:03 PM, Drew Weaver wrote: > Does that only apply to services? As my hosts are set the same way > and they do not exhibit this behavior. > Hosts have a max_check_attempts

Re: [Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
Hi Marc, I've got a hold of this and a fix now. In the availability report, if you selected a host or service group, it passed the host/group chosen in step 2 over in the URL to step 3 as, for example, Telecity+Router+1 - which is correct. However, it then URL encoded the value back to the H

Re: [Nagios-users] Service down for 5 checks before notification?

2008-05-29 Thread Marc Powell
On May 29, 2008, at 4:19 PM, Drew Weaver wrote: > Hi, > > I'm running version 3.0.1. > > It appears somehow I have configured my services to wait until they > fail 5 times before contacting me, is there a way to disable this? "max_check_attempts:This directive is used to define the number

Re: [Nagios-users] NSCA and long output

2008-05-29 Thread Aaron Mills
As it turns out, getting long output working was a little easier than I anticipated. The UI turns "\n" into "". So I'm able to bundle the long output into the standard plugin output. All I had to do in the end was pass $LONGSERVICEOUTPUT$ with $SERVICEOUTPUT$ like this: define command{ com

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
Okay the problem is solved. Before I had this in the localhost.cfg: define service{ use generic-service host_namesun-ae-server001 service_description ICMP check_command ch

[Nagios-users] Service down for 5 checks before notification?

2008-05-29 Thread Drew Weaver
Hi, I'm running version 3.0.1. It appears somehow I have configured my services to wait until they fail 5 times before contacting me, is there a way to disable this? Thanks, -Drew - This SF.net email is sponsored by: Micr

Re: [Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
Hi Marc, Quoting Marc Powell <[EMAIL PROTECTED]>: > > On May 29, 2008, at 1:23 PM, Andy Shellam wrote: > >> About the below e-mail I sent on Tuesday; the reports appears to have >> resolved themselves - all host statuses are now appearing as up from >> the >> 28th May onwards - not quite sure why

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
Thanks Mathieu for your response. However, after changing the setuid bit, I am still receiving the same error message (chmod u+s check_icmp). -rwsrwxrwx 1 root root85170 May 15 16:26 check_icmp ICMP UNKNOWN 05-29-2008 13:42:24 0d 0h 22m 58s 3/3 Warning: This plugin

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Marc Powell
On May 29, 2008, at 1:35 PM, Nguyen, Tham wrote: > Hi, > > I defined the check_icmp service in my localhost.cfg & commands.cfg > files on the monitoring server and got this warning: > > > ICMP UNKNOWN 05-29-2008 11:08:33 0d 1h 54m 20s 3/3 > Warning: This plugin must be either run as

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Mathieu Gagné
Nguyen, Tham wrote: > > I also checked under /usr/local/nagios/libexec folder and check_icmp is > running under user root. I changed root to nagios user and it produced > the same error. > > -rwxrwxrwx 1 root root 85170 May 15 16:26 check_icmp > This file is OWNED by "root", not RUN as "roo

Re: [Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Marc Powell
On May 29, 2008, at 1:23 PM, Andy Shellam wrote: > About the below e-mail I sent on Tuesday; the reports appears to have > resolved themselves - all host statuses are now appearing as up from > the > 28th May onwards - not quite sure why they're showing as > undetermined on > the 27th because

[Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
Hi, I defined the check_icmp service in my localhost.cfg & commands.cfg files on the monitoring server and got this warning: ICMP UNKNOWN 05-29-2008 11:08:33 0d 1h 54m 20s 3/3 Warning: This plugin must be either run as root or setuid root. commands.cfg define command{

[Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
About the below e-mail I sent on Tuesday; the reports appears to have resolved themselves - all host statuses are now appearing as up from the 28th May onwards - not quite sure why they're showing as undetermined on the 27th because I have the event log covering all of the 27th, although there

Re: [Nagios-users] Sending command to nagios using send_nsca

2008-05-29 Thread Marc Powell
On May 29, 2008, at 9:41 AM, Ouellet, Patrick wrote: > I've done this quite a few time for sending status message for > services to nagios. > But I would like to know if I can use send_nsca to put a service > under scheduled downtime ? > > I put a service in scheduled downtime using the web g

[Nagios-users] Sending command to nagios using send_nsca

2008-05-29 Thread Ouellet, Patrick
I've done this quite a few time for sending status message for services to nagios. But I would like to know if I can use send_nsca to put a service under scheduled downtime ? I put a service in scheduled downtime using the web gui and check nagios.log It looked like that. SCHEDULE_SVC_DOWNTIME;

[Nagios-users] OpMon Agent 2.7.1

2008-05-29 Thread Dario B. Bestetti
BTW, the latest release of OpMon Agent version 2.7.1 is available in our website: http://www.opservices.com.br/index.php?option=com_content&task=view&id=54&Itemid=54 _ Dario B. BestettiOpServices R. Luciana

Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting

2008-05-29 Thread Dario B. Bestetti
--- "Mohr James" <[EMAIL PROTECTED]> wrote: > > > Just to let you know, we are working in a report module to be > > released in the next 3 months or so. The module (OpReports > > for Nagios) will be fully integrated with Nagios and allow > > you to generate SLA and SLM reports with all feature

Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting

2008-05-29 Thread Dario B. Bestetti
- "Phil Costelloe" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] > [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Dario B. Bestetti > > Sent: 28 May 2008 12:54 > > To: nagios-users > > Subject: Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reportin

Re: [Nagios-users] check_mem errors

2008-05-29 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/05/08 07:14 AM, Dirk H. Schulz wrote: > Hello nagios fellows, > > I am running a nagios test environment on CentOS 4 and RHEL4/5, and came to > recognize some errors in check_mem.pl: > > - if used with option -f (checks free memory), it does n

[Nagios-users] check_mem errors

2008-05-29 Thread Dirk H. Schulz
Hello nagios fellows, I am running a nagios test environment on CentOS 4 and RHEL4/5, and came to recognize some errors in check_mem.pl: - if used with option -f (checks free memory), it does not report back free memory - the amount reported corresponds to cached memory. - if used with option -

Re: [Nagios-users] Longs lines in cfg files

2008-05-29 Thread Dirk H. Schulz
Simon, thanks, that was exactly what I was looking for. I run Nagios in a fast growing environment, and reediting hostgroups is somewhat laborous if I use the hostgroup directive in the host definition. Regards, Dirk --On 28. Mai 2008 12:27:23 +1000 Simon Finch <[EMAIL PROTECTED]> wrote: > >

Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting

2008-05-29 Thread Phil Costelloe
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Dario B. Bestetti > Sent: 28 May 2008 12:54 > To: nagios-users > Subject: Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting > > Just to let you know, we are working in a report module to

[Nagios-users] Struggling with NAN - Nagios Notification Daemon

2008-05-29 Thread Tim Van Caeyzeele
I've installed NAN from nagiosexchange and am not getting any messages through. Normal notification message are working though. When I did a test (as instructed by the manual) I get the underneath error: [EMAIL PROTECTED]:/usr/local/nan# echo "TESTVARIABLE:successful" | /usr/local/nan/nanc -t TE

Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting

2008-05-29 Thread Tim Van Caeyzeele
Dario, keep us informed, looking forward to this tool! Regards, Tim. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mohr James Sent: donderdag 29 mei 2008 10:33 To: nagios-users Subject: Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting > Just to le

Re: [Nagios-users] Not Receiving Notifications

2008-05-29 Thread Tim Van Caeyzeele
Just for follow up and closure of my problem: Everything is working now, I installed and configured postfix Thanks all, Tim. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Van Caeyzeele Sent: woensdag 28 mei 2008 16:16 To: Marc Powell; nagios Subje

Re: [Nagios-users] send mail problems

2008-05-29 Thread Tim Van Caeyzeele
You could consider installing NAN - Nagios Notification Daemon (can be found on nagios exchange) I'm currently doing that ;) Regards, Tim. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jordi gonzalez roig Sent: donderdag 29 mei 2008 10:25 To: nagios-users@lists.sourceforge.ne

Re: [Nagios-users] Nagios alarms going from WARNING to CRITICAL state

2008-05-29 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/05/08 04:24 AM, Wheeler, JF (Jonathan) wrote: > We are running Nagios 2.11. When a check fails, Nagios configuration > allows a number of retries of the check before the error becomes "HARD"; > we find that this works well for checks which start

Re: [Nagios-users] FW: Re: Nagios 3.0 SLA Reporting

2008-05-29 Thread Mohr James
> Just to let you know, we are working in a report module to be > released in the next 3 months or so. The module (OpReports > for Nagios) will be fully integrated with Nagios and allow > you to generate SLA and SLM reports with all features > described here, including what we call a "vertical

[Nagios-users] send mail problems

2008-05-29 Thread jordi gonzalez roig
Hi all, I have nagios2+centreon into a VM with debian kernel 2.6.18. I configuring a postfix and i send email correctly, when some host down send a lot of mails, 2 mails for minute, who i change this? I like only send one mail when the system stop and another mail when the system restart. some i

[Nagios-users] Nagios alarms going from WARNING to CRITICAL state

2008-05-29 Thread Wheeler, JF (Jonathan)
We are running Nagios 2.11. When a check fails, Nagios configuration allows a number of retries of the check before the error becomes "HARD"; we find that this works well for checks which start "OK" and go "CRITICAL". However does the retry mechanism apply when a check goes from "WARNING" to "CRI