RincewindsHat
c1bf69c3a6
Apparently Dash is not Bash, so -v does not work
2021-12-20 00:08:24 +01:00
RincewindsHat
5a81bd813e
Missing oldlog now aborts check_log
2021-12-02 17:10:57 +01:00
RincewindsHat
911e44045d
Merge branch 'master' into fix/shellcheck
2021-12-02 16:42:05 +01:00
rincewind
10db89344a
Add quoting for the remaining variables
2021-07-05 09:56:19 +02:00
rincewind
53b77dee91
Add -a option to print all matching lines and -p and -e options for perl and extended RE
2021-07-02 18:38:12 +02:00
rincewind
c2aa1a5fa2
Add extended and perl regex
2021-07-02 18:01:47 +02:00
rincewind
14e1d7f6af
Apply shellcheck
2021-07-02 17:39:47 +02:00
rincewind
3abcf83af4
Remove modified note, since this is a git repository
2021-07-02 10:37:35 +02: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
Jan Wagner
d4b6d09f10
check_log.sh: droping path from basename
...
while evaluating PROGNAME (Closes Debian Bug #758662 )
2014-08-20 20:29:23 +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
Holger Weiss
e260efb256
Merge remote-tracking branch 'awiddersheim/fix_trusted_path'
...
* awiddersheim/fix_trusted_path:
Fix trusted path
Conflicts:
plugins-scripts/check_ntp.pl
plugins-scripts/subst.in
Closes #1212 .
2014-02-28 13:22:34 +01:00
Monitoring Plugins Development Team
63734f52ab
Project rename initial commit.
...
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
2014-01-19 14:18:47 -05:00
Holger Weiss
9db763963f
utils.sh: Don't define $ECHO
...
In utils.sh, $ECHO was set to printf(1) or echo(1), depending on whether
printf(1) is available in /usr/bin. This resulted in various bugs, as
printf(1) cannot be used in the same way as echo(1).
Thanks to Trevor Hemsley for reporting one of those bugs: If $ECHO was
set to printf(1), check_log stumbled when reporting a log line with a
"%" character.
2014-01-13 22:55:43 +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
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
Matthias Eble
a10569f139
Changed order in -V/--version output
...
Fixed -V output for check_log and check_oracle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-07 11:40:29 +00:00
Thomas Guyot-Sionnest
026db39bb7
Fix bug #1593073 Check_Log problem with log rotation
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-01 05:33:07 +00:00
Ton Voon
087bf1c765
Remove PATH restriction
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1343 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22 14:32:06 +00:00
Ton Voon
450054438c
Remove hardlink to /bin/sed. Leave to PATH (Abs - 1391483)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22 12:59:36 +00:00
M. Sean Finney
e082e8565f
check_log fixes from Ade Rixon
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-29 15:38:40 +00:00
Ton Voon
eff6bae7ed
Check for log file readability
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1129 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-03 23:51:35 +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
Karl DeBisschop
4907426318
patch from Matthew Peters <mattp@esec.com.au>, plus turned up a few bugs on my own
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@96 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-14 02:13:48 +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