Page 1 of 1

add the website url in email notification

Posted: Wed Jan 04, 2012 2:07 pm
by raingary
We are doing website URL monitoring by using check_http plugin and passing arguments for port and URL with -p and -u option.Now for any service we want to have the full URL like http://<servername>:<port>/URL in the email notification whenever we get Nagios notifications.
Can someone suggest a way how I can save the arguments passed in check_http plugin for any service and fetch those same values in the email notification.
I saw the notify_service_mail plugin but unable to understand how to save the arguments for port and URL in MACROS.