mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add supervisord application (#13673)
This commit is contained in:
123
tests/data/linux_supervisord-v1.json
Normal file
123
tests/data/linux_supervisord-v1.json
Normal 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user