icinga

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

test (1216B)


      1 {
      2     "results": [
      3         {
      4             "attrs": {
      5                 "__name": "test",
      6                 "active": true,
      7                 "display_name": "test",
      8                 "email": "test@example.com",
      9                 "enable_notifications": true,
     10                 "groups": [],
     11                 "ha_mode": 0,
     12                 "last_notification": 0,
     13                 "name": "test",
     14                 "original_attributes": null,
     15                 "package": "_etc",
     16                 "pager": "",
     17                 "paused": false,
     18                 "period": "",
     19                 "source_location": {
     20                     "first_column": 1,
     21                     "first_line": 56,
     22                     "last_column": 18,
     23                     "last_line": 56,
     24                     "path": "/etc/icinga2/conf.d/ye.conf"
     25                 },
     26                 "states": null,
     27                 "templates": [
     28                     "test"
     29                 ],
     30                 "type": "User",
     31                 "types": null,
     32                 "vars": null,
     33                 "version": 0,
     34                 "zone": ""
     35             },
     36             "joins": {},
     37             "meta": {},
     38             "name": "test",
     39             "type": "User"
     40         }
     41     ]
     42 }