added support for megatec ups -

This commit is contained in:
Jon
2016-10-23 02:36:53 +11:00
parent 7ad2f08fb9
commit 9d0e1ae57f
11 changed files with 18 additions and 18 deletions

View File

@@ -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;