Code

nagiosplug.git
19 years agoFixed --mismatch option for check_tcp. Added tests into check_imap
Ton Voon [Fri, 4 Nov 2005 09:38:24 +0000 (09:38 +0000)]
Fixed --mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)

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

19 years agoAdding new tinderbox build script
Ton Voon [Thu, 3 Nov 2005 15:21:31 +0000 (15:21 +0000)]
Adding new tinderbox build script

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

19 years agoInvalid mount point doesn't make sense because most df implementations
Ton Voon [Thu, 3 Nov 2005 15:13:13 +0000 (15:13 +0000)]
Invalid mount point doesn't make sense because most df implementations
would work out the actual mount point. And fixed typo in check_procs.t

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

19 years agoFixing some test failures
Ton Voon [Thu, 3 Nov 2005 15:04:16 +0000 (15:04 +0000)]
Fixing some test failures

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

19 years ago#995761: patch from ben o'hara to include inode calculations in
M. Sean Finney [Wed, 2 Nov 2005 08:59:33 +0000 (08:59 +0000)]
#995761: patch from ben o'hara to include inode calculations in
         check_disk.c.

previous commit also had a patch for smtp auth support, but i accidentally
sent a blank commit message.

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

19 years agocheck_smtp.c
M. Sean Finney [Wed, 2 Nov 2005 08:47:26 +0000 (08:47 +0000)]
check_smtp.c

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

19 years agocode cleanups, largely resulting from turning on -Wall. mostly
M. Sean Finney [Mon, 31 Oct 2005 20:03:19 +0000 (20:03 +0000)]
code cleanups, largely resulting from turning on -Wall.  mostly
unused variables and explicit casting issues, but there were a
couple gotchas in there too.

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

19 years agoturned on -Wall in plugins/Makefile.am via AM_CFLAGS. shouldn't keep
M. Sean Finney [Sun, 30 Oct 2005 22:45:54 +0000 (22:45 +0000)]
turned on -Wall in plugins/Makefile.am via AM_CFLAGS.  shouldn't keep
our heads in the sand for potential errors, after all :)

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

19 years agoanother fix from alex: check for '/' in the server_address before
M. Sean Finney [Sun, 30 Oct 2005 18:05:19 +0000 (18:05 +0000)]
another fix from alex: check for '/' in the server_address before
trying to resolve it via is_host().

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

19 years agofixes for some bugs found in my merging of the tcp socket patch
M. Sean Finney [Sun, 30 Oct 2005 10:25:26 +0000 (10:25 +0000)]
fixes for some bugs found in my merging of the tcp socket patch

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

19 years agocheck_log fixes from Ade Rixon
M. Sean Finney [Sat, 29 Oct 2005 15:38:40 +0000 (15:38 +0000)]
check_log fixes from Ade Rixon

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

19 years agopatch from nsturm: Makefile.am should have been checking for check_ldap
M. Sean Finney [Sat, 29 Oct 2005 12:46:49 +0000 (12:46 +0000)]
patch from nsturm: Makefile.am should have been checking for check_ldap
instead of check_ldaps.  the result was that check_ldaps was not being
created during the build process.

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

19 years ago- added code to allow check_tcp (via np_net_connect) work with local
M. Sean Finney [Tue, 25 Oct 2005 10:38:02 +0000 (10:38 +0000)]
- added code to allow check_tcp (via np_net_connect) work with local
  unix sockets.  some testing would be welcome.  based on idea from
  Alex Samorukov.
- also introduced a check_clamd behavior in check_tcp.

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

19 years agoinitial merging of ae's np_runcmd code into selected plugins.
M. Sean Finney [Mon, 24 Oct 2005 11:10:29 +0000 (11:10 +0000)]
initial merging of ae's np_runcmd code into selected plugins.

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

19 years agowhoops, missed this one, same as last commit
M. Sean Finney [Sun, 23 Oct 2005 12:01:06 +0000 (12:01 +0000)]
whoops, missed this one, same as last commit

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

19 years ago- compartmentalized ssl code into seperate sslutils.c
M. Sean Finney [Sun, 23 Oct 2005 11:59:43 +0000 (11:59 +0000)]
- compartmentalized ssl code into seperate sslutils.c
- ssl-related cleanups in configure.in, and now openssl/gnutls options
  automatically disable each other.

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

19 years agoall plugins now using centralized ssl functions in netutils.c
M. Sean Finney [Wed, 19 Oct 2005 20:22:00 +0000 (20:22 +0000)]
all plugins now using centralized ssl functions in netutils.c

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

19 years agoendif was a few lines off of where it should be
M. Sean Finney [Wed, 19 Oct 2005 13:05:41 +0000 (13:05 +0000)]
endif was a few lines off of where it should be

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

19 years ago- initial attempt at consolidating ssl-related code into netutils.{c,h}
M. Sean Finney [Wed, 19 Oct 2005 12:59:55 +0000 (12:59 +0000)]
- initial attempt at consolidating ssl-related code into netutils.{c,h}
- added some #ifdefs to common.h and netutils.h to prevent multiple
  inclusions (as netlibs now includes common.h)
- all ssl plugins (tcp/http/smtp) compile cleanly against gnutls, though
  certificate checking still needs to be done.
- modified configure script so you can also explicitly say "without-gnutls"
  too (otherwise if you disable openssl you have no way of disabling
  gnutls too)

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

19 years agoinitial "experimental" support for gnutls. by default openssl is still
M. Sean Finney [Tue, 18 Oct 2005 22:35:29 +0000 (22:35 +0000)]
initial "experimental" support for gnutls.  by default openssl is still
used if available, and gnutls is only used if openssl is not available
or explicitly disabled (--without-openssl).   currently the only plugin
i've verified to work is check_tcp, but i had to disable cert checking.

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

19 years agoAdded license information to README with exemption for use of OpenSSL
Ton Voon [Tue, 18 Oct 2005 09:26:20 +0000 (09:26 +0000)]
Added license information to README with exemption for use of OpenSSL

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

19 years agoRun spopen tests for Redhat ES SMP (Hans Engelen)
Ton Voon [Thu, 13 Oct 2005 11:51:15 +0000 (11:51 +0000)]
Run spopen tests for Redhat ES SMP (Hans Engelen)

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

19 years agodebian bts #313960:
M. Sean Finney [Thu, 13 Oct 2005 10:22:06 +0000 (10:22 +0000)]
debian bts #313960:
- grammatical german fixes.  i'm taking the reporter's word for it :)

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

19 years agodebian bts #268044:
M. Sean Finney [Thu, 13 Oct 2005 10:20:50 +0000 (10:20 +0000)]
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

19 years agodebian bts #296278:
M. Sean Finney [Thu, 13 Oct 2005 10:18:27 +0000 (10:18 +0000)]
debian bts #296278:
- it seems that when check_disk uses the "df" routines and is told to
  check a non-mountpoint, it would check the filesystem on which the
  directory was mounted (i.e. /var/log -> /var if no /var/log mount).
  the system-call routines now do this too.  might need a bit more
  widespread testing, but looks good for me and i did it without
  modifying any of the system-call-specific codeblocks.

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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