mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Rrdcached application monitoring
Can collect data from the agent or by connecting directly
This commit is contained in:
@@ -52,20 +52,21 @@ if ($device['os_group'] == 'unix') {
|
||||
|
||||
$graphs['agent'] = true;
|
||||
|
||||
$agentapps = array(
|
||||
"apache",
|
||||
"bind",
|
||||
"ceph",
|
||||
"mysql",
|
||||
"nginx",
|
||||
"powerdns",
|
||||
"proxmox",
|
||||
"rrdcached",
|
||||
"tinydns");
|
||||
|
||||
foreach (explode('<<<', $agent_raw) as $section) {
|
||||
list($section, $data) = explode('>>>', $section);
|
||||
list($sa, $sb) = explode('-', $section, 2);
|
||||
|
||||
$agentapps = array(
|
||||
"apache",
|
||||
"ceph",
|
||||
"mysql",
|
||||
"nginx",
|
||||
"bind",
|
||||
"powerdns",
|
||||
"proxmox",
|
||||
"tinydns");
|
||||
|
||||
if (in_array($section, $agentapps)) {
|
||||
$agent_data['app'][$section] = trim($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user