mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
storage legend fix (lazy sid3windr!) add generic ucd processor discovery/poller
git-svn-id: http://www.observium.org/svn/observer/trunk@1089 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
### Simple poller for UCD old style CPU. will always poll the same index.
|
||||
|
||||
$system = snmp_get($device, "ssCpuSystem.0", "-OvQ", "UCD-SNMP-MIB");
|
||||
$user = snmp_get($device, "ssCpuUser.0", "-OvQ", "UCD-SNMP-MIB");
|
||||
$idle = snmp_get($device, "ssCpuIdle.0", "-OvQ", "UCD-SNMP-MIB");
|
||||
|
||||
$proc = $system + $user;
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user