icinga

Icinga2 API client in Go
git clone https://git.olowe.co/icinga
Log | Files | Refs | README | LICENSE

VuS9jZ8u.example.org (3421B)


      1 {
      2     "results": [
      3         {
      4             "attrs": {
      5                 "__name": "VuS9jZ8u.example.org",
      6                 "acknowledgement": 1,
      7                 "acknowledgement_expiry": 0,
      8                 "acknowledgement_last_change": 0,
      9                 "action_url": "",
     10                 "active": true,
     11                 "address": "",
     12                 "address6": "",
     13                 "check_attempt": 1,
     14                 "check_command": "hostalive",
     15                 "check_interval": 300,
     16                 "check_period": "",
     17                 "check_timeout": null,
     18                 "command_endpoint": "",
     19                 "display_name": "VuS9jZ8u.example.org",
     20                 "downtime_depth": 0,
     21                 "enable_active_checks": true,
     22                 "enable_event_handler": true,
     23                 "enable_flapping": false,
     24                 "enable_notifications": true,
     25                 "enable_passive_checks": true,
     26                 "enable_perfdata": true,
     27                 "event_command": "",
     28                 "executions": null,
     29                 "flapping": false,
     30                 "flapping_current": 0,
     31                 "flapping_ignore_states": null,
     32                 "flapping_last_change": 0,
     33                 "flapping_threshold": 0,
     34                 "flapping_threshold_high": 30,
     35                 "flapping_threshold_low": 25,
     36                 "force_next_check": false,
     37                 "force_next_notification": false,
     38                 "groups": [],
     39                 "ha_mode": 0,
     40                 "handled": false,
     41                 "icon_image": "",
     42                 "icon_image_alt": "",
     43                 "last_check": -1,
     44                 "last_check_result": null,
     45                 "last_hard_state": 1,
     46                 "last_hard_state_change": 1641607863.315727,
     47                 "last_reachable": true,
     48                 "last_state": 1,
     49                 "last_state_change": 1641607863.315727,
     50                 "last_state_down": 0,
     51                 "last_state_type": 0,
     52                 "last_state_unreachable": 0,
     53                 "last_state_up": 0,
     54                 "max_check_attempts": 3,
     55                 "name": "VuS9jZ8u.example.org",
     56                 "next_check": 1641614556.854738,
     57                 "next_update": 1641614856.854738,
     58                 "notes": "",
     59                 "notes_url": "",
     60                 "original_attributes": null,
     61                 "package": "_api",
     62                 "paused": false,
     63                 "previous_state_change": 1641607863.315727,
     64                 "problem": false,
     65                 "retry_interval": 60,
     66                 "severity": 16,
     67                 "source_location": {
     68                     "first_column": 0,
     69                     "first_line": 1,
     70                     "last_column": 33,
     71                     "last_line": 1,
     72                     "path": "/var/lib/icinga2/api/packages/_api/19602f4d-849c-4589-a9fe-cc1c71790f3c/conf.d/hosts/VuS9jZ8u.example.org.conf"
     73                 },
     74                 "state": 1,
     75                 "state_type": 0,
     76                 "templates": [
     77                     "VuS9jZ8u.example.org"
     78                 ],
     79                 "type": "Host",
     80                 "vars": null,
     81                 "version": 1641608345.032706,
     82                 "volatile": false,
     83                 "zone": "alpine.olowe.co"
     84             },
     85             "joins": {},
     86             "meta": {},
     87             "name": "VuS9jZ8u.example.org",
     88             "type": "Host"
     89         }
     90     ]
     91 }