diff --git a/includes/discovery/sensors/state/unix.inc.php b/includes/discovery/sensors/state/unix.inc.php index 3119eaa3822c..af717bba47c6 100644 --- a/includes/discovery/sensors/state/unix.inc.php +++ b/includes/discovery/sensors/state/unix.inc.php @@ -59,7 +59,7 @@ create_state_index($state_name, $states); //Discover Sensors - discover_sensor($valid['sensor'], 'state', $device, $oid, $sensor_oid, $state_name, $descr, '1', '1', null, null, null, null, $value, 'snmp', $sensor_oid, null, null, 'ups-nut'); + discover_sensor($valid['sensor'], 'state', $device, $oid, $sensor_oid, $state_name, $descr, '1', '1', null, null, null, null, $value, 'snmp', null, null, null, 'ups-nut'); //Create Sensor To State Index create_sensor_to_state_index($device, $state_name, $sensor_oid);