-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature-request] Notification recipients #55
Comments
To clarify, an appropriate name for the macro might be |
@wh1test - The http://nagios.sourceforge.net/docs/nagioscore/4/en/macrolist.html#notificationrecipients |
That's just the shortname though, doesn't list the email or full name. I think that was the intention. |
But once you have the shortname you can get the other info e.g. http://nagios.sourceforge.net/docs/nagioscore/4/en/macros.html |
Or,
|
Did not know about the delimiter trick, thanks! So to take it a step further, could this be done?
In other words, can you use one macro to build up another on-demand macro? I would imagine this would break the parsing of the dollar signs a bit and leave you with:
and
|
Thank you guys! It works! |
Perfect! But to answer @tmcnag question, Yes, on the command line for the command, something like the following with backticks should work:
|
This reature was discussed here: http://support.nagios.com/forum/viewtopic.php?f=20&t=33430$CONTACTNAME$ or $CONTACTGROUPMEMBERS$ ?
In large companies will be very useful to know how recieved this notify except you: are you alone or not?
IT managers receives e-mail notifications about bussines-critical services and they want to know how will be invloved to reslove problem.
Could you please add to Nagios Core macro, that can be used for notification in the same way as
The text was updated successfully, but these errors were encountered: