Unique ID for a Service
Posted: Wed Jul 15, 2015 1:32 am
Does Nagios have any macros that uniquely identifies a service for a particular host?
Eg:
Host A - CPU Check ID = 100
Host B - CPU Check ID = 200
Host B - Mem Check ID = 500
etc
We need to automate creating of ticket in ITSM software and we are still figuring out what is the best way to avoid creating duplicate tickets for the same event.
Right now looking into these macros below.
$HOSTEVENTID$
$LASTHOSTEVENTID$
$HOSTPROBLEMID$
$LASTHOSTPROBLEMID$
$SERVICEEVENTID$
$LASTSERVICEEVENTID$
$SERVICEPROBLEMID$
$LASTSERVICEPROBLEMID$
$HOSTNOTIFICATIONID$
$SERVICENOTIFICATIONNUMBER$
$SERVICENOTIFICATIONID$
Thanks
Eg:
Host A - CPU Check ID = 100
Host B - CPU Check ID = 200
Host B - Mem Check ID = 500
etc
We need to automate creating of ticket in ITSM software and we are still figuring out what is the best way to avoid creating duplicate tickets for the same event.
Right now looking into these macros below.
$HOSTEVENTID$
$LASTHOSTEVENTID$
$HOSTPROBLEMID$
$LASTHOSTPROBLEMID$
$SERVICEEVENTID$
$LASTSERVICEEVENTID$
$SERVICEPROBLEMID$
$LASTSERVICEPROBLEMID$
$HOSTNOTIFICATIONID$
$SERVICENOTIFICATIONNUMBER$
$SERVICENOTIFICATIONID$
Thanks