1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

5 Commits

Author SHA1 Message Date
ff6ee0e2bc Fixed correct amount of pipeline symbols when degrees symbol is missing. (#85)
When the script is called through xinetd/check_mk (on my system), there is no degree symbol, but a space.
Changed the script to handle both correctly
2017-02-17 00:46:13 +00:00
6128dc3c71 Update hddtemp to include hddtemp -w option (#56)
hddtemp gives inconsistent values in it's current state, after some debugging I was able to resolve the issue by passing -w to the hddtemp command, this will wake-up the drive if it is in a sleep state to gather information.
2016-09-09 07:16:28 +01:00
760f9de567 /bin/bash => /usr/bin/env bash to allow freebsd agent work without patching each files 2016-07-29 13:23:20 +02:00
8d856e2764 Improved hddtemp agent module
I had some issues with the netcat / daemon implementation of the module.
netcat was stallingor sometimes netcat did not return the full output of hddtemp.
Running hddtemp directly without running it as a daemon is much more stable for me.

This new version also does not give any stdout output when hddtemp is not installed or when no disks can be found.
Running the script manually on a server does give stderr output for easy debugging.
2016-05-05 10:27:30 +02:00
f0o
195a46c1e3 Initial commit 2015-05-18 10:58:01 +00:00