Notifications to a Contact Group

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Notifications to a Contact Group

Post by aravindreddy114 »

OK. How can I do alter the nagios core source and edit the macro
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notifications to a Contact Group

Post by abrist »

On your own. This type of change requires intimate knowledge of the source, and advanced knowledge of C.

If you possess both of these things, then you should know how to do so. Otherwise, you can investigate the source on your own:
http://sourceforge.net/p/nagios/nagiosc ... ster/tree/

And brush up on your C skills:
http://www.wibit.net/

Or just post a feature request for the changes you wish and wait for an indeterminate amount of time:
http://tracker.nagios.org
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Notifications to a Contact Group

Post by aravindreddy114 »

Thank you
The problem i am facing is when i use the Macro NOTIFICATIONRECIPIENTS to send the mail, its picking wrong Email,
Macro CONTACTEMAIL is getting the correct address which is [email protected]
where as NOTIFICATIONRECIPIENTS is getting wrong address{which is <[email protected]>}

Where should i go to edit the macro NOTIFICATIONRECIPIENTS , which file do i change
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notifications to a Contact Group

Post by abrist »

NOTIFICATIONRECIPIENTS is the macro for the nagios users assigned to the object. It is not meant to be mailed to. Nagios should use the notification command to send to all the emails/contacts associated with the object. The NOTIFICATIONRECIPIENTS macro is just so that you can tell what other users are also configured on the object. Why are you trying to mail to NOTIFICATIONRECIPIENTS?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked