Add supervisord application (#13673)

This commit is contained in:
Henne Van Och
2022-01-13 18:19:27 +01:00
committed by GitHub
parent 42d84da24a
commit 8f8872520a
8 changed files with 322 additions and 0 deletions

View File

@@ -0,0 +1,123 @@
{
"applications": {
"discovery": {
"applications": [
{
"app_type": "supervisord",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
]
},
"poller": {
"applications": [
{
"app_type": "supervisord",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "process_test-program_00_state",
"value": 20,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "process_test-program_00_uptime",
"value": 70,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "process_test-program_01_state",
"value": 200,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "process_test-program_01_uptime",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_BACKOFF",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_EXITED",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_FATAL",
"value": 1,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_RUNNING",
"value": 1,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_STARTING",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_STOPPED",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_STOPPING",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
},
{
"metric": "total_UNKNOWN",
"value": 0,
"value_prev": null,
"app_type": "supervisord"
}
]
}
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux server 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64",
"sysContact": "<private>",
"version": "3.10.0-693.5.2.el7.x86_64",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
}
}