Re: How to know the host problem id and service problem id i
Posted: Fri Feb 23, 2018 12:37 pm
I understand your example, and you could enter $HOSTPROBLEMID$ and $SERVICEPROBLEMID$ to the commands, but these macros do not contain a list of all problems, just the current problem state. Here's the documentation:
https://assets.nagios.com/downloads/nag ... tproblemid
There is no macro that is available that holds the historical values for all checks of each host/service, which is why I directed you to the State History report because it does contain this information.
https://assets.nagios.com/downloads/nag ... tproblemid
There is no macro that is available that holds the historical values for all checks of each host/service, which is why I directed you to the State History report because it does contain this information.