NagiosXI servicenow ITOM integration
Posted: Tue Oct 06, 2020 4:20 am
Hi
Our Nagios architecture is based on Federate Monitoring, so we have one Nagios XI server that receive alarms from different distributed Nagios Core servers.
On top of this architecture there is ServiceNow ITOM, that collect alarms from Nagios XI using this connector:
https://docs.servicenow.com/bundle/pari ... ector.html
This connector is based on the API requests statehistory that has the JSON payload reported below.
So I have this question:
Considering that ITOM connector is using statehistory API, how can I send to ITOM an information, so it can understand the alarms is coming from a specific Nagios core server ? (something like a tenant identifier)
API objects/statehistory
{
"recordcount": 1,
"stateentry": [
{
"host_name": "localhost,
"service_description": "CPU Usage",
"objecttype_id": "2",
"object_id": "171",
"state_time": "2020-04-06 09:47:03",
"state_change": "1",
"state": "0",
"state_type": "0",
"current_check_attempt": "3",
"max_check_attempts": "5",
"last_state": "1",
"last_hard_state": "0",
"instance_id": "1",
"output": "OK: Percent was 2.16 %"
}
]
}
Thanks and Regards
Antonello
Our Nagios architecture is based on Federate Monitoring, so we have one Nagios XI server that receive alarms from different distributed Nagios Core servers.
On top of this architecture there is ServiceNow ITOM, that collect alarms from Nagios XI using this connector:
https://docs.servicenow.com/bundle/pari ... ector.html
This connector is based on the API requests statehistory that has the JSON payload reported below.
So I have this question:
Considering that ITOM connector is using statehistory API, how can I send to ITOM an information, so it can understand the alarms is coming from a specific Nagios core server ? (something like a tenant identifier)
API objects/statehistory
{
"recordcount": 1,
"stateentry": [
{
"host_name": "localhost,
"service_description": "CPU Usage",
"objecttype_id": "2",
"object_id": "171",
"state_time": "2020-04-06 09:47:03",
"state_change": "1",
"state": "0",
"state_type": "0",
"current_check_attempt": "3",
"max_check_attempts": "5",
"last_state": "1",
"last_hard_state": "0",
"instance_id": "1",
"output": "OK: Percent was 2.16 %"
}
]
}
Thanks and Regards
Antonello