Hi Guillaume,
You're correct. Nagios in it's initial setup state doesn't send mails
out (you have to configure the mail/notification commands yourself.)
Therefore to add additional information such as a URL to Nagios and a
customised sender string, you would need to build these into your solution.
You could also have used the $ADMINEMAIL$ macro (which is the value of
the admin_email configuration directive) as the sender string in your
mail command, but a USER macro does just fine too.
Andy
Guillaume Rousse wrote:
> Hello list.
>
> I may be wrong, but I didn't find any macro referring the nagios server
> itself. In order to customize mails sent to users (customised sender
> string + URL to nagios), I had to ressort to a USER macro in resource
> file. Did I miss something ?
>
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]