Code

nagiosplug.git
18 years agoNagiosplug bug 1266977. Added code to insert the closing </A> after the plugin outpu...
Harper Mann [Wed, 7 Dec 2005 19:32:37 +0000 (19:32 +0000)]
Nagiosplug bug 1266977.  Added code to insert the closing </A> after the plugin output but before the performance output.

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

18 years agoNo floorf on Solaris 9 (Jon Vandegrift - 1374705)
Ton Voon [Wed, 7 Dec 2005 15:10:27 +0000 (15:10 +0000)]
No floorf on Solaris 9 (Jon Vandegrift - 1374705)

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

18 years agoSupport for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)
Ton Voon [Fri, 2 Dec 2005 22:28:06 +0000 (22:28 +0000)]
Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)

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

18 years agoIgnore temporary files created for tests
Ton Voon [Fri, 2 Dec 2005 22:25:22 +0000 (22:25 +0000)]
Ignore temporary files created for tests

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

18 years agoRun longer test on redhat for spopen/pthread problem. Allow enable/disable of
Ton Voon [Thu, 1 Dec 2005 01:05:12 +0000 (01:05 +0000)]
Run longer test on redhat for spopen/pthread problem. Allow enable/disable of
pthread fix via configure option

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

18 years agoNagiosplug bug # 1251096
Harper Mann [Wed, 30 Nov 2005 00:49:47 +0000 (00:49 +0000)]
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

18 years agoUNKNOWN exit status was returning status of "-1", changed to "3"
Harper Mann [Tue, 29 Nov 2005 23:21:06 +0000 (23:21 +0000)]
UNKNOWN exit status was returning status of "-1", changed to "3"

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

18 years agoBug: 1355304 Added patch for ePN and perl warnings. Fixed some text and
Harper Mann [Tue, 29 Nov 2005 23:19:06 +0000 (23:19 +0000)]
Bug: 1355304 Added patch for ePN and perl warnings.  Fixed some text and
a warning about type comparison.

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

18 years agoCreate a permanent link to HEAD snapshot
Ton Voon [Fri, 18 Nov 2005 12:56:08 +0000 (12:56 +0000)]
Create a permanent link to HEAD snapshot

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

18 years agoUpdated with more detailed description of UNKNOWN states
Ton Voon [Fri, 18 Nov 2005 11:56:00 +0000 (11:56 +0000)]
Updated with more detailed description of UNKNOWN states

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

18 years agoFixed some compile errors with new translations. Also reintroduced formatting
Ton Voon [Wed, 16 Nov 2005 17:26:58 +0000 (17:26 +0000)]
Fixed some compile errors with new translations. Also reintroduced formatting
after discussion with Benoit

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

18 years agoUpdated tests to minimise false positives. Breaking down so more obvious
Ton Voon [Tue, 15 Nov 2005 16:26:42 +0000 (16:26 +0000)]
Updated tests to minimise false positives. Breaking down so more obvious
what the tests are doing

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

18 years agoAdded section re: translations
Ton Voon [Mon, 14 Nov 2005 14:43:14 +0000 (14:43 +0000)]
Added section re: translations

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

18 years agolocalization cleaning ...
Benoit Mortier [Mon, 14 Nov 2005 01:18:57 +0000 (01:18 +0000)]
localization cleaning ...
last commit before sleeping

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

18 years agostart of the cleaning of the localization
Benoit Mortier [Mon, 14 Nov 2005 00:51:44 +0000 (00:51 +0000)]
start of the cleaning of the localization

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

18 years agoUpdated check_disk tests to use Test::More (Serhan Kiymaz)
Ton Voon [Sat, 12 Nov 2005 23:48:29 +0000 (23:48 +0000)]
Updated check_disk tests to use Test::More (Serhan Kiymaz)

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

18 years agoUsing Test::More
Ton Voon [Wed, 9 Nov 2005 17:27:36 +0000 (17:27 +0000)]
Using Test::More

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

18 years agoAdded new NPTest->testCmd which returns objects back for testing
Ton Voon [Wed, 9 Nov 2005 16:40:12 +0000 (16:40 +0000)]
Added new NPTest->testCmd which returns objects back for testing
at the test script level. Updated check_swap and check_imap to this
new format

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

18 years agoProblem where absolute thresholds not working on /proc/meminfo
Ton Voon [Wed, 9 Nov 2005 16:37:55 +0000 (16:37 +0000)]
Problem where absolute thresholds not working on /proc/meminfo
systems. Suffixed all variables with the unit of measurement

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

18 years agoTypo with predetermined values
Ton Voon [Wed, 9 Nov 2005 16:34:50 +0000 (16:34 +0000)]
Typo with predetermined values

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

18 years agoAdded copyright/license info required in submissions
Ton Voon [Wed, 9 Nov 2005 14:10:57 +0000 (14:10 +0000)]
Added copyright/license info required in submissions

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

18 years agoUpdated dev guidelines to link to NagiosExchange. Removed project admin
Ton Voon [Wed, 9 Nov 2005 09:31:58 +0000 (09:31 +0000)]
Updated dev guidelines to link to NagiosExchange. Removed project admin
notes from guidelines into separate file

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

18 years agoincorporated patch from Elan Ruusamäe (ahmake) to override
M. Sean Finney [Mon, 7 Nov 2005 12:46:10 +0000 (12:46 +0000)]
incorporated patch from Elan Ruusamäe (ahmake) to override
program autodetection (see Feature Requests-1341528).  i would
not call this quite complete just yet (i'll explain more in the
tracker), but should be functional and useful enough to commit
now, in any case.

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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