aa68be9a5aAdd more acceptable paths to whereis command, as per further testing.
Ryan Loudfoot
2014-09-06 17:46:11 -04:00
615089a044Now use whereis to find the sensors program instead of assuming a path. Also mention help in the readme if the program is not found.
Ryan Loudfoot
2014-09-06 16:36:21 -04:00
75b4a1c6d6Run through shellcheck.net. Converted all printf to echo since it's easier, may convert back later if given good reason.
Ryan Loudfoot
2013-11-02 13:18:46 -04:00
32252b61eaAdd utils.sh checking code.
Ryan Loudfoot
2013-11-02 12:38:43 -04:00
b2e2301067Forgot to update version number last update. Fixed.
Ryan Loudfoot
2013-11-02 12:30:25 -04:00
0fe7e5aa90Limit parsing to only grab the first result found for the sensor. Sometimes you get more than one result for things like CPU cores (Quad core printing as: Core0,Core0,Core1,Core1 on a Toshiba laptop with sensor k8temp-pci-00c3)
Elyrith
2012-12-07 17:38:10 -05:00
92a9b70125Fixed line numbers mentioned in comments due to my comments pushing the code down
Elyrith
2012-11-30 00:29:22 -05:00
7e33e13abcIncreased version to 0.7 because of new "advanced" sensor parsing (line 191) -Added following line edits info to comments at the top and increased version number -Line 193, modified sensor parsing to cut after the first '+' since all positive temperatures are preceded by a + and the one we want is labeled first -Line 211, reduced "verbosity" needed to see verbose info (was 2: -v -v) -Line 229-232, now checks if no sensor data was found and exits with STATE_UNKNOWN -Fixed 2 typos, one in output and other an in-line comment -Updated line numbers in previous version info lines in comments since my comments pushed the lines down
Elyrith
2012-11-30 00:08:45 -05:00
add8a481c7Added myself to THANKS with permission from author.
Elyrith
2012-11-29 18:51:03 -05:00
37b8e9db82Merged in elyrith/check_temp (pull request #1) A few typos and mentioning that is uses *nix 'sensors' Added PERFDATA to put Nagios Performance Data when viewing service detailsJack-Benny Persson2012-11-30 00:35:45 +01:00
e4228c22e5A few typos and mentioning that is uses *nix 'sensors'
Elyrith
2012-11-29 17:56:54 -05:00
3c8ab0cdc2Added PERFDATA to put Nagios Performance Data when viewing service details.
Elyrith
2012-11-29 17:18:40 -05:00