Hi Everybody,
We have created alerts through Nagios XI but group is not selected in the Notification section but still unselected group is receiving emails/sms.
Could you please advise if you are aware of such issues. Do we need to check some config file, does it contain notification contacts?
Thanks
Rashmi
Nagios is sending alert notification to the unselected group
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios is sending alert notification to the unselected g
Are you talking about a service object or a host object?
If it is a service object, does the service have any contact groups assigned to it? Does the host have any contact groups assigned to it.
Can you please look in the file /usr/local/nagios/var/objects.cache and find the host and/or service definitions and paste them here.
If it is a service object, does the service have any contact groups assigned to it? Does the host have any contact groups assigned to it.
Can you please look in the file /usr/local/nagios/var/objects.cache and find the host and/or service definitions and paste them here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios is sending alert notification to the unselected g
Hi there,
I am talking about Service object, in service alerts we haven't selected groups but we are getting alerts but we have selected groups at the host level object.
For example,
I have a host called TEST1
and there are many services associated with host TEST1
for example : Monitor ABC Folder..
We haven't selected group for Monitor ABC Folder but we have selected group for TEST1.
We have selected many groups at TEST1.
But we don't want to send service alerts to unwanted group.
I will try to find objects.cache file
Thanks.
I am talking about Service object, in service alerts we haven't selected groups but we are getting alerts but we have selected groups at the host level object.
For example,
I have a host called TEST1
and there are many services associated with host TEST1
for example : Monitor ABC Folder..
We haven't selected group for Monitor ABC Folder but we have selected group for TEST1.
We have selected many groups at TEST1.
But we don't want to send service alerts to unwanted group.
I will try to find objects.cache file
Thanks.
Re: Nagios is sending alert notification to the unselected g
Hi there,
I was able to find definition in the txt config file from Nagios XI core config manager, I hope this is what you need.
I was able to find definition in the txt config file from Nagios XI core config manager, I hope this is what you need.
Code: Select all
define service {
host_name SYDNAS1
service_description Monitor WERNER Invoice Processing
display_name Monitor WERNER Invoice Processing
check_command check_nrpe_directory_2!check_filename_age.pl!'\\sydnas1\SchenkerEDI\MCWMS1_MSG\MCP07\INVOICE\WERNER\ SKIP pdf 3600'!!!!!!
initial_state o
max_check_attempts 2
check_interval 60
retry_interval 15
active_checks_enabled 1
check_period 8am-6pm_weekdays
notification_interval 60
notification_period 8am-6pm_weekdays
notification_options w,c,u,
notifications_enabled 1
contact_groups Multi-Client
register 1
}
define host {
host_name SYDNAS1
use xiwizard_windowsserver_host
address 10.215.222.102
hostgroups Infrastructure
max_check_attempts 3
check_interval 5
retry_interval 2
check_period 24x7
contacts dellunix,dellwintel
contact_groups aunzff-supportteam,Dell,Freight-Forward,HP,Infrastructure,Multi-Client
notification_interval 180
notification_period 24x7
first_notification_delay 0
notification_options d,u,r,f,s
notifications_enabled 1
icon_image win_server.png
statusmap_image win_server.png
_xiwizard windowsserver
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios is sending alert notification to the unselected g
So the behaviour of Nagios is that things like contacts and contact groups defined on the host get inherited by the services.
https://assets.nagios.com/downloads/nag ... tance.html
If you have a service that you don't want inheritance to apply, then you can do the following:
CCM
Edit Service
Alert Settings tab
Click Manage Contact Groups
For the Contactgroup options radio select "standard".
Save and apply configuration.
You can test this by sending a custom notification from the service.
Does this fix your problem?
https://assets.nagios.com/downloads/nag ... tance.html
If you have a service that you don't want inheritance to apply, then you can do the following:
CCM
Edit Service
Alert Settings tab
Click Manage Contact Groups
For the Contactgroup options radio select "standard".
Save and apply configuration.
You can test this by sending a custom notification from the service.
Does this fix your problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios is sending alert notification to the unselected g
Hi,
For the Contactgroup options radio select "standard"
We have already selected "standard".
For the Contactgroup options radio select "standard"
We have already selected "standard".
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios is sending alert notification to the unselected g
Hmm I've done some more reading and I found this thread:
https://support.nagios.com/forum/viewto ... 750#p76073
I might need the USA techs to chime in on this tomorrow to see if they have any other information on this.
https://support.nagios.com/forum/viewto ... 750#p76073
I'm thinking that instead you could create an empty contact group called "No Contacts" and assign that to the service, this should then override the inheritance.Contacts on a host will *always* be contacts for that host's services except when a contact is defined on the service object itself.
I might need the USA techs to chime in on this tomorrow to see if they have any other information on this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios is sending alert notification to the unselected g
We have selected contact group in the services but still it is picking from Host level contact group.
Please let me know if you have any other information.
Please let me know if you have any other information.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios is sending alert notification to the unselected g
I would like to get a copy of your system profile so I can drill down into your configs.
Click the Admin menu
System Config > System Profile
Click the Download Profile button and PM me that file
Please do not upload it here as it contains sensitive information.
Otherwise please send an email to [email protected] referencing this post (only if you have paid support).
Click the Admin menu
System Config > System Profile
Click the Download Profile button and PM me that file
Please do not upload it here as it contains sensitive information.
Otherwise please send an email to [email protected] referencing this post (only if you have paid support).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios is sending alert notification to the unselected g
Hi,
Please let me know what you want to check, I can check Profile and send you the feedback.
Thank you so much for your help.
Regards
Rashmi
Please let me know what you want to check, I can check Profile and send you the feedback.
Thank you so much for your help.
Regards
Rashmi