mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
added support for megatec ups -
This commit is contained in:
@@ -24,12 +24,12 @@
|
||||
*/
|
||||
|
||||
|
||||
if ($device['os'] == 'megatec') {
|
||||
if ($device['os'] == 'netagent2') {
|
||||
$load_oid = '.1.3.6.1.4.1.935.1.1.1.4.2.3.0';
|
||||
$output_load = snmp_get($device, $load_oid, '-Oqv');
|
||||
|
||||
if (!empty($output_load) || $output_load == 0) {
|
||||
$type = 'megatec';
|
||||
$type = 'netagent2';
|
||||
$index = 0;
|
||||
$limit = 100;
|
||||
$warnlimit = 80;
|
Reference in New Issue
Block a user