Alert on Contact Person email id

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Alert on Contact Person email id

Post by shailu2014 »

Hi,

I have configure one host for monitoring (windows desktop) and then created one contact person (create my id) in Alerting option (Nagios CCM) who will get the alert of desktops if it is some issue. (for a testing I have disable the NSClient++ service from services.msc to get the alerts), but i am not able to get the alert of that host.

Then I have check in Reports- Notifications there it is showing alerts of my contact id (networkalert), (Screen shot attached).

so pls help me how i can get the alerts.


Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Alert on Contact Person email id

Post by slansing »

One thing I've noticed immediately, is, if that is just a contact, you are using the wrong notification handlers, please read through this and use it's examples:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Alert on Contact Person email id

Post by shailu2014 »

Hi slansing,

I have gone through with pdf document Contact Management setup but still same issue, Please can you provide some example with step by step to configure the Contact Management.

Thanks,
Sjain
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Alert on Contact Person email id

Post by shailu2014 »

Hi,

Anybody can help me to configure the contact management in Nagios XI.

Thanks,
Sjain
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Alert on Contact Person email id

Post by shailu2014 »

Hi All,

I have tried to configure the new contacts to get the alert mails but not getting alerts mails to contact person.

Anybody can help me to configure the contact management in Nagios XI.

Thanks,
Sjain
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Alert on Contact Person email id

Post by tmcdonald »

Does that email address exist as just a contact or is there a Nagios XI User created for it as well?
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Alert on Contact Person email id

Post by shailu2014 »

I have created one email address as a contacts only and created one separate Nagios XI users as well contact. (Attached the screen shot of contact email address configuration)

Nagios XI user able to get the alerts but contacts email address are not getting the alert mail.

Please help me to fix the issue.

Thanks,
Sjain
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: Alert on Contact Person email id

Post by lmiltchev »

On the first screenshot you are showing that networkalert contact is using the "default" XI notification handlers ("xi_host_notification_handler" and "xi_service_notification_handler").

However, in the "Contact_email address Screenshots.docx" the same contact is using the Nagios Core notification handlers ("notify-host-by-email" and "notify-service-by-email")...

I would recommend removing the user/contact and recreating it by following the document, provided by slansing:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
In Nagios XI, the "default" way is to set "xi users who are also contacts". You do this by going to:

Code: Select all

Admin->Manage Users->Add New User->Create as Monitoring Contact = checked...
Note: When you use this method, the contact will be created automatically with the correct contact template and notification handlers.
Be sure to check out our Knowledgebase for helpful articles and solutions!
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: Alert on Contact Person email id

Post by shailu2014 »

Hi lmiltchev,

Thanks for help to configure the user/contact and now user able to getting the alerts mail of the device but now i want to configure the Contact Groups.

For example:

IT Team & Dev team want same alerts, So please can you help me how we can configure the Contact Group in Nagios XI.

Thanks,
Sjain
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Alert on Contact Person email id

Post by lmiltchev »

You can set up different contact groups in the Core Config Manager and add them to various hosts/services. Each contact group can contain one or more contacts and/or contact groups. Please, review our "Nagios XI – Understanding Multi-Tenancy" document here:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Note: Sometimes adding/removing contacts/contact groups to/from host/services could be a tedious process. I would highly recommend using the Bulk Modifications Tool. It will save you lots of time. With it, you can add/remove contacts and contact groups in bulk. The Bulk Modifications Tool is included in the Nagios XI Enterprise Edition. You don't need to buy it if you don't want to. You can start a free, 60-day, fully functional trial and get the job done. Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked