mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
move hddtemp to unix-agent/ instead of applications/
git-svn-id: http://www.observium.org/svn/observer/trunk@3214 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
parent
f2be2f33d2
commit
25bcc8b567
@ -4,7 +4,7 @@ global $agent_sensors;
|
|||||||
|
|
||||||
include_once("includes/discovery/functions.inc.php");
|
include_once("includes/discovery/functions.inc.php");
|
||||||
|
|
||||||
$disks = explode('||',trim($agent_data['app']['hddtemp'],'|'));
|
$disks = explode('||',trim($agent_data['hddtemp'],'|'));
|
||||||
|
|
||||||
if (count($disks))
|
if (count($disks))
|
||||||
{
|
{
|
@ -5,6 +5,6 @@
|
|||||||
# requires netcat to be installed and in the path
|
# requires netcat to be installed and in the path
|
||||||
# (c) 2012, Tom Laermans for Observium
|
# (c) 2012, Tom Laermans for Observium
|
||||||
|
|
||||||
echo '<<<app-hddtemp>>>'
|
echo '<<<hddtemp>>>'
|
||||||
nc localhost 7634
|
nc localhost 7634
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user