icinga

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

services.json (29386B)


      1 {
      2     "results": [
      3         {
      4             "attrs": {
      5                 "__name": "9p.io!http_test",
      6                 "acknowledgement": 0,
      7                 "acknowledgement_expiry": 0,
      8                 "acknowledgement_last_change": 0,
      9                 "action_url": "",
     10                 "active": true,
     11                 "check_attempt": 1,
     12                 "check_command": "http",
     13                 "check_interval": 300,
     14                 "check_period": "",
     15                 "check_timeout": null,
     16                 "command_endpoint": "",
     17                 "display_name": "Plan 9 Mirror site",
     18                 "downtime_depth": 0,
     19                 "enable_active_checks": true,
     20                 "enable_event_handler": true,
     21                 "enable_flapping": false,
     22                 "enable_notifications": true,
     23                 "enable_passive_checks": true,
     24                 "enable_perfdata": true,
     25                 "event_command": "",
     26                 "executions": null,
     27                 "flapping": false,
     28                 "flapping_current": 21.4,
     29                 "flapping_ignore_states": null,
     30                 "flapping_last_change": 1642495293.180023,
     31                 "flapping_threshold": 0,
     32                 "flapping_threshold_high": 30,
     33                 "flapping_threshold_low": 25,
     34                 "force_next_check": false,
     35                 "force_next_notification": false,
     36                 "groups": [],
     37                 "ha_mode": 0,
     38                 "handled": true,
     39                 "host_name": "9p.io",
     40                 "icon_image": "",
     41                 "icon_image_alt": "",
     42                 "last_check": 1642495293.180141,
     43                 "last_check_result": {
     44                     "active": true,
     45                     "check_source": "alpine.olowe.co",
     46                     "command": [
     47                         "/usr/lib/monitoring-plugins/check_http",
     48                         "-I",
     49                         "9p.io"
     50                     ],
     51                     "execution_end": 1642495293.180023,
     52                     "execution_start": 1642495292.485154,
     53                     "exit_status": 0,
     54                     "output": "HTTP OK: HTTP/1.1 200 OK - 1714 bytes in 0.693 second response time ",
     55                     "performance_data": [
     56                         "time=0.692599s;;;0.000000;10.000000",
     57                         "size=1714B;;;0"
     58                     ],
     59                     "schedule_end": 1642495293.180141,
     60                     "schedule_start": 1642495292.48,
     61                     "scheduling_source": "alpine.olowe.co",
     62                     "state": 0,
     63                     "ttl": 0,
     64                     "type": "CheckResult",
     65                     "vars_after": {
     66                         "attempt": 1,
     67                         "reachable": false,
     68                         "state": 0,
     69                         "state_type": 1
     70                     },
     71                     "vars_before": {
     72                         "attempt": 1,
     73                         "reachable": false,
     74                         "state": 0,
     75                         "state_type": 1
     76                     }
     77                 },
     78                 "last_hard_state": 0,
     79                 "last_hard_state_change": 1642491111.2022,
     80                 "last_reachable": false,
     81                 "last_state": 0,
     82                 "last_state_change": 1642491111.2022,
     83                 "last_state_critical": 1642491042.398463,
     84                 "last_state_ok": 1642495293.180023,
     85                 "last_state_type": 1,
     86                 "last_state_unknown": 0,
     87                 "last_state_unreachable": 1642495293.180023,
     88                 "last_state_warning": 0,
     89                 "max_check_attempts": 3,
     90                 "name": "http_test",
     91                 "next_check": 1642495583.510205,
     92                 "next_update": 1642495884.910251,
     93                 "notes": "",
     94                 "notes_url": "",
     95                 "original_attributes": null,
     96                 "package": "_api",
     97                 "paused": false,
     98                 "previous_state_change": 1642491111.2022,
     99                 "problem": false,
    100                 "retry_interval": 60,
    101                 "severity": 0,
    102                 "source_location": {
    103                     "first_column": 0,
    104                     "first_line": 1,
    105                     "last_column": 25,
    106                     "last_line": 1,
    107                     "path": "/var/lib/icinga2/api/packages/_api/19602f4d-849c-4589-a9fe-cc1c71790f3c/conf.d/services/9p.io!http_test.conf"
    108                 },
    109                 "state": 0,
    110                 "state_type": 1,
    111                 "templates": [
    112                     "http_test"
    113                 ],
    114                 "type": "Service",
    115                 "vars": null,
    116                 "version": 1641624438.058955,
    117                 "volatile": false,
    118                 "zone": "alpine.olowe.co"
    119             },
    120             "joins": {},
    121             "meta": {},
    122             "name": "9p.io!http_test",
    123             "type": "Service"
    124         },
    125         {
    126             "attrs": {
    127                 "__name": "google.com!ping",
    128                 "acknowledgement": 0,
    129                 "acknowledgement_expiry": 0,
    130                 "acknowledgement_last_change": 0,
    131                 "action_url": "",
    132                 "active": true,
    133                 "check_attempt": 1,
    134                 "check_command": "ping",
    135                 "check_interval": 60,
    136                 "check_period": "",
    137                 "check_timeout": null,
    138                 "command_endpoint": "",
    139                 "display_name": "ping",
    140                 "downtime_depth": 0,
    141                 "enable_active_checks": true,
    142                 "enable_event_handler": true,
    143                 "enable_flapping": false,
    144                 "enable_notifications": true,
    145                 "enable_passive_checks": true,
    146                 "enable_perfdata": true,
    147                 "event_command": "",
    148                 "executions": null,
    149                 "flapping": false,
    150                 "flapping_current": 0,
    151                 "flapping_ignore_states": null,
    152                 "flapping_last_change": 1642484989.400779,
    153                 "flapping_threshold": 0,
    154                 "flapping_threshold_high": 30,
    155                 "flapping_threshold_low": 25,
    156                 "force_next_check": false,
    157                 "force_next_notification": false,
    158                 "groups": [],
    159                 "ha_mode": 0,
    160                 "handled": true,
    161                 "host_name": "google.com",
    162                 "icon_image": "",
    163                 "icon_image_alt": "",
    164                 "last_check": 1642495247.470693,
    165                 "last_check_result": {
    166                     "active": true,
    167                     "check_source": "alpine.olowe.co",
    168                     "command": [
    169                         "/usr/lib/monitoring-plugins/check_ping",
    170                         "-H",
    171                         "google.com",
    172                         "-c",
    173                         "200,15%",
    174                         "-w",
    175                         "100,5%"
    176                     ],
    177                     "execution_end": 1642495247.470578,
    178                     "execution_start": 1642495236.419897,
    179                     "exit_status": 2,
    180                     "output": "CRITICAL - Plugin timed out after 10 seconds",
    181                     "performance_data": [],
    182                     "schedule_end": 1642495247.470693,
    183                     "schedule_start": 1642495236.413627,
    184                     "scheduling_source": "alpine.olowe.co",
    185                     "state": 2,
    186                     "ttl": 0,
    187                     "type": "CheckResult",
    188                     "vars_after": {
    189                         "attempt": 1,
    190                         "reachable": false,
    191                         "state": 2,
    192                         "state_type": 1
    193                     },
    194                     "vars_before": {
    195                         "attempt": 1,
    196                         "reachable": false,
    197                         "state": 2,
    198                         "state_type": 1
    199                     }
    200                 },
    201                 "last_hard_state": 2,
    202                 "last_hard_state_change": 1642492967.825117,
    203                 "last_reachable": false,
    204                 "last_state": 2,
    205                 "last_state_change": 1642492967.825117,
    206                 "last_state_critical": 1642495247.470578,
    207                 "last_state_ok": 0,
    208                 "last_state_type": 1,
    209                 "last_state_unknown": 1642492879.078709,
    210                 "last_state_unreachable": 1642495247.470578,
    211                 "last_state_warning": 0,
    212                 "max_check_attempts": 5,
    213                 "name": "ping",
    214                 "next_check": 1642495365.432228,
    215                 "next_update": 1642495447.5461302,
    216                 "notes": "",
    217                 "notes_url": "",
    218                 "original_attributes": null,
    219                 "package": "_etc",
    220                 "paused": false,
    221                 "previous_state_change": 1642492967.825117,
    222                 "problem": true,
    223                 "retry_interval": 30,
    224                 "severity": 1152,
    225                 "source_location": {
    226                     "first_column": 1,
    227                     "first_line": 49,
    228                     "last_column": 20,
    229                     "last_line": 49,
    230                     "path": "/etc/icinga2/conf.d/ye.conf"
    231                 },
    232                 "state": 2,
    233                 "state_type": 1,
    234                 "templates": [
    235                     "ping",
    236                     "generic-service"
    237                 ],
    238                 "type": "Service",
    239                 "vars": null,
    240                 "version": 0,
    241                 "volatile": false,
    242                 "zone": ""
    243             },
    244             "joins": {},
    245             "meta": {},
    246             "name": "google.com!ping",
    247             "type": "Service"
    248         },
    249         {
    250             "attrs": {
    251                 "__name": "9p.io!ping",
    252                 "acknowledgement": 0,
    253                 "acknowledgement_expiry": 0,
    254                 "acknowledgement_last_change": 0,
    255                 "action_url": "",
    256                 "active": true,
    257                 "check_attempt": 1,
    258                 "check_command": "ping",
    259                 "check_interval": 60,
    260                 "check_period": "",
    261                 "check_timeout": null,
    262                 "command_endpoint": "",
    263                 "display_name": "ping",
    264                 "downtime_depth": 0,
    265                 "enable_active_checks": true,
    266                 "enable_event_handler": true,
    267                 "enable_flapping": false,
    268                 "enable_notifications": true,
    269                 "enable_passive_checks": true,
    270                 "enable_perfdata": true,
    271                 "event_command": "",
    272                 "executions": null,
    273                 "flapping": false,
    274                 "flapping_current": 0,
    275                 "flapping_ignore_states": null,
    276                 "flapping_last_change": 1642485044.430574,
    277                 "flapping_threshold": 0,
    278                 "flapping_threshold_high": 30,
    279                 "flapping_threshold_low": 25,
    280                 "force_next_check": false,
    281                 "force_next_notification": false,
    282                 "groups": [],
    283                 "ha_mode": 0,
    284                 "handled": true,
    285                 "host_name": "9p.io",
    286                 "icon_image": "",
    287                 "icon_image_alt": "",
    288                 "last_check": 1642495312.470173,
    289                 "last_check_result": {
    290                     "active": true,
    291                     "check_source": "alpine.olowe.co",
    292                     "command": [
    293                         "/usr/lib/monitoring-plugins/check_ping",
    294                         "-H",
    295                         "9p.io",
    296                         "-c",
    297                         "200,15%",
    298                         "-w",
    299                         "100,5%"
    300                     ],
    301                     "execution_end": 1642495312.470065,
    302                     "execution_start": 1642495302.422573,
    303                     "exit_status": 2,
    304                     "output": "PING CRITICAL - Packet loss = 100%",
    305                     "performance_data": [
    306                         "rta=200.000000ms;100.000000;200.000000;0.000000",
    307                         "pl=100%;5;15;0"
    308                     ],
    309                     "schedule_end": 1642495312.470173,
    310                     "schedule_start": 1642495302.4164212,
    311                     "scheduling_source": "alpine.olowe.co",
    312                     "state": 2,
    313                     "ttl": 0,
    314                     "type": "CheckResult",
    315                     "vars_after": {
    316                         "attempt": 1,
    317                         "reachable": false,
    318                         "state": 2,
    319                         "state_type": 1
    320                     },
    321                     "vars_before": {
    322                         "attempt": 1,
    323                         "reachable": false,
    324                         "state": 2,
    325                         "state_type": 1
    326                     }
    327                 },
    328                 "last_hard_state": 2,
    329                 "last_hard_state_change": 1642492628.221177,
    330                 "last_reachable": false,
    331                 "last_state": 2,
    332                 "last_state_change": 1642492628.221177,
    333                 "last_state_critical": 1642495312.470065,
    334                 "last_state_ok": 0,
    335                 "last_state_type": 1,
    336                 "last_state_unknown": 1642492530.853331,
    337                 "last_state_unreachable": 1642495312.470065,
    338                 "last_state_warning": 0,
    339                 "max_check_attempts": 5,
    340                 "name": "ping",
    341                 "next_check": 1642495370.410216,
    342                 "next_update": 1642495450.517504,
    343                 "notes": "",
    344                 "notes_url": "",
    345                 "original_attributes": null,
    346                 "package": "_etc",
    347                 "paused": false,
    348                 "previous_state_change": 1642492628.221177,
    349                 "problem": true,
    350                 "retry_interval": 30,
    351                 "severity": 1152,
    352                 "source_location": {
    353                     "first_column": 1,
    354                     "first_line": 49,
    355                     "last_column": 20,
    356                     "last_line": 49,
    357                     "path": "/etc/icinga2/conf.d/ye.conf"
    358                 },
    359                 "state": 2,
    360                 "state_type": 1,
    361                 "templates": [
    362                     "ping",
    363                     "generic-service"
    364                 ],
    365                 "type": "Service",
    366                 "vars": null,
    367                 "version": 0,
    368                 "volatile": false,
    369                 "zone": ""
    370             },
    371             "joins": {},
    372             "meta": {},
    373             "name": "9p.io!ping",
    374             "type": "Service"
    375         },
    376         {
    377             "attrs": {
    378                 "__name": "google.com!http",
    379                 "acknowledgement": 0,
    380                 "acknowledgement_expiry": 0,
    381                 "acknowledgement_last_change": 0,
    382                 "action_url": "",
    383                 "active": true,
    384                 "check_attempt": 1,
    385                 "check_command": "http",
    386                 "check_interval": 60,
    387                 "check_period": "",
    388                 "check_timeout": null,
    389                 "command_endpoint": "",
    390                 "display_name": "http",
    391                 "downtime_depth": 0,
    392                 "enable_active_checks": true,
    393                 "enable_event_handler": true,
    394                 "enable_flapping": false,
    395                 "enable_notifications": true,
    396                 "enable_passive_checks": true,
    397                 "enable_perfdata": true,
    398                 "event_command": "",
    399                 "executions": null,
    400                 "flapping": true,
    401                 "flapping_current": 61.30000000000001,
    402                 "flapping_ignore_states": null,
    403                 "flapping_last_change": 1642473965.500139,
    404                 "flapping_threshold": 0,
    405                 "flapping_threshold_high": 30,
    406                 "flapping_threshold_low": 25,
    407                 "force_next_check": false,
    408                 "force_next_notification": false,
    409                 "groups": [],
    410                 "ha_mode": 0,
    411                 "handled": true,
    412                 "host_name": "google.com",
    413                 "icon_image": "",
    414                 "icon_image_alt": "",
    415                 "last_check": 1642495295.533075,
    416                 "last_check_result": {
    417                     "active": true,
    418                     "check_source": "alpine.olowe.co",
    419                     "command": [
    420                         "/usr/lib/monitoring-plugins/check_http",
    421                         "-I",
    422                         "google.com"
    423                     ],
    424                     "execution_end": 1642495295.532951,
    425                     "execution_start": 1642495295.198121,
    426                     "exit_status": 0,
    427                     "output": "HTTP OK: HTTP/1.0 200 OK - 14741 bytes in 0.333 second response time ",
    428                     "performance_data": [
    429                         "time=0.332556s;;;0.000000;10.000000",
    430                         "size=14741B;;;0"
    431                     ],
    432                     "schedule_end": 1642495295.533075,
    433                     "schedule_start": 1642495295.194311,
    434                     "scheduling_source": "alpine.olowe.co",
    435                     "state": 0,
    436                     "ttl": 0,
    437                     "type": "CheckResult",
    438                     "vars_after": {
    439                         "attempt": 1,
    440                         "reachable": false,
    441                         "state": 0,
    442                         "state_type": 1
    443                     },
    444                     "vars_before": {
    445                         "attempt": 1,
    446                         "reachable": false,
    447                         "state": 0,
    448                         "state_type": 1
    449                     }
    450                 },
    451                 "last_hard_state": 0,
    452                 "last_hard_state_change": 1642495062.249295,
    453                 "last_reachable": false,
    454                 "last_state": 0,
    455                 "last_state_change": 1642495062.249295,
    456                 "last_state_critical": 1642494666.56194,
    457                 "last_state_ok": 1642495295.532951,
    458                 "last_state_type": 1,
    459                 "last_state_unknown": 1642495040.576216,
    460                 "last_state_unreachable": 1642495295.532951,
    461                 "last_state_warning": 1642494954.127325,
    462                 "max_check_attempts": 5,
    463                 "name": "http",
    464                 "next_check": 1642495353.563125,
    465                 "next_update": 1642495414.2404053,
    466                 "notes": "",
    467                 "notes_url": "",
    468                 "original_attributes": null,
    469                 "package": "_etc",
    470                 "paused": false,
    471                 "previous_state_change": 1642495062.249295,
    472                 "problem": false,
    473                 "retry_interval": 30,
    474                 "severity": 0,
    475                 "source_location": {
    476                     "first_column": 1,
    477                     "first_line": 55,
    478                     "last_column": 20,
    479                     "last_line": 55,
    480                     "path": "/etc/icinga2/conf.d/ye.conf"
    481                 },
    482                 "state": 0,
    483                 "state_type": 1,
    484                 "templates": [
    485                     "http",
    486                     "generic-service"
    487                 ],
    488                 "type": "Service",
    489                 "vars": null,
    490                 "version": 0,
    491                 "volatile": false,
    492                 "zone": ""
    493             },
    494             "joins": {},
    495             "meta": {},
    496             "name": "google.com!http",
    497             "type": "Service"
    498         },
    499         {
    500             "attrs": {
    501                 "__name": "alpine.olowe.co!ping",
    502                 "acknowledgement": 0,
    503                 "acknowledgement_expiry": 0,
    504                 "acknowledgement_last_change": 0,
    505                 "action_url": "",
    506                 "active": true,
    507                 "check_attempt": 1,
    508                 "check_command": "ping",
    509                 "check_interval": 60,
    510                 "check_period": "",
    511                 "check_timeout": null,
    512                 "command_endpoint": "",
    513                 "display_name": "ping",
    514                 "downtime_depth": 0,
    515                 "enable_active_checks": true,
    516                 "enable_event_handler": true,
    517                 "enable_flapping": false,
    518                 "enable_notifications": true,
    519                 "enable_passive_checks": true,
    520                 "enable_perfdata": true,
    521                 "event_command": "",
    522                 "executions": null,
    523                 "flapping": false,
    524                 "flapping_current": 0,
    525                 "flapping_ignore_states": null,
    526                 "flapping_last_change": 1642475734.693114,
    527                 "flapping_threshold": 0,
    528                 "flapping_threshold_high": 30,
    529                 "flapping_threshold_low": 25,
    530                 "force_next_check": false,
    531                 "force_next_notification": false,
    532                 "groups": [],
    533                 "ha_mode": 0,
    534                 "handled": false,
    535                 "host_name": "alpine.olowe.co",
    536                 "icon_image": "",
    537                 "icon_image_alt": "",
    538                 "last_check": 1642495310.635926,
    539                 "last_check_result": {
    540                     "active": true,
    541                     "check_source": "alpine.olowe.co",
    542                     "command": [
    543                         "/usr/lib/monitoring-plugins/check_ping",
    544                         "-H",
    545                         "127.0.0.1",
    546                         "-c",
    547                         "200,15%",
    548                         "-w",
    549                         "100,5%"
    550                     ],
    551                     "execution_end": 1642495310.635805,
    552                     "execution_start": 1642495306.58951,
    553                     "exit_status": 0,
    554                     "output": "PING OK - Packet loss = 0%, RTA = 0.08 ms",
    555                     "performance_data": [
    556                         "rta=0.079000ms;100.000000;200.000000;0.000000",
    557                         "pl=0%;5;15;0"
    558                     ],
    559                     "schedule_end": 1642495310.635926,
    560                     "schedule_start": 1642495306.584778,
    561                     "scheduling_source": "alpine.olowe.co",
    562                     "state": 0,
    563                     "ttl": 0,
    564                     "type": "CheckResult",
    565                     "vars_after": {
    566                         "attempt": 1,
    567                         "reachable": true,
    568                         "state": 0,
    569                         "state_type": 1
    570                     },
    571                     "vars_before": {
    572                         "attempt": 1,
    573                         "reachable": true,
    574                         "state": 0,
    575                         "state_type": 1
    576                     }
    577                 },
    578                 "last_hard_state": 0,
    579                 "last_hard_state_change": 1642493596.265094,
    580                 "last_reachable": true,
    581                 "last_state": 0,
    582                 "last_state_change": 1642493596.265094,
    583                 "last_state_critical": 1642493534.064059,
    584                 "last_state_ok": 1642495310.635805,
    585                 "last_state_type": 1,
    586                 "last_state_unknown": 0,
    587                 "last_state_unreachable": 1642493596.265094,
    588                 "last_state_warning": 0,
    589                 "max_check_attempts": 5,
    590                 "name": "ping",
    591                 "next_check": 1642495368.635974,
    592                 "next_update": 1642495436.7380276,
    593                 "notes": "",
    594                 "notes_url": "",
    595                 "original_attributes": null,
    596                 "package": "_etc",
    597                 "paused": false,
    598                 "previous_state_change": 1642493596.265094,
    599                 "problem": false,
    600                 "retry_interval": 30,
    601                 "severity": 0,
    602                 "source_location": {
    603                     "first_column": 1,
    604                     "first_line": 49,
    605                     "last_column": 20,
    606                     "last_line": 49,
    607                     "path": "/etc/icinga2/conf.d/ye.conf"
    608                 },
    609                 "state": 0,
    610                 "state_type": 1,
    611                 "templates": [
    612                     "ping",
    613                     "generic-service"
    614                 ],
    615                 "type": "Service",
    616                 "vars": null,
    617                 "version": 0,
    618                 "volatile": false,
    619                 "zone": ""
    620             },
    621             "joins": {},
    622             "meta": {},
    623             "name": "alpine.olowe.co!ping",
    624             "type": "Service"
    625         },
    626         {
    627             "attrs": {
    628                 "__name": "9p.io!http",
    629                 "acknowledgement": 0,
    630                 "acknowledgement_expiry": 0,
    631                 "acknowledgement_last_change": 0,
    632                 "action_url": "",
    633                 "active": true,
    634                 "check_attempt": 1,
    635                 "check_command": "http",
    636                 "check_interval": 60,
    637                 "check_period": "",
    638                 "check_timeout": null,
    639                 "command_endpoint": "",
    640                 "display_name": "http",
    641                 "downtime_depth": 0,
    642                 "enable_active_checks": true,
    643                 "enable_event_handler": true,
    644                 "enable_flapping": false,
    645                 "enable_notifications": true,
    646                 "enable_passive_checks": true,
    647                 "enable_perfdata": true,
    648                 "event_command": "",
    649                 "executions": null,
    650                 "flapping": false,
    651                 "flapping_current": 23.3,
    652                 "flapping_ignore_states": null,
    653                 "flapping_last_change": 1642495283.418991,
    654                 "flapping_threshold": 0,
    655                 "flapping_threshold_high": 30,
    656                 "flapping_threshold_low": 25,
    657                 "force_next_check": false,
    658                 "force_next_notification": false,
    659                 "groups": [],
    660                 "ha_mode": 0,
    661                 "handled": true,
    662                 "host_name": "9p.io",
    663                 "icon_image": "",
    664                 "icon_image_alt": "",
    665                 "last_check": 1642495283.419103,
    666                 "last_check_result": {
    667                     "active": true,
    668                     "check_source": "alpine.olowe.co",
    669                     "command": [
    670                         "/usr/lib/monitoring-plugins/check_http",
    671                         "-I",
    672                         "9p.io"
    673                     ],
    674                     "execution_end": 1642495283.418991,
    675                     "execution_start": 1642495282.711638,
    676                     "exit_status": 0,
    677                     "output": "HTTP OK: HTTP/1.1 200 OK - 1714 bytes in 0.703 second response time ",
    678                     "performance_data": [
    679                         "time=0.703348s;;;0.000000;10.000000",
    680                         "size=1714B;;;0"
    681                     ],
    682                     "schedule_end": 1642495283.419103,
    683                     "schedule_start": 1642495282.709361,
    684                     "scheduling_source": "alpine.olowe.co",
    685                     "state": 0,
    686                     "ttl": 0,
    687                     "type": "CheckResult",
    688                     "vars_after": {
    689                         "attempt": 1,
    690                         "reachable": false,
    691                         "state": 0,
    692                         "state_type": 1
    693                     },
    694                     "vars_before": {
    695                         "attempt": 1,
    696                         "reachable": false,
    697                         "state": 0,
    698                         "state_type": 1
    699                     }
    700                 },
    701                 "last_hard_state": 0,
    702                 "last_hard_state_change": 1642494988.994212,
    703                 "last_reachable": false,
    704                 "last_state": 0,
    705                 "last_state_change": 1642494988.994212,
    706                 "last_state_critical": 1642494810.489733,
    707                 "last_state_ok": 1642495283.418991,
    708                 "last_state_type": 1,
    709                 "last_state_unknown": 1642494869.390854,
    710                 "last_state_unreachable": 1642495283.418991,
    711                 "last_state_warning": 1642494987.196548,
    712                 "max_check_attempts": 5,
    713                 "name": "http",
    714                 "next_check": 1642495342.839149,
    715                 "next_update": 1642495404.258409,
    716                 "notes": "",
    717                 "notes_url": "",
    718                 "original_attributes": null,
    719                 "package": "_etc",
    720                 "paused": false,
    721                 "previous_state_change": 1642494988.994212,
    722                 "problem": false,
    723                 "retry_interval": 30,
    724                 "severity": 0,
    725                 "source_location": {
    726                     "first_column": 1,
    727                     "first_line": 55,
    728                     "last_column": 20,
    729                     "last_line": 55,
    730                     "path": "/etc/icinga2/conf.d/ye.conf"
    731                 },
    732                 "state": 0,
    733                 "state_type": 1,
    734                 "templates": [
    735                     "http",
    736                     "generic-service"
    737                 ],
    738                 "type": "Service",
    739                 "vars": null,
    740                 "version": 0,
    741                 "volatile": false,
    742                 "zone": ""
    743             },
    744             "joins": {},
    745             "meta": {},
    746             "name": "9p.io!http",
    747             "type": "Service"
    748         }
    749     ]
    750 }