I need to show the service threshold values (-w ARG1 and -c ARG2) for WARNING
and CRITICAL
state in the alert mail body.
Along with the SERVICESTATE
and SERVICEOUTPUT
mail recipients will get better understanding on what exactly is the threshold set for the service.
Tried following line in the mail body of commands.conf file. "Service threshold for WARNING at $ARG1$ and CRITICAL at $ARG$"
It didnt work. Please help with any means to fetch the threshold values.
Note: All Hosts and Services are monitored via NRPE host agent with commands and thresholds mentioned in the local nrpe.conf file. Nagios version: 4.3 core