RES: Notification flood after host down
Sandro Vaz (UOL)
sandromergvaz at uol.com.br
Wed Mar 5 16:10:27 CET 2003
Ian e Jim:
I'm also having this problem too (not receiving CRITICAL service alerts when
the host goes down, but when the hosts comes back, receiving RECOVERY
service alerts for that host), and i am sure there is no second Nagios
instance running... Could you point me where i am wrong?
Any help is appreciated.
Here my configs....
HOSTS.CFG
******************
define host{
name generic-host-giozza
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
register 0
max_check_attempts 10
notification_interval 0
notification_period 24x7
notification_options d,u,r
}
define host{
use generic-host-giozza
host_name giozza-adslbrt-pas-01
parents paelxmg1
alias Giozza Pelotas
address giozza-adslbrt-pas-01
check_command check-host-alive-ssh
}
SERVICES.CFG
***********************
define service{
name generic-service-giozza
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
is_volatile 0
check_period 24x7
max_check_attempts 10
normal_check_interval 5
retry_check_interval 1
notification_interval 0
notification_options c,r
contact_groups
opnet-admins,callcenter,giozza-admins
notification_period 24x7
register 0
}
define service{
use generic-service-giozza
host_name giozza-adslbrt-pas-01
service_description Disk1
check_command check_nrpe_disk1
}
define service{
use generic-service-giozza
host_name giozza-adslbrt-pas-01
service_description Disk2
check_command check_nrpe_disk2
}
DEPENDECIES.CFG
****************************
#Giozza PAE-01
define servicedependency{
host_name giozza-virtua-pae-01
service_description SSHD
dependent_host_name giozza-virtua-pae-01
dependent_service_description Disk1
execution_failure_criteria u,c
notification_failure_criteria u,c
}
define servicedependency{
host_name giozza-virtua-pae-01
service_description SSHD
dependent_host_name giozza-virtua-pae-01
dependent_service_description Disk2
execution_failure_criteria u,c
notification_failure_criteria u,c
}
-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Ian Chilton
Enviada em: sexta-feira, 28 de fevereiro de 2003 14:14
Para: Carroll, Jim P [Contractor]
Cc: nagios-users at lists.sourceforge.net
Assunto: Re: [Nagios-users] Notification flood after host down
Hello,
> Could you provide a couple snippets from your config files, namely one
> host definition, and one service definition for that host?
ok..
Host:
define host{
use generic-host
host_name somehostname
alias Desc
address 123.123.123.123
parents mygateway
check_command check-host-alive
max_check_attempts 5
notification_interval 240
notification_period 24x7
notification_options d,r
Service:
define service{
use generic-service
host_name somehostname
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups somecontactgroup
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
Hostgroup:
define hostgroup{
hostgroup_name somehostgroup
alias Name
contact_groups somecontactgroup
members somehostname
}
Contact Group:
define contactgroup{
contactgroup_name somecontactgroup
alias Name
members nagios,someone
}
Thanks!
--ian
-------------------------------------------------------
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.458 / Virus Database: 257 - Release Date: 24/2/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/2/2003
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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