Code

nagiosplug.git
18 years agodebian bts #307905:
M. Sean Finney [Thu, 13 Oct 2005 10:16:02 +0000 (10:16 +0000)]
debian bts #307905:
- someone changed the cmdline syntax of check game without also
  updating the usage/help function ;p

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1248 f882894a-f735-0410-b71e-b25c423dba1c

18 years agodebian bts #300701:
M. Sean Finney [Thu, 13 Oct 2005 10:14:33 +0000 (10:14 +0000)]
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

18 years agomultiple fixes in check_smtp from debian (bts #285554):
M. Sean Finney [Thu, 13 Oct 2005 10:11:25 +0000 (10:11 +0000)]
multiple fixes in check_smtp from debian (bts #285554):
- fix for double free via SSL_CTX_free.  looks like the previous author
  knew this was a problem but didn't care enough to fix it ;p.
- use defines instead of const chars for SMTP strings.
- default to send our fqdn (via gethostbyname lookup on gethostname)
  in the HELO string, as this is an RFC/SMTP requirement.  overridable
  via cmdline.
- use EHLO instead of HELO if using STARTTLS, as it is not SMTP but
  ESMTP.
- verify the server supports STARTTLS before initializing it.
- always send QUIT before disconnecting when possible.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1246 f882894a-f735-0410-b71e-b25c423dba1c

18 years agowas this plugin even working? i don't think the if/else logic
M. Sean Finney [Thu, 13 Oct 2005 09:58:12 +0000 (09:58 +0000)]
was this plugin even working?  i don't think the if/else logic
was doing what was intended.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1245 f882894a-f735-0410-b71e-b25c423dba1c

18 years agocheck mysql now reads [client] defaults from my.cnf (debian bug #278817)
M. Sean Finney [Thu, 13 Oct 2005 09:55:31 +0000 (09:55 +0000)]
check mysql now reads [client] defaults from my.cnf (debian bug #278817)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1244 f882894a-f735-0410-b71e-b25c423dba1c

18 years agofix for misreporting temperature in perfdata output for check_ups
M. Sean Finney [Thu, 6 Oct 2005 12:16:06 +0000 (12:16 +0000)]
fix for misreporting temperature in perfdata output for check_ups
(debian bts id: #316534)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1243 f882894a-f735-0410-b71e-b25c423dba1c

18 years agowhoops. now using automake conditionals to prevent attempted compiles
M. Sean Finney [Thu, 6 Oct 2005 12:12:47 +0000 (12:12 +0000)]
whoops.  now using automake conditionals to prevent attempted compiles
of pst3 on non solaris systems.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoadded rules to Makefile.am for pst3
M. Sean Finney [Sun, 25 Sep 2005 16:34:07 +0000 (16:34 +0000)]
added rules to Makefile.am for pst3

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1241 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoa final change to hardcode the path for where plugins are installed.
M. Sean Finney [Sat, 24 Sep 2005 20:01:44 +0000 (20:01 +0000)]
a final change to hardcode the path for where plugins are installed.
it's a very, very ugly hack... if anyone can think of a better way
to do it, i'm all ears.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1240 f882894a-f735-0410-b71e-b25c423dba1c

18 years agouse test instead of '[ ... ]' in configure.in. the check_procs/pst3
M. Sean Finney [Thu, 22 Sep 2005 12:10:19 +0000 (12:10 +0000)]
use test instead of '[ ... ]' in configure.in.  the check_procs/pst3
situation is still not quite fixed.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1239 f882894a-f735-0410-b71e-b25c423dba1c

18 years agofirst version of bob ingraham's pst3 to allow checking for longer
M. Sean Finney [Thu, 22 Sep 2005 09:43:12 +0000 (09:43 +0000)]
first version of bob ingraham's pst3 to allow checking for longer
cmdline names than otherwise possible, by querying solaris kmem
directly (ps forcibly truncates).  added requisite configure.in voodoo
and updated THANKS.in.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1238 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMark moving of check_dhcp and check_icmp for translation
Ton Voon [Thu, 22 Sep 2005 08:10:56 +0000 (08:10 +0000)]
Mark moving of check_dhcp and check_icmp for translation

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1237 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated with contributors and new team member
Ton Voon [Wed, 21 Sep 2005 13:07:40 +0000 (13:07 +0000)]
Updated with contributors and new team member

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1236 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoReopen connections for each query (1296296 - David Sullivan)
Ton Voon [Wed, 21 Sep 2005 13:04:54 +0000 (13:04 +0000)]
Reopen connections for each query (1296296 - David Sullivan)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1235 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMoved into plugins-root/
Ton Voon [Wed, 21 Sep 2005 10:09:09 +0000 (10:09 +0000)]
Moved into plugins-root/

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1234 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSeparation of root setuid plugins into plugins-root/
Ton Voon [Wed, 21 Sep 2005 10:06:37 +0000 (10:06 +0000)]
Separation of root setuid plugins into plugins-root/

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1233 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoIncorrect assignment of procppid in configure.in (1296497 - Pascal Larisch)
Ton Voon [Tue, 20 Sep 2005 16:11:24 +0000 (16:11 +0000)]
Incorrect assignment of procppid in configure.in (1296497 - Pascal Larisch)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1232 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSupport for Tru64 for check_procs + additional test cases
Ton Voon [Tue, 20 Sep 2005 11:34:34 +0000 (11:34 +0000)]
Support for Tru64 for check_procs + additional test cases

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1231 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNote to update version number before creating ChangeLog
Ton Voon [Mon, 19 Sep 2005 14:18:28 +0000 (14:18 +0000)]
Note to update version number before creating ChangeLog

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1230 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFor 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:51:20 +0000 (13:51 +0000)]
For 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1228 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated for 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:48:39 +0000 (13:48 +0000)]
Updated for 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1227 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoReminders for news item and tag format
Ton Voon [Mon, 19 Sep 2005 13:46:04 +0000 (13:46 +0000)]
Reminders for news item and tag format

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1226 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated BUGS for 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:42:44 +0000 (13:42 +0000)]
Updated BUGS for 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1225 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMore contributors
Ton Voon [Mon, 19 Sep 2005 10:58:24 +0000 (10:58 +0000)]
More contributors

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1224 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoAdded test to make sure hostname has to be specified
Ton Voon [Thu, 15 Sep 2005 08:39:23 +0000 (08:39 +0000)]
Added test to make sure hostname has to be specified

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1223 f882894a-f735-0410-b71e-b25c423dba1c

18 years ago- Cleanup minor compile errors on Irix
Ton Voon [Thu, 15 Sep 2005 08:27:58 +0000 (08:27 +0000)]
- Cleanup minor compile errors on Irix

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1222 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUsing common message
Ton Voon [Wed, 14 Sep 2005 14:40:20 +0000 (14:40 +0000)]
Using common message

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoRequired hostname not flagging as an error
Ton Voon [Wed, 14 Sep 2005 14:36:00 +0000 (14:36 +0000)]
Required hostname not flagging as an error

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1220 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSome makes do not like blank lines after "\". Fixed check_ldaps to only
Ton Voon [Wed, 14 Sep 2005 12:40:26 +0000 (12:40 +0000)]
Some makes do not like blank lines after "\". Fixed check_ldaps to only
generate if check_ldap was created (Chester Hosey)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1219 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFix to parsing of uptime (Ronald Tin - 1254656)
Ton Voon [Wed, 14 Sep 2005 09:53:49 +0000 (09:53 +0000)]
Fix to parsing of uptime (Ronald Tin - 1254656)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1218 f882894a-f735-0410-b71e-b25c423dba1c

18 years ago- Removing typos
Ton Voon [Wed, 14 Sep 2005 09:49:17 +0000 (09:49 +0000)]
- Removing typos

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1217 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMore diagnostic messages from check_ping
Ton Voon [Tue, 13 Sep 2005 15:48:15 +0000 (15:48 +0000)]
More diagnostic messages from check_ping

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1216 f882894a-f735-0410-b71e-b25c423dba1c

18 years agore-add a call to setlocale(LC_ALL, "") in check_ping.c
M. Sean Finney [Mon, 12 Sep 2005 11:20:51 +0000 (11:20 +0000)]
re-add a call to setlocale(LC_ALL, "") in check_ping.c

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1215 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFor help in fixing Red Hat problem with ECHILD and waitpid
Ton Voon [Mon, 12 Sep 2005 10:37:16 +0000 (10:37 +0000)]
For help in fixing Red Hat problem with ECHILD and waitpid

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1214 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoECHILD error at waitpid on Red Hat systems (Peter Pramberger and
Ton Voon [Mon, 12 Sep 2005 10:31:29 +0000 (10:31 +0000)]
ECHILD error at waitpid on Red Hat systems (Peter Pramberger and
Sascha Runschke - 1250191)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1213 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoBetter comments for what the substitutions are doing
Ton Voon [Tue, 30 Aug 2005 22:11:42 +0000 (22:11 +0000)]
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

18 years agoMove notes on branching away from RELEASING
Ton Voon [Mon, 1 Aug 2005 21:30:42 +0000 (21:30 +0000)]
Move notes on branching away from RELEASING

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1210 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFor 1.4.1 release
Ton Voon [Mon, 1 Aug 2005 21:28:36 +0000 (21:28 +0000)]
For 1.4.1 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1209 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoChange the environment variable NPTESTCACHE to NPTEST_CACHE for consistancy
Peter Bray [Mon, 25 Jul 2005 14:17:48 +0000 (14:17 +0000)]
Change the environment variable NPTESTCACHE to NPTEST_CACHE for consistancy

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c

18 years ago[1185704] New Testing Infrastructure.
Peter Bray [Mon, 25 Jul 2005 01:47:15 +0000 (01:47 +0000)]
[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

18 years agoMore contributors
Ton Voon [Wed, 20 Jul 2005 22:39:45 +0000 (22:39 +0000)]
More contributors

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1206 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFix parsing for netkit-ping and iputils-ping (Christian G Warden)
Ton Voon [Wed, 20 Jul 2005 22:38:37 +0000 (22:38 +0000)]
Fix parsing for netkit-ping and iputils-ping (Christian G Warden)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1205 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMiscelleneous bug fixes (Gerd Mueller - 1235879)
Ton Voon [Mon, 11 Jul 2005 22:15:58 +0000 (22:15 +0000)]
Miscelleneous bug fixes (Gerd Mueller - 1235879)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1204 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoChanged format (already!) for awk simplicity
Ton Voon [Sat, 9 Jul 2005 04:44:06 +0000 (04:44 +0000)]
Changed format (already!) for awk simplicity

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1203 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoMaster file to describe the current branches in CVS. Will be used by
Ton Voon [Sat, 9 Jul 2005 04:03:36 +0000 (04:03 +0000)]
Master file to describe the current branches in CVS. Will be used by
sfsnapshot to create the snapshot tarballs

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1202 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoRemoved ",", causing problems with MacOSX compile
Ton Voon [Wed, 6 Jul 2005 22:21:34 +0000 (22:21 +0000)]
Removed ",", causing problems with MacOSX compile

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1201 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated help file to remove swap -s reference (Sivakumar Nellurandi)
Ton Voon [Wed, 6 Jul 2005 22:10:04 +0000 (22:10 +0000)]
Updated help file to remove swap -s reference (Sivakumar Nellurandi)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1200 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSean Finney moved to main list of plugin developers
Ton Voon [Wed, 6 Jul 2005 21:00:09 +0000 (21:00 +0000)]
Sean Finney moved to main list of plugin developers

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1199 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoreplace the version of check_traffic who was missing the plugin
Benoit Mortier [Mon, 4 Jul 2005 09:52:47 +0000 (09:52 +0000)]
replace the version of check_traffic who was missing the plugin
by a good one

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1198 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoinitial versions of the runcmd framework by andreas
M. Sean Finney [Wed, 29 Jun 2005 04:11:29 +0000 (04:11 +0000)]
initial versions of the runcmd framework by andreas

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1197 f882894a-f735-0410-b71e-b25c423dba1c

18 years agodivide by 0 fix for check_swap
M. Sean Finney [Wed, 29 Jun 2005 01:04:10 +0000 (01:04 +0000)]
divide by 0 fix for check_swap

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1196 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoset LC_NUMERIC to POSIX in check_load (1164325)
M. Sean Finney [Tue, 28 Jun 2005 02:26:18 +0000 (02:26 +0000)]
set LC_NUMERIC to POSIX in check_load (1164325)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoscanf parsing fix for check_swap from tracker id 1123292. now use floor(3)
M. Sean Finney [Tue, 28 Jun 2005 00:26:53 +0000 (00:26 +0000)]
scanf parsing fix for check_swap from tracker id 1123292.  now use floor(3)
to round down floating point numbers.  requires -lm on many systems,
so support for testing for this was added to the configure.in and
automake template

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1194 f882894a-f735-0410-b71e-b25c423dba1c

18 years agofixes from richard brodie (tracker id 1216576)
M. Sean Finney [Mon, 27 Jun 2005 13:07:39 +0000 (13:07 +0000)]
fixes from richard brodie (tracker id 1216576)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1193 f882894a-f735-0410-b71e-b25c423dba1c

18 years agospring cleaning of contrib directory from andreas
M. Sean Finney [Sun, 26 Jun 2005 16:27:05 +0000 (16:27 +0000)]
spring cleaning of contrib directory from andreas

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1192 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoremoval of obsolete tarballs
M. Sean Finney [Sun, 26 Jun 2005 16:18:00 +0000 (16:18 +0000)]
removal of obsolete tarballs

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1191 f882894a-f735-0410-b71e-b25c423dba1c

18 years ago"asprintf madness" fix from andreas' patch to np-d, minus the comments.
M. Sean Finney [Sun, 26 Jun 2005 01:23:47 +0000 (01:23 +0000)]
"asprintf madness" fix from andreas' patch to np-d, minus the comments.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1190 f882894a-f735-0410-b71e-b25c423dba1c

18 years agocheck_tcp code cleanup from andreas plus fix to andreas' patch from sean
M. Sean Finney [Sun, 5 Jun 2005 17:43:58 +0000 (17:43 +0000)]
check_tcp code cleanup from andreas plus fix to andreas' patch from sean

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1189 f882894a-f735-0410-b71e-b25c423dba1c

18 years agogcc 2.x fixes from edward
M. Sean Finney [Fri, 3 Jun 2005 13:53:43 +0000 (13:53 +0000)]
gcc 2.x fixes from edward

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1188 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoonly load mibs if needed or specified - patch 1212395
Subhendu Ghosh [Wed, 1 Jun 2005 19:41:01 +0000 (19:41 +0000)]
only load mibs if needed or specified - patch 1212395

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1187 f882894a-f735-0410-b71e-b25c423dba1c

19 years agobugfixes to check_load thanks to andreas
M. Sean Finney [Sat, 28 May 2005 01:21:54 +0000 (01:21 +0000)]
bugfixes to check_load thanks to andreas

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1186 f882894a-f735-0410-b71e-b25c423dba1c

19 years agofix for check_msyql so that it doesn't use column numbers but the
M. Sean Finney [Thu, 26 May 2005 02:13:19 +0000 (02:13 +0000)]
fix for check_msyql so that it doesn't use column numbers but the
names instead for determining slave status.  thanks to james kingston.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1185 f882894a-f735-0410-b71e-b25c423dba1c

19 years ago 64bit sys support - 1185713
Subhendu Ghosh [Wed, 25 May 2005 17:42:35 +0000 (17:42 +0000)]
 64bit sys support - 1185713

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1183 f882894a-f735-0410-b71e-b25c423dba1c

19 years agosupport for getnext - 1106430
Subhendu Ghosh [Wed, 25 May 2005 15:40:32 +0000 (15:40 +0000)]
support for getnext - 1106430

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1182 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoRH9 pattern
Subhendu Ghosh [Wed, 25 May 2005 14:25:55 +0000 (14:25 +0000)]
RH9 pattern

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoperfdata patch - 1172539
Subhendu Ghosh [Wed, 25 May 2005 14:05:41 +0000 (14:05 +0000)]
perfdata patch - 1172539

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1180 f882894a-f735-0410-b71e-b25c423dba1c

19 years agonew option for zero offset - 1159317
Subhendu Ghosh [Wed, 25 May 2005 03:37:48 +0000 (03:37 +0000)]
new option for zero offset - 1159317

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1179 f882894a-f735-0410-b71e-b25c423dba1c

19 years agov2c support - 1155754
Subhendu Ghosh [Wed, 25 May 2005 03:23:19 +0000 (03:23 +0000)]
v2c support - 1155754

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1178 f882894a-f735-0410-b71e-b25c423dba1c

19 years agofixes for check_procs:
M. Sean Finney [Wed, 25 May 2005 00:43:20 +0000 (00:43 +0000)]
fixes for check_procs:
- added support for printing the pid in all the ps outputs
- don't use the proc name to ignore self, use the pid vs getpid().
- initialize procetime to null string otherwise -vvv can have funny results

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1177 f882894a-f735-0410-b71e-b25c423dba1c

19 years agobah, my_connect is taken by mysql. now calling it np_net_connect.
M. Sean Finney [Wed, 25 May 2005 00:30:19 +0000 (00:30 +0000)]
bah, my_connect is taken by mysql.  now calling it np_net_connect.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c

19 years agopatched bug id 1200030 - regex update
Subhendu Ghosh [Tue, 24 May 2005 22:33:09 +0000 (22:33 +0000)]
patched bug id 1200030 - regex update

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1175 f882894a-f735-0410-b71e-b25c423dba1c

19 years agopatched bug id 1204636
Subhendu Ghosh [Tue, 24 May 2005 22:10:05 +0000 (22:10 +0000)]
patched bug id 1204636

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1174 f882894a-f735-0410-b71e-b25c423dba1c

19 years agooptimizations and cleanup from andreas
M. Sean Finney [Tue, 24 May 2005 20:25:19 +0000 (20:25 +0000)]
optimizations and cleanup from andreas

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1173 f882894a-f735-0410-b71e-b25c423dba1c

19 years agobuild fix
M. Sean Finney [Mon, 23 May 2005 05:09:51 +0000 (05:09 +0000)]
build fix

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1172 f882894a-f735-0410-b71e-b25c423dba1c

19 years agosetlocale(LC_ALL, "") should be setlocale(LC_NUMERIC, "C") to properly parse the...
M. Sean Finney [Tue, 3 May 2005 02:00:51 +0000 (02:00 +0000)]
setlocale(LC_ALL, "") should be setlocale(LC_NUMERIC, "C") to properly parse the output of ping.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoif check_tcp was called with -e but not -s, it would hang in a call to my_recv. the
M. Sean Finney [Tue, 3 May 2005 01:52:19 +0000 (01:52 +0000)]
if check_tcp was called with -e but not -s, it would hang in a call to my_recv.  the
fix committed here adds on more piece of logic to the check to see if more data needs
to be read, avoiding the deadlock call.  a better fix would be to not use these "voodoo"
heuristics and instead use poll() or select(), but that's quite a bit more complicated.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1170 f882894a-f735-0410-b71e-b25c423dba1c

19 years agobetter error checking in spopen signal handler (see 1107524)
M. Sean Finney [Sun, 1 May 2005 20:12:03 +0000 (20:12 +0000)]
better error checking in spopen signal handler (see 1107524)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1169 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoprovide a --with-perl option
M. Sean Finney [Sun, 1 May 2005 19:50:15 +0000 (19:50 +0000)]
provide a --with-perl option

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c

19 years agocheck_sybase 0.7 from Simon Bellman. Thx
Stanley Hopcroft [Fri, 29 Apr 2005 00:27:49 +0000 (00:27 +0000)]
check_sybase 0.7 from Simon Bellman. Thx

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1167 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoregexp fix for check_ntp
M. Sean Finney [Tue, 19 Apr 2005 00:16:58 +0000 (00:16 +0000)]
regexp fix for check_ntp

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c

19 years agocheck for the -w flag for ping6 as well as ping
M. Sean Finney [Tue, 19 Apr 2005 00:09:18 +0000 (00:09 +0000)]
check for the -w flag for ping6 as well as ping

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1165 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoalso change the --help output to reflect that check_disk_smb defaults to empty passwords
M. Sean Finney [Sun, 17 Apr 2005 22:22:41 +0000 (22:22 +0000)]
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

19 years agopatch to check_disk_smb to allow empty passwords
M. Sean Finney [Sat, 16 Apr 2005 06:09:47 +0000 (06:09 +0000)]
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

19 years agocheck_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/
M. Sean Finney [Thu, 14 Apr 2005 04:13:13 +0000 (04:13 +0000)]
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

19 years agotypographical fix in check_ntp
M. Sean Finney [Thu, 14 Apr 2005 04:07:24 +0000 (04:07 +0000)]
typographical fix in check_ntp

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1161 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoproperly call close() on the ssh connection before exiting.
M. Sean Finney [Mon, 11 Apr 2005 18:02:40 +0000 (18:02 +0000)]
properly call close() on the ssh connection before exiting.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1160 f882894a-f735-0410-b71e-b25c423dba1c

19 years agothis should add support for check_ssmtp, based on the 1.3.x patch in 1155562,
M. Sean Finney [Mon, 11 Apr 2005 03:07:59 +0000 (03:07 +0000)]
this should add support for check_ssmtp, based on the 1.3.x patch in 1155562,
but fixed to follow how things are done in 1.4 (using strdup instead of
asprintf) and patching configure.in instead of configure.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1159 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoin honor of joining up, my first bugfix. this should resolve 1174070.
M. Sean Finney [Thu, 7 Apr 2005 04:33:33 +0000 (04:33 +0000)]
in honor of joining up, my first bugfix.  this should resolve 1174070.

note i don't have an exchange server to test this against, but it
does what the requester mentioned (slightly cleaner than the patch
attached in the tracker).

it does, however, still work against my own postfix server :)

sean

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1158 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoThis is a first cut at adding performance data to check_snmp. I wasn't sure
Harper Mann [Tue, 5 Apr 2005 21:26:56 +0000 (21:26 +0000)]
This is a first cut at adding performance data to check_snmp.  I wasn't sure
how to handle UOM so only values that return SNMP type Counter32: are labled
with "c".  All other values have a blank UOM.  I also left off warn, crit,
max and min values in the performance data until we come up with a way to
handle them.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1157 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoMore contributors
Ton Voon [Mon, 4 Apr 2005 18:25:06 +0000 (18:25 +0000)]
More contributors

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1156 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoFix static buffer (Nikolay Sturm)
Ton Voon [Mon, 4 Apr 2005 18:24:12 +0000 (18:24 +0000)]
Fix static buffer (Nikolay Sturm)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1155 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoReplication check support for 4.1.x from Gerrit Beine
Matthew Kent [Fri, 18 Mar 2005 03:14:03 +0000 (03:14 +0000)]
Replication check support for 4.1.x from Gerrit Beine

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1154 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded OS info for offset issue
Ton Voon [Tue, 8 Mar 2005 06:19:32 +0000 (06:19 +0000)]
Added OS info for offset issue

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoIgnore extra check on offset 0.00000 (John Warburton - 1150777)
Ton Voon [Fri, 4 Mar 2005 22:20:17 +0000 (22:20 +0000)]
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

19 years agoFixed // comments (Steve Greenland - 1143836)
Ton Voon [Fri, 4 Mar 2005 21:58:40 +0000 (21:58 +0000)]
Fixed // comments (Steve Greenland - 1143836)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1146 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoSupport for IPv6 (Merijn Evertse - 1119917)
Ton Voon [Fri, 4 Mar 2005 21:50:02 +0000 (21:50 +0000)]
Support for IPv6 (Merijn Evertse - 1119917)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1145 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoChanged to next version number
Ton Voon [Fri, 4 Mar 2005 21:04:57 +0000 (21:04 +0000)]
Changed to next version number

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1144 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoNotes on branching
Ton Voon [Fri, 4 Mar 2005 21:03:43 +0000 (21:03 +0000)]
Notes on branching

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1143 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoMissed check_disk addition to 1.4
Ton Voon [Fri, 4 Mar 2005 20:43:19 +0000 (20:43 +0000)]
Missed check_disk addition to 1.4

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1141 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoFix for check_icmp build on Solaris from Andreas Ericsson <ae@op5.se>
Stanley Hopcroft [Fri, 11 Feb 2005 11:49:51 +0000 (11:49 +0000)]
Fix for check_icmp build on Solaris from Andreas Ericsson <ae@op5.se>

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1140 f882894a-f735-0410-b71e-b25c423dba1c