diff --git a/includes/discovery/os/netagent2.inc.php b/includes/discovery/os/netagent2.inc.php index 0d21ca7c10..06ca902f78 100644 --- a/includes/discovery/os/netagent2.inc.php +++ b/includes/discovery/os/netagent2.inc.php @@ -1,8 +1,8 @@ */ - 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'); diff --git a/includes/discovery/sensors/frequencies/netagent2.inc.php b/includes/discovery/sensors/frequencies/netagent2.inc.php index ee85c8c815..bb357a9a0f 100644 --- a/includes/discovery/sensors/frequencies/netagent2.inc.php +++ b/includes/discovery/sensors/frequencies/netagent2.inc.php @@ -1,6 +1,6 @@ */ - 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'); diff --git a/includes/discovery/sensors/load/netagent2.inc.php b/includes/discovery/sensors/load/netagent2.inc.php index 41f920754d..30441afc90 100644 --- a/includes/discovery/sensors/load/netagent2.inc.php +++ b/includes/discovery/sensors/load/netagent2.inc.php @@ -1,6 +1,6 @@ */ - 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'); diff --git a/includes/discovery/sensors/temperatures/netagent2.inc.php b/includes/discovery/sensors/temperatures/netagent2.inc.php index 9a0d6b228c..34dfbe43f6 100644 --- a/includes/discovery/sensors/temperatures/netagent2.inc.php +++ b/includes/discovery/sensors/temperatures/netagent2.inc.php @@ -1,6 +1,6 @@ */ - 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'); diff --git a/includes/discovery/sensors/voltages/netagent2.inc.php b/includes/discovery/sensors/voltages/netagent2.inc.php index c1875d04d4..eb96fe119b 100644 --- a/includes/discovery/sensors/voltages/netagent2.inc.php +++ b/includes/discovery/sensors/voltages/netagent2.inc.php @@ -1,6 +1,6 @@ */ - 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'); diff --git a/includes/polling/os/netagent2.inc.php b/includes/polling/os/netagent2.inc.php index 7a9cfa9634..220d02d59a 100644 --- a/includes/polling/os/netagent2.inc.php +++ b/includes/polling/os/netagent2.inc.php @@ -1,6 +1,6 @@