Page 1 of 1
Problems with notifications
Posted: Wed Aug 29, 2012 3:46 pm
by bursatec
Hi,
I have problems with notifications because all the notificacions also sending to my nagiosadmin mail, i can't resolv that issue, can you help me please...
Regrads
Re: Problems with notifications
Posted: Wed Aug 29, 2012 4:10 pm
by scottwilkerson
You can change the contact that is being modified for hosts/services either through their detail page -> Configure Tab -> Re-configure this host
or through
Configure -> Core Config Manager -> Host/Service -> Modify -> Alert Settings tab
Re: Problems with notifications
Posted: Mon Sep 03, 2012 1:05 pm
by bursatec
Thanks scottwilkerson for your answer,
But i have this escenary:
I have a privileged account (nagiosadmin) and have many monitoring accounts (support, development, etc) so, if i configure any service for example i monitoring a specific filesystem (/app/support). I set up alarms to send a mail only to support account but the mail arrive to the support account and also to nagiosadmin account.
Can you help me to fix it...
Regrads
Re: Problems with notifications
Posted: Tue Sep 04, 2012 11:06 am
by scottwilkerson
Can you attach a copy or PM me your latest config snapshot from Configure -> Configuration Snapshots along with the name of the service in question.
Thanks.
Re: Problems with notifications
Posted: Wed Sep 05, 2012 10:09 am
by bursatec
For example, this notification should not reach the mail
[email protected] but must reach the mail
[email protected]
Service: /home Disk Usage
Host: mepccme1
Address: 172.23.67.1
State: CRITICAL
Info: DISK CRITICAL - free space: /home 2021 MB (6% inode=99%):
Thanks
Re: Problems with notifications
Posted: Wed Sep 05, 2012 12:09 pm
by lmiltchev
Make sure you have the proper notification handlers. For the contact in question, you have:
define contact {
contact_name desarrollomexder
alias Grupo desarrollo Mexder
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period desarrollomexder_notification_times
service_notification_period desarrollomexder_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands xi_host_notification_handler
service_notification_commands xi_host_notification_handler
...
but you should have:
...
service_notification_commands xi_service_notification_handler
...
instead.
Go to the Core Config Manager->Contacts->desarrollomexder->Modify->select the proper "Service command" (xi_service_notification_handler), "Save", and "Apply Configuration".
Re: Problems with notifications
Posted: Wed Sep 05, 2012 3:33 pm
by bursatec
Hi lmiltchev,
I change the oper notification handlers, but the emails continue but I keep getting emails to
[email protected]...
I attached the new snapshot
Thanks
Re: Problems with notifications
Posted: Mon Sep 10, 2012 11:00 am
by bursatec
Do you have any comment??
Re: Problems with notifications
Posted: Mon Sep 10, 2012 11:40 am
by scottwilkerson
If you login to XI ad the desarrollomexder user
Go to Configure -> My Account Settings
What is listed as the Email Address?