Where does the Problem ID data gets stored
Posted: Fri Feb 24, 2017 5:33 am
Hello Experts,
Below 2 macros I am working with
$HOSTPROBLEMID$ A globally unique number associated with the host's current problem state. Every time a host (or service) transitions from an UP or OK state to a problem state, a global problem ID number is incremented by one (1). This macro will be non-zero if the host is currently a non-UP state. State transitions between non-UP states (e.g. DOWN to UNREACHABLE) do not cause this problem id to increase. If the host is currently in an UP state, this macro will be set to zero (0). Combined with event handlers, this macro could be used to automatically open trouble tickets when hosts first enter a problem state.
$LASTHOSTPROBLEMID$ The previous (globally unique) problem number that was given to the host. Combined with event handlers, this macro could be used for automatically closing trouble tickets, etc. when a host recovers to an UP state.
Where is the $LASTHOSTPROBLEMID$ stored? where is the value for this stored against a specific service. Can you please let me know this is very urgent.
Thanks,
Yunus Shaikh.
Below 2 macros I am working with
$HOSTPROBLEMID$ A globally unique number associated with the host's current problem state. Every time a host (or service) transitions from an UP or OK state to a problem state, a global problem ID number is incremented by one (1). This macro will be non-zero if the host is currently a non-UP state. State transitions between non-UP states (e.g. DOWN to UNREACHABLE) do not cause this problem id to increase. If the host is currently in an UP state, this macro will be set to zero (0). Combined with event handlers, this macro could be used to automatically open trouble tickets when hosts first enter a problem state.
$LASTHOSTPROBLEMID$ The previous (globally unique) problem number that was given to the host. Combined with event handlers, this macro could be used for automatically closing trouble tickets, etc. when a host recovers to an UP state.
Where is the $LASTHOSTPROBLEMID$ stored? where is the value for this stored against a specific service. Can you please let me know this is very urgent.
Thanks,
Yunus Shaikh.