initial commit; version 22.5.12042

This commit is contained in:
2022-12-12 23:28:25 -05:00
commit af1b03d79f
17653 changed files with 22692970 additions and 0 deletions

17
scripts/agent-local/hddtemp Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# hddtemp sensor readings
# needs hddtemp daemon listening on (at least) localhost
# requires netcat to be installed and in the path
# (c) 2012, Tom Laermans for Observium
hostname="localhost"
port=7634
nc=`which nc`
if [ $? -eq 0 ] && [ `$nc -zv $hostname $port 2>&1 | awk '{print $5}'` = "open" ]
then
echo '<<<hddtemp>>>'
$nc $hostname $port
echo
fi