Hi
I'm issuing a "problem.get" api call and I get the result.
One of the properties in the result is objectid, which holds the id of the relevant host.
How can I translate the Id to its hostname?
Thanks in advance.
Example output:
eventid : 926
source : 0
object : 0
objectid : 19836
clock : 1639898475
ns : 415548935
r_eventid : 0
r_clock : 0
r_ns : 0
correlationid : 0
userid : 0
name : "BITS" (Background Intelligent Transfer Service) is not running (startup type automatic delayed)
acknowledged : 0
severity : 3
opdata :
suppressed : 0
urls : {}
I'm issuing a "problem.get" api call and I get the result.
One of the properties in the result is objectid, which holds the id of the relevant host.
How can I translate the Id to its hostname?
Thanks in advance.
Example output:
eventid : 926
source : 0
object : 0
objectid : 19836
clock : 1639898475
ns : 415548935
r_eventid : 0
r_clock : 0
r_ns : 0
correlationid : 0
userid : 0
name : "BITS" (Background Intelligent Transfer Service) is not running (startup type automatic delayed)
acknowledged : 0
severity : 3
opdata :
suppressed : 0
urls : {}
Comment