Re: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails?

2006-02-02 Thread Arno Lehmann

Hello,

On 2/2/2006 6:49 AM, Karan uk wrote:
Nope this is just a single server setup...monitoring services on remote 
servers.


Perhaps a mail server problem? Because I also see all your mails to the 
list twice.


The one I reply to:

Received: by wproxy.gmail.com with SMTP id i24so316636wra
for ; Wed, 01 Feb 2006 21:49:59 
-0800 (PST)



The other one:

Received: by wproxy.gmail.com with SMTP id i30so314718wra
for ; Wed, 01 Feb 2006 21:50:31 
-0800 (PST)


Which looks, going by the different message id and time, like your mail 
was actually sent twice.


Arno


thanks,
Suraj


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnk&kid=103432&bid=230486&dat=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] Submit passive check result for a service sending out duplicate alert mails?

2006-02-01 Thread Karan uk
Nope this is just a single server setup...monitoring services on remote servers.



thanks,

Suraj


Re: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails?

2006-02-01 Thread Karan uk
Nope this is just a single server setup...monitoring services on remote servers.

thanks,
Suraj


RE: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails?

2006-02-01 Thread Mike Koponick








Karan,

 

If this is a distributed monitoring setup,
you will need to turn off notifications on the “sensor” at that is
doing the checking. Notifications should be turned on the central server where Nagios/NSCA
is accepting the checks.

 

Thanks!

 

Mike

 

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karan uk
Sent: Wednesday, February 01, 2006
2:50 AM
To: Nagios-Users (E-mail)
Subject: [Nagios-users] Submit
passive check result for a service sending out duplicate alert mails?

 

Hi, 
I've got Nagios-1.3 installed on rh7.3.The nagios.cfg i'm using is as
below.Rest cfg files are as per the docs. 
_
log_file=/usr/local/nagios/var/nagios.log 
cfg_file=/usr/local/nagios/etc/checkcommands.cfg 
cfg_file=/usr/local/nagios/etc/misccommands.cfg 
cfg_file=/usr/local/nagios/etc/contactgroups.cfg 
cfg_file=/usr/local/nagios/etc/contacts.cfg 
cfg_file=/usr/local/nagios/etc/hostgroups.cfg 
cfg_file=/usr/local/nagios/etc/hosts.cfg 
cfg_file=/usr/local/nagios/etc/services.cfg 
cfg_file=/usr/local/nagios/etc/timeperiods.cfg 
illegal_macro_output_chars=`~$&|'"<> 
resource_file=/usr/local/nagios/etc/resource.cfg 
nagios_user=root 
nagios_group=nagios 
check_external_commands=1 
command_check_interval=-1 
command_file=/usr/local/nagios/var/rw/nagios.cmd 
use_syslog=1 
log_notifications=1 
log_service_retries=1 
log_host_retries=1 
log_event_handlers=1ocal/nagios/etc/resource.cfg 
log_initial_states=1mesh/nagios-logs/status.log 
log_external_commands=1 
service_reaper_frequency=10 
sleep_time=1 
service_check_timeout=60 
host_check_timeout=30 
event_handler_timeout=30 
notification_timeout=30 
ocsp_timeout=5 
perfdata_timeout=5 
use_agressive_host_checking=0 
execute_service_checks=1 
accept_passive_service_checks=1 
enable_notifications=1 
enable_event_handlers=1 
process_performance_data=0 
illegal_object_name_chars=`~!$%^&*|'"<>?,()= 
retain_state_information=1 
state_retention_file=/usr/local/nagios/var/status.sav 
retention_update_interval=60 
use_retained_program_state=1 
interval_length=60 
[EMAIL PROTECTED] 
__
The issue i'm facing is that when an external command is run like
"Submitting a passive check for a service" i receive two email alerts
rather that just one. 
I've checked the no.of entries of this external command made in the nagios.cmd
n found that just one entry is made per external command,is something
like[1138685516]
PROCESS_SERVICE_CHECK_RESULT;nkaranuk;GENERIC_DB_CONNECTION;2;submitting a
passive check manually.So is this a normal behavior or i'm missing
some key configuration that is causing these duplicate alerts. 

ran 'ps axuw | grep nagios' ..got only single nagios process as below 
root 1105 0.0 0.0 1816 840 pts/0 S 22:07 0:00
/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

looking forward to your thoughts, 
nkaranUk 








RE: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails?

2006-02-01 Thread Morten Bekkelund








Is this a distributed
setup?

If so, are you sure you’re
not receiving notifications from 2 servers? 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karan uk
Sent: 1. februar 2006 11:50
To: Nagios-Users (E-mail)
Subject: [Nagios-users] Submit
passive check result for a service sending out duplicate alert mails?



 

Hi, 
I've got Nagios-1.3 installed on rh7.3.The nagios.cfg i'm using is as
below.Rest cfg files are as per the docs. 
_
log_file=/usr/local/nagios/var/nagios.log 
cfg_file=/usr/local/nagios/etc/checkcommands.cfg 
cfg_file=/usr/local/nagios/etc/misccommands.cfg 
cfg_file=/usr/local/nagios/etc/contactgroups.cfg 
cfg_file=/usr/local/nagios/etc/contacts.cfg 
cfg_file=/usr/local/nagios/etc/hostgroups.cfg 
cfg_file=/usr/local/nagios/etc/hosts.cfg 
cfg_file=/usr/local/nagios/etc/services.cfg 
cfg_file=/usr/local/nagios/etc/timeperiods.cfg 
illegal_macro_output_chars=`~$&|'"<> 
resource_file=/usr/local/nagios/etc/resource.cfg 
nagios_user=root 
nagios_group=nagios 
check_external_commands=1 
command_check_interval=-1 
command_file=/usr/local/nagios/var/rw/nagios.cmd 
use_syslog=1 
log_notifications=1 
log_service_retries=1 
log_host_retries=1 
log_event_handlers=1ocal/nagios/etc/resource.cfg 
log_initial_states=1mesh/nagios-logs/status.log 
log_external_commands=1 
service_reaper_frequency=10 
sleep_time=1 
service_check_timeout=60 
host_check_timeout=30 
event_handler_timeout=30 
notification_timeout=30 
ocsp_timeout=5 
perfdata_timeout=5 
use_agressive_host_checking=0 
execute_service_checks=1 
accept_passive_service_checks=1 
enable_notifications=1 
enable_event_handlers=1 
process_performance_data=0 
illegal_object_name_chars=`~!$%^&*|'"<>?,()= 
retain_state_information=1 
state_retention_file=/usr/local/nagios/var/status.sav 
retention_update_interval=60 
use_retained_program_state=1 
interval_length=60 
[EMAIL PROTECTED] 
__
The issue i'm facing is that when an external command is run like
"Submitting a passive check for a service" i receive two email alerts
rather that just one. 
I've checked the no.of entries of this external command made in the nagios.cmd
n found that just one entry is made per external command,is something
like[1138685516]
PROCESS_SERVICE_CHECK_RESULT;nkaranuk;GENERIC_DB_CONNECTION;2;submitting a
passive check manually.So is this a normal behavior or i'm missing
some key configuration that is causing these duplicate alerts. 

ran 'ps axuw | grep nagios' ..got only single nagios process as below 
root 1105 0.0 0.0 1816 840 pts/0 S 22:07 0:00
/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

looking forward to your thoughts, 
nkaranUk