mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Added CPU utilization discovery/polling for DNOS
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
echo 'DNOS CPU Usage';
|
||||
|
||||
if ($device['os'] == 'dnos') {
|
||||
|
||||
preg_match('/(\d*\.\d*)/', snmp_get($device, '.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.9.0', '-OvQ'), $matches);
|
||||
$proc = $matches[0];
|
||||
}
|
||||
Reference in New Issue
Block a user