Notification recipients

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Notification recipients

Post by whitest »

In large companies will be very useful to know how recieved this notify except you. Are you alone or not?
Is there Variables for notify-service-by-email that can be used for it. I want to show in email body all nagios-contacts/gruops that nagios sent the notify.

For example:

Code: Select all

Notification Type: RECOVERY
Service: PING
Host: Hyper-V 03
IP Address: 10.14.2.53
Date/time: 2015-06-20 09:32:02
Info: PING OK - Packet loss = 0%, RTA = 1.28 ms
Recipients: nagiosadmin, yury, alex, support-team1.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Notification recipients

Post by Box293 »

No, this is not built into nagios.

You could however have Nagios sending notifications to distribution lists and from within your email program (like Outlook integrated with Exchange) you would be able to see who are members of distribution lists.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Notification recipients

Post by whitest »

Box293 wrote:No, this is not built into nagios.

You could however have Nagios sending notifications to distribution lists and from within your email program (like Outlook integrated with Exchange) you would be able to see who are members of distribution lists.
It is not variant. You can specify contacts and contact-groups in object definitions. Nagios will send notifications separately...
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Notification recipients

Post by tgriep »

The only way to get the data you are looking for is to run the Notification report. Would this suffice?
Be sure to check out our Knowledgebase for helpful articles and solutions!
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Notification recipients

Post by whitest »

tgriep wrote:The only way to get the data you are looking for is to run the Notification report. Would this suffice?
Run report for every notification?...
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Notification recipients

Post by whitest »

When I view column "Default Contacts/Groups" on Configuration page I see all contacts/groups that can recieve notifications from the service/host. How to grap this information to notify-service-by-email command?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Notification recipients

Post by tgriep »

Could you post the version of Nagios Core or Nagios XI that you are running?
Do you want to get a list of users that received a notification?
Be sure to check out our Knowledgebase for helpful articles and solutions!
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Notification recipients

Post by whitest »

tgriep wrote:Could you post the version of Nagios Core or Nagios XI that you are running?
Do you want to get a list of users that received a notification?
Thank you for your response!
I use Nagios Core 4.0.8.
Yes, I want to get a list of all users and grups that received a notification.
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: Notification recipients

Post by whitest »

My boss asked me about this. I think it's useful information for management.
He would like to know who are receipments of the message.
It would help to ensure that you not alone who received notify.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Notification recipients

Post by tgriep »

On the left hand side of the GUI, under reports, you can click on Notifications and get the data you are looking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked