Untitled diff

Created Diff never expires
24 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
139 lines
24 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
139 lines
{
{
"results": [
"results": [
{
{
"attrs": {
"attrs": {
"__name": "3",
"__name": "1",
"acknowledgement": 0,
"acknowledgement": 0,
"acknowledgement_expiry": 0,
"acknowledgement_expiry": 0,
"action_url": "",
"action_url": "",
"active": true,
"active": true,
"address": "10.0.0.3",
"address": "10.0.0.1",
"address6": "",
"address6": "",
"check_attempt": 1,
"check_attempt": 1,
"check_command": "ping4",
"check_command": "ping4",
"check_interval": 30,
"check_interval": 30,
"check_period": "",
"check_period": "",
"check_timeout": null,
"check_timeout": null,
"command_endpoint": "",
"command_endpoint": "",
"display_name": "downstream",
"display_name": "upstream",
"downtime_depth": 0,
"downtime_depth": 0,
"enable_active_checks": true,
"enable_active_checks": true,
"enable_event_handler": true,
"enable_event_handler": true,
"enable_flapping": true,
"enable_flapping": true,
"enable_notifications": true,
"enable_notifications": true,
"enable_passive_checks": true,
"enable_passive_checks": true,
"enable_perfdata": true,
"enable_perfdata": true,
"event_command": "",
"event_command": "",
"flapping": false,
"flapping": false,
"flapping_current": 0,
"flapping_current": 0,
"flapping_last_change": 1515772203.052052,
"flapping_last_change": 1515772187.999049,
"flapping_threshold": 0,
"flapping_threshold": 0,
"flapping_threshold_high": 30,
"flapping_threshold_high": 30,
"flapping_threshold_low": 25,
"flapping_threshold_low": 25,
"force_next_check": false,
"force_next_check": false,
"force_next_notification": false,
"force_next_notification": false,
"groups": [
"groups": [
"hosts-priority-high"
"hosts-priority-high"
],
],
"ha_mode": 0,
"ha_mode": 0,
"icon_image": "",
"icon_image": "",
"icon_image_alt": "",
"icon_image_alt": "",
"last_check": 1545096024.779654,
"last_check": 1545147142.964792,
"last_check_result": {
"last_check_result": {
"active": true,
"active": true,
"check_source": "tooling1.ie1.aws.telcom.network",
"check_source": "example.telcom.network",
"command": [
"command": [
"/usr/lib64/nagios/plugins/check_ping",
"/usr/lib64/nagios/plugins/check_ping",
"-4",
"-4",
"-H",
"-H",
"10.0.0.3",
"10.0.0.1",
"-c",
"-c",
"5000,100%",
"5000,100%",
"-p",
"-p",
"5",
"5",
"-w",
"-w",
"500,100%"
"500,100%"
],
],
"execution_end": 1545096024.779608,
"execution_end": 1545147142.964745,
"execution_start": 1545096020.74619,
"execution_start": 1545147138.899051,
"exit_status": 0,
"exit_status": 0,
"output": "PING OK - Packet loss = 0%, RTA = 19.74 ms",
"output": "PING OK - Packet loss = 0%, RTA = 19.76 ms",
"performance_data": [
"performance_data": [
"rta=19.742001ms;500.000000;5000.000000;0.000000",
"rta=19.764000ms;500.000000;5000.000000;0.000000",
"pl=0%;100;100;0"
"pl=0%;100;100;0"
],
],
"schedule_end": 1545096024.779654,
"schedule_end": 1545147142.964792,
"schedule_start": 1545096020.745869,
"schedule_start": 1545147138.898834,
"state": 0,
"state": 0,
"type": "CheckResult",
"type": "CheckResult",
"vars_after": {
"vars_after": {
"attempt": 1,
"attempt": 1,
"reachable": true,
"reachable": true,
"state": 0,
"state": 0,
"state_type": 1
"state_type": 1
},
},
"vars_before": {
"vars_before": {
"attempt": 1,
"attempt": 1,
"reachable": true,
"reachable": true,
"state": 0,
"state": 0,
"state_type": 1
"state_type": 1
}
}
},
},
"last_hard_state": 0,
"last_hard_state": 0,
"last_hard_state_change": 1544816401.983204,
"last_hard_state_change": 1543767614.895743,
"last_reachable": true,
"last_reachable": true,
"last_state": 0,
"last_state": 0,
"last_state_change": 1544816401.983204,
"last_state_change": 1543767614.895743,
"last_state_down": 1544816260.430792,
"last_state_down": 1543767571.591759,
"last_state_type": 1,
"last_state_type": 1,
"last_state_unreachable": 1543767570.038673,
"last_state_unreachable": 1542931760.048542,
"last_state_up": 1545096024.779696,
"last_state_up": 1545147142.964821,
"max_check_attempts": 3,
"max_check_attempts": 3,
"name": "3",
"name": "1",
"next_check": 1545147302.29,
"next_check": 1545147172.394853,
"notes": "",
"notes": "",
"notes_url": "",
"notes_url": "",
"original_attributes": null,
"original_attributes": null,
"package": "_etc",
"package": "_etc",
"paused": false,
"paused": false,
"retry_interval": 10,
"retry_interval": 10,
"severity": 8,
"severity": 8,
"source_location": {
"source_location": {
"first_column": 1,
"first_column": 1,
"first_line": 7081,
"first_line": 7109,
"last_column": 18,
"last_column": 18,
"last_line": 7081,
"last_line": 7109,
"path": "/etc/icinga2/zones.d/masters/hosts.conf"
"path": "/etc/icinga2/zones.d/masters/hosts.conf"
},
},
"state": 0,
"state": 0,
"state_type": 1,
"state_type": 1,
"templates": [
"templates": [
"3",
"1",
"host-priority-high"
"host-priority-high"
],
],
"type": "Host",
"type": "Host",
"vars": {
"vars": {
"location_id": "8",
"location_id": "8",
"location_name": "UK",
"location_name": "UK",
"ping_cpl": 100,
"ping_cpl": 100,
"ping_crta": 5000,
"ping_crta": 5000,
"ping_packets": 5,
"ping_packets": 5,
"ping_wpl": 100,
"ping_wpl": 100,
"ping_wrta": 500,
"ping_wrta": 500,
"priority": 2,
"priority": 2,
"priority_str": "P2 - High",
"priority_str": "P2 - High",
"sla": "24x7",
"sla": "24x7",
"subnet_id": "310"
"subnet_id": "310"
},
},
"version": 0,
"version": 0,
"volatile": false,
"volatile": false,
"zone": "masters"
"zone": "masters"
},
},
"joins": {},
"joins": {},
"meta": {},
"meta": {},
"name": "3",
"name": "1",
"type": "Host"
"type": "Host"
}
}
]
]
}
}