mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
added support for megatec ups - fixed sinetica references
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* LibreNMS os discovery module for Sinetica
|
||||
* LibreNMS os discovery module for Megatec Net Agent II
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinecta.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
if ($device['os'] == 'netagent2') {
|
||||
$battery_current_oid = '.1.3.6.1.4.1.935.1.1.1.2.2.7.0';
|
||||
$battery_current = snmp_get($device, $battery_current_oid, '-Oqv');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
if ($device['os'] == 'netagent2') {
|
||||
$in_frequency_oid = '.1.3.6.1.4.1.935.1.1.1.3.2.4.0';
|
||||
$in_frequency = snmp_get($device, $in_frequency_oid, '-Oqv');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
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');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
if ($device['os'] == 'netagent2') {
|
||||
$ups_temperature_oid = '.1.3.6.1.4.1.935.1.1.1.2.2.3.0';
|
||||
$ups_temperature = snmp_get($device, $ups_temperature_oid, '-Oqv');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* sinetica.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
if ($device['os'] == 'netagent2') {
|
||||
$in_voltage_oid = '.1.3.6.1.4.1.935.1.1.1.3.2.1.0';
|
||||
$in_voltage = snmp_get($device, $in_voltage_oid, '-Oqv');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* megatec.inc.php
|
||||
* netagent2.inc.php
|
||||
*
|
||||
* LibreNMS os polling module for Megatec
|
||||
*
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
1.3.6.1.4.1.935.1.1.1.4.2.3.0|2|44
|
||||
1.3.6.1.4.1.935.1.1.1.2.2.3.0|2|250
|
||||
1.3.6.1.4.1.935.1.1.1.3.2.1.0|2|2545
|
||||
1.3.6.1.4.1.935.1.1.1.4.2.1.0|2|2285
|
||||
1.3.6.1.4.1.935.1.1.1.4.2.1.0|2|2285
|
||||
|
||||
Reference in New Issue
Block a user