From 25bcc8b5672d8a2ffe70e1a8af9de2d6cc864785 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sun, 20 May 2012 19:28:37 +0000 Subject: [PATCH] move hddtemp to unix-agent/ instead of applications/ git-svn-id: http://www.observium.org/svn/observer/trunk@3214 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/{applications => unix-agent}/hddtemp.inc.php | 2 +- scripts/agent-local/hddtemp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename includes/polling/{applications => unix-agent}/hddtemp.inc.php (90%) 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