Hi there,
I’m wondering if it is possible to hand over the object_id in an check command?
Or is it possible to access it without an SQL query?
Regards,
Basit
Hi there,
I’m wondering if it is possible to hand over the object_id in an check command?
Or is it possible to access it without an SQL query?
Regards,
Basit
Hi,
the object_id only exists in the database context, not when a check is executed. Also, when the IDO feature is disabled, it doesn’t exist.
What’s the idea behind this question?
Cheers,
Michael
Hi Michael,
basically we wanted to remember on our middleware for which object a check command was executed and store the object_id locally in our database.
If it is not possible as you said we will use host name and service name instead 
Regards,
Basit
Hi,
yep, better go with host_name and service_name tuples. Your middleware might just store a calculated hash from it for instance, making this an “object id”.
Cheers,
Michael
Hi @dnsmichi,
that’s a nice idea. Thank you! 