diff --git a/includes/polling/applications/hddtemp.inc.php b/includes/polling/unix-agent/hddtemp.inc.php similarity index 90% rename from includes/polling/applications/hddtemp.inc.php rename to includes/polling/unix-agent/hddtemp.inc.php index 372a664a0..913d98fbd 100644 --- a/includes/polling/applications/hddtemp.inc.php +++ b/includes/polling/unix-agent/hddtemp.inc.php @@ -4,7 +4,7 @@ global $agent_sensors; include_once("includes/discovery/functions.inc.php"); -$disks = explode('||',trim($agent_data['app']['hddtemp'],'|')); +$disks = explode('||',trim($agent_data['hddtemp'],'|')); if (count($disks)) { diff --git a/scripts/agent-local/hddtemp b/scripts/agent-local/hddtemp index 558fa11c1..b6780396d 100755 --- a/scripts/agent-local/hddtemp +++ b/scripts/agent-local/hddtemp @@ -5,6 +5,6 @@ # requires netcat to be installed and in the path # (c) 2012, Tom Laermans for Observium -echo '<<>>' +echo '<<>>' nc localhost 7634 echo