Problems with notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Problems with notifications

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems with notifications

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: Problems with notifications

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems with notifications

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: Problems with notifications

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems with notifications

Post 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".
Be sure to check out our Knowledgebase for helpful articles and solutions!
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: Problems with notifications

Post 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
You do not have the required permissions to view the files attached to this post.
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: Problems with notifications

Post by bursatec »

Do you have any comment??
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems with notifications

Post by scottwilkerson »

If you login to XI ad the desarrollomexder user

Go to Configure -> My Account Settings

What is listed as the Email Address?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked