Service Description for Host Check
Posted: Tue Jan 07, 2020 9:14 am
Is it possible to populate the service_description field in the objects/statehistory api for host checks?
Instead of the service_description being blank, we are looking to populate it. In the CCM Host Management there is no description field to fill out that could potentially populate this field. Is there a way to do so?
Example from object/statehistory api:
{
"instance_id": "1",
"state_time": "2020-01-06 11:32:06",
"object_id": "13247",
"objecttype_id": "1",
"host_name": "[remotehost]",
"service_description": {
},
"state_change": "1",
"state": "0",
"state_type": "0",
"current_check_attempt": "1",
"max_check_attempts": "5",
"last_state": "0",
"last_hard_state": "-1",
"output": "HTTP OK: HTTP\/1.1 200 OK - 133 bytes in 0.332 second response time"
},
Instead of the service_description being blank, we are looking to populate it. In the CCM Host Management there is no description field to fill out that could potentially populate this field. Is there a way to do so?
Example from object/statehistory api:
{
"instance_id": "1",
"state_time": "2020-01-06 11:32:06",
"object_id": "13247",
"objecttype_id": "1",
"host_name": "[remotehost]",
"service_description": {
},
"state_change": "1",
"state": "0",
"state_type": "0",
"current_check_attempt": "1",
"max_check_attempts": "5",
"last_state": "0",
"last_hard_state": "-1",
"output": "HTTP OK: HTTP\/1.1 200 OK - 133 bytes in 0.332 second response time"
},