Sven Nierlein
c7ea2aed74
check_disk_smb: fixed number of tests to skip
2013-09-17 10:23:08 +02:00
Sven Nierlein
63312395ee
check_disk_smb: verify path to smbclient
2013-09-16 13:59:27 +02:00
Holger Weiss
4eab02cdaf
Merge branch 'master' of https://github.com/rafaeldriutti/nagios-plugins
...
* 'master' of https://github.com/rafaeldriutti/nagios-plugins :
Changed the smbclient command used to fetch the free space available on the samba shares. Using du instead of ls, since it's much faster, specially with shares that have a lot of files.
Closes #63 .
2013-08-20 16:50:52 +02:00
Rafael
febe7b7075
Changed the smbclient command used to fetch the free space available on the samba shares. Using du instead of ls, since it's much faster, specially with shares that have a lot of files.
2013-08-12 15:52:22 -03:00
Gabriele Tozzi
774647f60c
Made verbose output of check_sensors compilant
2013-05-19 04:24:21 +02:00
Brian De Wolf
b57dc1b3a0
Add option to perform real login in check_oracle
...
The Oracle plugin has no option for testing for a successful login. The
closest option to this is --login, which uses a fixed set of credentials and
expects to receive the logon failure error code.
This patch adds an option called --connect. This option takes a full SID and
returns success if it doesn't detect any error codes. With this, we can check
that a database is allowing logins from valid credentials (and avoid filling up
DB logs with failed authentications).
2013-03-25 23:25:08 +01:00
Marc Huffnagle
0656a0e284
Added additional documentation to the check_range function
2012-10-09 09:54:03 +02:00
Holger Weiss
d61a3056c5
check_disk_smb: Add performance data
...
(Debian #654259 - Charles-Henri Larose)
2012-06-23 10:22:08 +02:00
Holger Weiss
804e7d878c
Mention the check_range function in NEWS, etc.
2012-05-29 14:27:58 +02:00
Alex Griffin
aab6b8a16c
Added check_range shell function to utils.sh.in
2012-05-29 14:07:37 +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
Matthias Eble
9faccbb261
add test cases for check_disk_smb
2010-11-28 22:08:54 +01:00
Matthias Eble
3c67c9cb60
check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696 )
2010-11-28 21:43:48 +01:00
Matthias Eble
0892c4ac28
Make check_disk_smb accept spaces in share names ( #990948 , #1370031 , Debian #601699 )
2010-11-28 21:35:59 +01:00
Ton Voon
0205c7c0cf
Allow check_ifstatus to accept version=2c
2010-07-07 09:56:21 +01:00
Holger Weiss
7a661c7aed
Fix Debian bug #545940 : Failure when run via ePN
...
If Perl's "shift" function is called outside of a subroutine and without
any argument, it usually shifts @ARGV. However, if a plugin is executed
via ePN, such a call will shift @_ instead, so we must explicitly
specify @ARGV for this to work as expected.
This fixes Debian bug #545940 , see: http://bugs.debian.org/545940
Commit de7191e342 fixed the same issue for
check_disk_smb.
(Reported by Hendrik Jaeger, forwarded by Jan Wagner.)
2010-04-12 15:36:33 +02:00
Holger Weiss
614e9dec5e
Fix Debian bug #478942 : Fragile argument passing
...
Fix some problems regarding the way check_disk_smb passes command line
arguments to smbclient(1).
| It runs:
|
| $res = qx/$smbclient "\/\/$host\/$share" $pass -W $workgroup \
| -U $user $smbclientoptions -I $address -c ls/;
|
| [...]
|
| The documentation says that if the password is not passed, it
| defaults to "". That is not true above, as $pass expands to
| nothing which leaves no argument at all (instead of an empty
| argument) so is different from providing with an empty password
| or with the -N option.
|
| Also, if the password starts with "-", you're in trouble, that's
| why -U $user%$pass may be prefered.
|
| Also, the doc says that if $user is not provided, then it
| defaults to "guest" but the problem is that if it is provided
| but empty, it is changed to "guest" as well, which prevents us
| from querying hosts that don't do user authentication.
[ http://bugs.debian.org/478942 ]
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11 10:54:44 +02:00
Holger Weiss
de7191e342
Fix Debian bug #478906 : Failure when run via ePN
...
| When perl plugin scripts are run with the embedded perl interpreter in
| nagios3, the "shift" perl command doesn't shift @ARGV, but @_ (which
| happens to contain the same thing as @ARGV at the time the script was
| started).
|
| [...]
|
| A fix is to replace all the instances of "shift" with "shift @ARGV".
[ http://bugs.debian.org/478906 ]
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11 09:54:10 +02:00
Holger Weiss
e461341003
Fix Debian bug #425129 : SMB guest mode won't work
...
| The check_disk_smb plugin purports to support guest users, but it
| doesn't work out, because it doesn't specify the -N command line
| option to smbclient when no password is specified, making smbclient
| stop and ask.
[ http://bugs.debian.org/425129 ]
(Fixed by Josip Rodin, forwarded by Jan Wagner.)
2010-04-11 09:39:24 +02:00
Holger Weiss
5a1babdae8
check_disk_smb: Allow for specifying an IP address
...
Add the "-a, --address option" which allows for specifying the IP
address of the server to connect to. If this option is used, the IP
address will be handed over to smbclient(1)'s "-I" option. (Contributed
by Sean Finney, forwarded by Jan Wagner.)
2010-04-11 01:57:11 +02:00
nagiosplugins
43c187a944
Allow custom versions with the release file...
2009-09-25 09:31:04 +00:00
Thomas Guyot-Sionnest
bc3c8c7cfb
Fix check_ircd binding to wrong interface ( #668778 )
2009-09-19 02:08:51 -04:00
Matthias Eble
38e20a1a33
Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified
...
The checks for invalid/unavailable hosts need a complete command line.
They failed on hosts where no community was specified. Now, an invalid community is used so
the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway.
2009-06-13 18:13:49 +02:00
Matthias Eble
05b801284c
Further test parameters and skip blocks for check_ifoperstatus.t. getTestparam changes for check_ifstatus.t and ifoperstatus.t
...
Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t.
Also getTestParameter calls for both plugins were converted to use three arguments
instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache.
2009-06-13 11:10:32 +02:00
Matthias Eble
c66d2c6b3b
renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus
...
check_ifstatus already used -x so both plugins can use same short option, now.
to specify privacy protocol.
2009-06-11 17:24:52 +02:00
Matthias Eble
edda2536e5
Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol ( #2343438 - Robin Schroeder)
...
check_ifstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.
Additionally the -P argument was added to specify the privprotocol.
2009-06-11 17:20:55 +02:00
Matthias Eble
e16b35b2ca
Added testcases for check_ifoperstatus
...
Added testcases for check_ifoperstatus. No SNMPv3 testing
included for now.
2009-06-11 16:27:15 +02:00
Matthias Eble
0f8ef1f780
minor fixes to check_ifoperstatus
...
Minor output fixes for check_ifoperstatus.
Fixed typo so that -n now implies -I as documented.
2009-06-11 16:22:47 +02:00
Matthias Eble
8b8a30716a
check_ifoperstatus is now more user friendly in case of missing arguments
...
Added proper usage messages in case of missing arguments.
Removed accidently committed Data::Dumper call.
Minor whitespace fixes.
2009-06-11 02:29:13 +02:00
Matthias Eble
08deb74704
Whitespace and indent fixes for check_ifoperstatus
2009-06-11 01:34:39 +02:00
Matthias Eble
5195074095
Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define privprotocol ( #2343438 - Robin Schroeder)
...
check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.
Additionally the -x argument was added to specify the privprotocol.
2009-06-11 01:17:58 +02:00
Thomas Guyot-Sionnest
56cf66c9b8
Fix awk subst.in/subst script path error ( #2722832 - Martin Foster)
2009-05-20 00:43:10 -04:00
Ton Voon
5324544855
Typo fixes (Jan Wagner - SF 1878971)
2009-02-20 00:00:13 +00:00
Thomas Guyot-Sionnest
399f0770b2
Fixing build breakages (I totally forgot this rule was there...)
2008-11-26 21:29:40 -05:00
Thomas Guyot-Sionnest
9bcfa9cded
Disable dynamic versionning for releases, and allow generating version out of subversion.
...
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
2008-11-26 05:42:48 -05:00
Thomas Guyot-Sionnest
ed9a088b37
Workaround to support more make programs
...
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-25 08:50:35 -05:00
Thomas Guyot-Sionnest
0c34b75b05
Exporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.
2008-11-25 00:28:51 -05:00
Thomas Guyot-Sionnest
c0a75482b4
Avoid the use of .PHONY (target s created twice and I have no idea if it's right).
2008-11-23 13:34:19 -05: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
96d6281428
check_ifoperstatus -n flag now works as expected (sf.net #1569488 )
...
check_ifoperstatus now supports ifType based lookup for ifIndex
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2061 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-22 21:35:15 +00:00
Ton Voon
151531173b
Run tinderbox builds in a test debug mode using "make test-debug"
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12 01:27:48 +00:00
Ton Voon
37287823f0
Removing all .cvsignore files
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1761 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-24 00:35:42 +00:00
Matthias Eble
2208c1b7f3
Changed print_revision output order in utils.pm
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1751 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-07 11:55:48 +00:00
Matthias Eble
603de749ba
substituted $ID$ through $Revision$ in print_revision call
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1750 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-07 11:54:29 +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
Matthias Eble
1baf11d3af
check_oracle does not need a valid ORACLE_HOME if called with --db. Thanks to Jason Martin ( #1505551 )
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1719 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-27 14:49:54 +00:00
Gavin Carr
8d0e8a652f
Fix bogus 'eq ( || )' constructions in check_ifoperstatus.pl.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1642 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-16 12:11:46 +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
287cd311a2
Enhanced test for single letters in fqdn
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-12 12:59:06 +00:00
Ton Voon
fc6caed01c
Allow single characters in fqdn (Dave Alden)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1548 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-12 08:56:01 +00:00
Ton Voon
6c61b8c7bf
More edge testcases. Allow anything if ends with a . as long as correct
...
characters
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1531 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-27 15:37:31 +00:00
Ton Voon
94a3cf91b3
Fixed error if dba_free_space has no free segments (Florian Gleixner)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1529 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-26 21:10:20 +00:00
Ton Voon
6728e60669
Fixed regression where hostnames with hyphens were rejected (1581402 - Holger Weiss)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1528 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-26 21:02:21 +00:00
Ton Voon
d15721d2f8
Allow hostnames beginning with digits (O'Shaughnessy Evans - 1567390)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1501 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19 18:44:53 +00:00
Ton Voon
ab9b1169c2
Cleanup references to old check_udp and INSTALL_OPTS. Error if
...
--with-nagios-user or --with-nagios-group specified for configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-28 23:59:29 +00:00
Ton Voon
5f9761ed60
Fixed checking of return codes from external mailq programs
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1443 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-05 13:45:57 +00:00
M. Sean Finney
79ee3b93fb
removed stale references to PATH_TO_NTPFOO, as it's no longer used.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1417 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-07 14:23:12 +00:00
M. Sean Finney
e667553b97
- check_ntp:
...
- now roughly feature-complete.
- various bugfixes, esp. offset calculation.
- enhanced the asynchronous offset polling to set requests that
haven't recieved a response in >= 1 second to stale and retransmit them,
which results in much better performance on unreliable networks.
- we only spend timeout/2 seconds polling offsets, and if we don't get
everything by that point we work with what we have and set status to
warning/critical depending on how much data we have.
- set the same defaults as the perl script.
- commit changes to configure.in to support automatic building of check_apt
(if apt-get is installed and regex libraries available) and check_ntp
(unconditionally), now defaulting to check_ntp.c instead of the perl script.
if this is an issue we can back out the commit of course. an eye
should be kept on check_ntp building and running correctly in different
environments, esp. 64-bit and big-endian platforms, and those with more
"esoteric" API's (do any of the platforms not have poll()?).
- similar changes to Makefile.am's.
- common.h: add statement to include sys/poll.h
- runcmd.c: exit STATE_UNKNOWN if execve() fails.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1386 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-01 21:52:42 +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
Ton Voon
73b77a44c4
Allow directories and links to be tested by check_file_age. Sanitise output.
...
Added tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15 15:17:49 +00:00
Harper Mann
e5b45d0e14
Nagiosplug bug # 1251096
...
check_ntp wasn't properly handing a bad exit status from the external programs it calls (ntpdate and ntpq), so jitter wasn't set. Added check of $? on close and proper error output if status from the sub program call completion is non-zero. This includes "host not found".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1291 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-30 00:49:47 +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
M. Sean Finney
17edbb05d4
debian bts #268044 :
...
- use a "less beastly" regex for parsing ntpq output. probably need
some more widespread testing on this one.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1250 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13 10:20:50 +00:00
M. Sean Finney
a0a6dd410c
debian bts #300701 :
...
- check_smb fix for freespace threshold parsing from the cmdline options.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1247 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13 10:14:33 +00:00
Ton Voon
3c554b72de
Better comments for what the substitutions are doing
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1212 f882894a-f735-0410-b71e-b25c423dba1c
2005-08-30 22:11:42 +00:00
Peter Bray
cdc06cc3e2
[1185704] New Testing Infrastructure.
...
Complete rewrite of the original testing infrastructure and
all test cases (to use the new infrastructure)
See NPTest.pm and issue 1185704 for more details.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25 01:47:15 +00:00
Subhendu Ghosh
703a4bf74d
perfdata patch - 1172539
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1180 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25 14:05:41 +00:00
Subhendu Ghosh
4aa2652a54
new option for zero offset - 1159317
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1179 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25 03:37:48 +00:00
Subhendu Ghosh
dafcd90015
patched bug id 1200030 - regex update
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1175 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24 22:33:09 +00:00
Subhendu Ghosh
36458320f7
patched bug id 1204636
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1174 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24 22:10:05 +00:00
M. Sean Finney
353a973819
regexp fix for check_ntp
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-19 00:16:58 +00:00
M. Sean Finney
ea75bd95d3
also change the --help output to reflect that check_disk_smb defaults to empty passwords
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1164 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-17 22:22:41 +00:00
M. Sean Finney
cf35fb4b92
patch to check_disk_smb to allow empty passwords
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1163 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-16 06:09:47 +00:00
M. Sean Finney
7a930f77c5
check_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14 04:13:13 +00:00
M. Sean Finney
c6073a9b6b
typographical fix in check_ntp
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1161 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14 04:07:24 +00:00
Ton Voon
f24f2853c5
Added OS info for offset issue
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-08 06:19:32 +00:00
Ton Voon
b5b77ce39e
Ignore extra check on offset 0.00000 (John Warburton - 1150777)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1148 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04 22:20:17 +00:00
Ton Voon
a78fd137e9
Support for IPv6 (Merijn Evertse - 1119917)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1145 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04 21:50:02 +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
Benoit Mortier
6fc70bc896
fixes for #1094324
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1076 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-03 00:59:48 +00:00
Matthew Kent
b5b298c725
Option to check for admin down ( #1012191 ) from Raúl Pedroche.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1010 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07 03:13:14 +00:00
Ton Voon
61cbd1252c
Fixed pmon process checking from a change I made earlier
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@963 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 20:09:59 +00:00
Matthew Kent
3857e368e9
Perf data and other improvements by Florian Gleixner (1027787)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@957 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 03:26:59 +00:00
Matthew Kent
cb737f5726
Fix incorrectly labelled units in output (1025905, Jason Martin)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@909 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-19 03:59:43 +00:00
Ton Voon
0bd9615bd2
More specific test for sid (Paul Allen)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18 20:25:04 +00:00
Ton Voon
99af226d3d
Perfdata corrected (Garry Cook)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18 19:51:35 +00:00
Ton Voon
92abc218b0
Fix for similar dataabase sids (Carole Verdon)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@883 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18 19:46:18 +00:00
Subhendu Ghosh
11dfdb89c9
check_mssql.pl
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@869 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-19 13:10:48 +00:00
Ton Voon
6a40337d81
Cleaner calls to awk and support if Oracle has different national
...
language settings (Torsten Werner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@866 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-08 11:05:11 +00:00
Karl DeBisschop
d026a0b0fa
add opt_C to 'usr vars'
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@820 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-21 03:42:43 +00:00
Subhendu Ghosh
62d93550ea
added plugin timeout options
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@758 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-05 22:59:41 +00:00
Ton Voon
7faea6d54a
- Fixed file name (Matt Garrett)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-21 15:56:35 +00:00
Subhendu Ghosh
e4354556c3
snmpv3 patches
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@746 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 03:15:19 +00:00
Subhendu Ghosh
fa9983a260
more snmpv3 patches
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 03:14:57 +00:00
Subhendu Ghosh
746e307195
Bug 773588: added check to warn on matching # candidates only
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@744 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 02:40:31 +00:00
Subhendu Ghosh
cc80829d35
Added -M for maxmsgsize (v1/v2c)
...
Added v3 support
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@743 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 02:15:29 +00:00
Ton Voon
9328b58595
Added Exim support (768445 - Eric Bollengier)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@726 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15 15:28:35 +00:00
Ton Voon
b7591825d4
Optionally specify port for smbclient to use (781227 - Jason Burnett)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@723 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15 14:26:54 +00:00
Karl DeBisschop
69e7c5305d
proposed fix for LANG issue
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@677 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-10 12:11:49 +00:00
Ton Voon
0a88a3050e
- Cleanup comments
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@593 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-17 12:14:32 +00:00
Ton Voon
81a0d72b54
Check for ORA- errors for tablespace and cache (patch 755456 - Sven Meyer)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@581 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02 16:21:46 +00:00
Ton Voon
b25150f0a4
Update error message from smbclient v2.2.7 (Patch 740132 - Cove Schneider)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@580 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02 15:57:29 +00:00
Ton Voon
7d32d2b5f4
Moving check_file_age into core
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@578 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02 15:01:22 +00:00
Subhendu Ghosh
57c4d460df
bug fix
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@515 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-16 17:33:37 +00:00
Ton Voon
2b88e43c88
Added postfix support (Thomas Nilsen - 735218)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@513 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-14 21:59:53 +00:00
Subhendu Ghosh
9d7f91d6dc
corrected output units
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@499 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-25 09:07:18 +00:00
Subhendu Ghosh
1934d3c225
update for check_mailq - qmail support
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@491 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-13 04:28:58 +00:00
Subhendu Ghosh
664be83730
Added sendmail multi-queue support (Canau), merged qmail support (Schmid)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@490 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-13 04:23:56 +00:00
Subhendu Ghosh
b02afd9e09
added feature -u (list of unused ifIndex)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@487 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-11 22:36:05 +00:00
Subhendu Ghosh
b4e3869420
bug 691412, added feature -x (list of excluded ifTypes)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@486 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-11 22:09:48 +00:00
Ton Voon
6f49cfd991
Cleaned up cache output
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@469 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-03 21:21:59 +00:00
Ton Voon
2a173047e2
Fixed sqlplus calls and rearranged parameters for --tablespace & --cache
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@468 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-01 22:24:18 +00:00
Ton Voon
b4bb59cd9b
Allow default Oracle home from oratab (reported by Walbert Oberngruber)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@428 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-17 22:24:30 +00:00
Karl DeBisschop
6cf5fc3c74
add timeout, fix taint chacking diom
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@423 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-14 13:28:41 +00:00
Jeremy T. Bouse
70650e1d0c
Just a lil namespace clean-up
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@412 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-12 19:50:05 +00:00
Ton Voon
8a43edbfb1
Add script ignores
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@399 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 22:51:16 +00:00
Karl DeBisschop
1fdb0658c8
add "m" to regex for minutes
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@370 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-05 07:27:07 +00:00
Karl DeBisschop
82d729563f
option regexs need to include ^ and $
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@348 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-20 03:16:26 +00:00
Subhendu Ghosh
983b1edec4
all alphanumeric accepted for refid on ntpq
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@325 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16 02:18:00 +00:00
Subhendu Ghosh
6e25c50e44
added timeout alarm
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12 04:32:20 +00:00
Subhendu Ghosh
79e9c3ebc8
fixed regex for stratum1 peer, added logic for failed ntpq call(e.g. sntp host)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@317 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12 04:30:36 +00:00
Subhendu Ghosh
24ff4b5308
install user:grp perms [patch 679703 -Detlef Boehm]
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@288 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-04 06:24:20 +00:00
Subhendu Ghosh
4c605d8cf2
lmstat output update
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@287 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-04 06:16:16 +00:00
Subhendu Ghosh
1c2cd8fdca
corrected ntpdate offset to seconds
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@286 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-04 05:54:39 +00:00
Subhendu Ghosh
5e96a7943b
change ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 )
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@281 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03 20:29:55 +00:00
Subhendu Ghosh
3477ec434d
patch for desync peer and ntpdate (James Fidell)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@280 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03 15:47:21 +00:00
Subhendu Ghosh
19d459ffeb
bugfix [bug 651021 mperry2]
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@279 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03 05:29:54 +00:00
Ton Voon
53cbc4f811
Added cache and tablespace check (621567 - John Marquart)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@270 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29 20:47:56 +00:00
Ton Voon
4755abc591
Added dummy login test (650970 - Ton Voon)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@263 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29 05:10:49 +00:00
Karl DeBisschop
c53487d26c
indicate new default state in get_rpcinfo, also fix a bunch of indents for consistent format
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@252 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-19 06:34:59 +00:00
Subhendu Ghosh
86ac5cbdb7
bug fix for state and opt_c initialization
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@251 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-17 05:56:01 +00:00
Karl DeBisschop
2350599a4c
accept $ for share and \\ for users
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@241 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16 05:19:09 +00:00
Subhendu Ghosh
ce72bc784d
monitor mailq
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@163 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-30 05:07:29 +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
Subhendu Ghosh
1d07069fcb
new exit states, more conditional checking
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@110 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-15 06:23:46 +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
Karl DeBisschop
d7ffaa659f
case on key to ERRORS hash
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@92 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-06 02:25:00 +00:00
Subhendu Ghosh
91c089475c
dispersion check now controlled by warn and crit
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@90 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-04 02:12:05 +00:00
Subhendu Ghosh
9be0af942a
patch for admin shares
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-14 19:17:13 +00:00
Subhendu Ghosh
bb59a4ce87
skip PPP interfaces
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@78 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-14 19:06:38 +00:00
Subhendu Ghosh
bdb73692bf
logic fix for disk space thresholds
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@56 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-20 04:27:38 +00:00
Subhendu Ghosh
5313d0d603
xntpdc/ntpdc patch - John Koyle
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@48 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-08 00:33:50 +00:00
Subhendu Ghosh
4bea73077b
corrected result codes - for sh; corrected substition for libexec - Tom Bertelson
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@47 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-06 04:16:56 +00:00
Subhendu Ghosh
33d91abe09
Add test for Oracle name server, can dynamicall determine ORACLE_HOME - tom Bertelson
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@45 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-06 04:15:06 +00:00
Subhendu Ghosh
9388f9494f
conditional on lmstat
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@44 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-06 04:14:06 +00:00
Subhendu Ghosh
5499b8915e
conditional on ntpdc
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@43 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-06 04:13:44 +00:00
Subhendu Ghosh
85ba43c6b5
checked in too quickly
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@39 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-27 02:10:07 +00:00