Commit graph

13 commits

Author SHA1 Message Date
rincewind
763b7ab0c4 check_sensors.sh: Make shellcheck happier 2021-12-21 10:19:32 +01:00
Jan Wagner
5f3232f00d Fixing shellcheck SC2086 2017-01-06 17:43:22 +01:00
Jan Wagner
439b93049d Fixing shellcheck SC2006 2017-01-06 16:54:29 +01:00
Jan Wagner
3a668c0f87 Setting PATH at first 2014-08-20 20:37:24 +02:00
Holger Weiss
c08d6a429b Replace "plugins-scripts/subst.in" foo
Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in"
in favor of simple sed(1) substitutions.

The plugins in the "plugins-scripts" directory now always use the PATH
specified via "./configure --trusted-path", or the default PATH
hard-coded in "configure.ac".

Fixes #1242.
2014-02-28 13:28:33 +01:00
awiddersheim
0a3252d88d Fix trusted path
When configuring the plugins you have the option to specify a trusted path with --with-trusted-path. This option seems to have been deprecated at some point for unknown reasons and had typically had no affect. This commit makes this option work again for those who have a desire to use it. There should be no affect on those who have not chosen to specify a trusted path.
2013-10-22 10:33:56 -04:00
Gabriele Tozzi
774647f60c Made verbose output of check_sensors compilant 2013-05-19 04:24:21 +02:00
Holger Weiss
5532dbe48a check_sensors: Use symbolic exit codes
Specify the exit codes by using the constants from utils.sh.
2011-09-07 14:04:01 +02:00
Holger Weiss
f720f4a3c0 check_sensors: Minor whitespace fixes 2011-09-07 13:57:38 +02:00
Holger Weiss
276c5b98bf check_sensors: Detect FAULT status
Return an UNKNOWN status if a faulty sensor is detected.  This can be
suppressed with the new "--ignore-fault" option.

(Fixes Debian bug #615133, patch suggested by Jan Wagner.)
2011-09-07 13:55:53 +02:00
Thomas Guyot-Sionnest
6fbd14fea5 Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion


git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-23 05:38:47 +00:00
Karl DeBisschop
a7fed9440f remove pspace in shebang since no sequent users replied
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@162 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-28 13:05:08 +00:00
Ethan Galstad
44a321cb8a Initial revision
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28 06:42:51 +00:00