mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* initial work done to FreeBSD NFS pollers for JSON support * minor formatting cleanup and no longer pass update_application a array for the second argument * add test data and snmprec(minus legacy) * use variables from the data part of the JSON in the metrics * add the legacy snmprec file for fbsdnfsserver * add the most of the test stuff for FreeBSD NFS * add the legacy SNMP data for FreeBSD NFS client * add the missing "applications": { * properly rename the tests to match the appname * correct the appname stuff in the tests * make a chunk of the json properly a array item * correct this to the actual value * change 0 to 0.0 for one and make quote data * hmm... RdirPlus is becoming Rdirplus * whoops, revert that... should be RdirPlus as that is what is returned
208 lines
5.9 KiB
JSON
208 lines
5.9 KiB
JSON
{
|
|
"applications": {
|
|
"discovery": {
|
|
"applications": [ {
|
|
"app_type": "fbsd-nfs-server",
|
|
"app_state": "UNKNOWN",
|
|
"discovered": "1",
|
|
"app_state_prev": null,
|
|
"app_status": "",
|
|
"app_instance": ""
|
|
} ],
|
|
"application_metrics": []
|
|
},
|
|
"poller": {
|
|
"applications": [ {
|
|
"app_type": "fbsd-nfs-server",
|
|
"app_state": "OK",
|
|
"discovered": "1",
|
|
"app_state_prev": "UNKNOWN",
|
|
"app_status": "",
|
|
"app_instance": ""
|
|
} ],
|
|
"application_metrics": [
|
|
{
|
|
"metric": "Access",
|
|
"value": "2756963",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Commit",
|
|
"value": "226823",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Create",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Faults",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Fsinfo",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Fsstat",
|
|
"value": "108431",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Getattr",
|
|
"value": "2131314",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Idem",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Inprog",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Link",
|
|
"value": "1250",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Lookup",
|
|
"value": "6062252",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Misses",
|
|
"value": "20162662",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Mkdir",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Mknod",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Nonidem",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Opsaved",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "PathConf",
|
|
"value": "12",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "RdirPlus",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Read",
|
|
"value": "8043676",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Readdir",
|
|
"value": "221801",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Readlink",
|
|
"value": "394",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Remove",
|
|
"value": "32375",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Rename",
|
|
"value": "31097",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "RetFailed",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Rmdir",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Setattr",
|
|
"value": "43045",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Symlink",
|
|
"value": "24",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "Write",
|
|
"value": "464478",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "WriteOps",
|
|
"value": "464478",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
},
|
|
{
|
|
"metric": "WriteRPC",
|
|
"value": "464478",
|
|
"value_prev": null,
|
|
"app_type": "fbsd-nfs-server"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|