Hello Team
We have websites that are being monitored over time and alert us in email if site is down
for example:
HOSTADDRESS= www.test.com
$USER1$/check_http -H $HOSTADDRESS$ $ARG1$ -t 120
$ARG1$ = -f ok -u '/test/default.aspx' -S -p 443
How can we add the argument parameter in the email notification send out to the team so that they can validate access to the page right away? For example the email will reconstruct the full url with the values in HOSTADDRESS & argument -> %hostaddress%/test/default.aspx
Currently it is set the default way as mentioned below
***** Nagios XI Alert *****
%alertsummary%
Notification Type: %type%
Service: %service%
Host: %host%
Address: %hostaddress%
State: %servicestate%
Info: %serviceoutput%
Date/Time: %datetime%
Respond: %responseurl%
Nagios URL: %xiserverurl%
Thanks
Insurity
Email Notification website address and arguments in Email
Re: Email Notification website address and arguments in Emai
You may want to define a macro for that purpose.
Please have a look at our documentation on the subject.
MACROS DOCUMENT
Please have a look at our documentation on the subject.
MACROS DOCUMENT
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!