nagiosplugins
43c187a944
Allow custom versions with the release file...
2009-09-25 09:31:04 +00:00
Thomas Guyot-Sionnest
fcc4db5aaa
Fix check_by_ssh interpretation of quotes in -C parameter ( #1985246 , #2268675 )
2009-05-26 04:28:41 -04:00
Ton Voon
36e58ae0c3
Fixed passing of quotes in OID for check_snmp ( #1985230 - Jan Wagner, patch by John Barbuto)
2009-03-14 01:17:50 +00:00
Thomas Guyot-Sionnest
71cdb52799
Sync with gnulib
2009-01-15 05:19:08 -05:00
Thomas Guyot-Sionnest
399f0770b2
Fixing build breakages (I totally forgot this rule was there...)
2008-11-26 21:29:40 -05:00
Thomas Guyot-Sionnest
9bcfa9cded
Disable dynamic versionning for releases, and allow generating version out of subversion.
...
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
2008-11-26 05:42:48 -05:00
Thomas Guyot-Sionnest
ed9a088b37
Workaround to support more make programs
...
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-25 08:50:35 -05:00
Thomas Guyot-Sionnest
c0a75482b4
Avoid the use of .PHONY (target s created twice and I have no idea if it's right).
2008-11-23 13:34:19 -05:00
Thomas Guyot-Sionnest
6fbd14fea5
Removing CVS/SVN tags and replacing with git-based versioning
...
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-23 05:38:47 +00:00
Ton Voon
b93562e6e2
check_procs captures stderr and adds to plugin output. This is
...
from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2019 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08 09:31:04 +00:00
Ton Voon
9188225da4
Fixed 64 bit pst3 when tries to link to gettext. Gettext linked
...
dynamically, if necessary
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-14 15:44:27 +00:00
Ton Voon
151531173b
Run tinderbox builds in a test debug mode using "make test-debug"
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12 01:27:48 +00:00
Thomas Guyot-Sionnest
0d34c4da9d
Merge changes from branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)
...
NEWS | 13
plugins/Makefile.am | 8
plugins/check_ntp_peer.c | 628 ++++++++++++++++-------------------------------
plugins/check_ntp_time.c | 323 ++----------------------
plugins/t/check_ntp.t | 92 +++++-
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1846 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-04 12:38:56 +00:00
Ton Voon
8a39526e1b
Stop double expansion of parameters for negate - works like
...
time command now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21 23:01:28 +00:00
Thomas Guyot-Sionnest
e83aff2ef7
Add thresholds support for check_cluster + lots of standardization.
...
Add forgotten items to NEWS.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1688 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15 08:50:59 +00:00
Thomas Guyot-Sionnest
09a854dd89
automake magic for check_cluster
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1683 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-13 11:35:13 +00:00
Ton Voon
49d8064bf3
Various cleanups in the syncing with gnulib
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1581 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24 23:18:05 +00:00
Ton Voon
fe856aa957
Sync with gnulib - lots of extraneous code removed in preference to GNU code
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24 22:47:25 +00:00
Ton Voon
26725ccd15
Move SSL libs to correct order per plugin
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1545 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06 20:34:31 +00:00
Ton Voon
899e9f865f
Only include -lssl for plugins that require it
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1544 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06 17:36:13 +00:00
Ton Voon
ab9b1169c2
Cleanup references to old check_udp and INSTALL_OPTS. Error if
...
--with-nagios-user or --with-nagios-group specified for configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-28 23:59:29 +00:00
Ton Voon
03d772cc0d
check_udp.c deprecated and check_udp now linked to check_tcp. check_udp2 removed
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1459 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-28 22:44:11 +00:00
Ton Voon
548083b2ea
Move new util_* functions to lib/
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-13 12:50:23 +00:00
Ton Voon
ee03f1415a
Moving check_disk functions into utils_disk.c and testing them
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1447 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-12 12:15:42 +00:00
Ton Voon
c46acd0f4b
Fixed compile on Tru64 5.1b (Ciro Iriarte - 1515435)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1438 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-03 07:55:52 +00:00
M. Sean Finney
e667553b97
- check_ntp:
...
- now roughly feature-complete.
- various bugfixes, esp. offset calculation.
- enhanced the asynchronous offset polling to set requests that
haven't recieved a response in >= 1 second to stale and retransmit them,
which results in much better performance on unreliable networks.
- we only spend timeout/2 seconds polling offsets, and if we don't get
everything by that point we work with what we have and set status to
warning/critical depending on how much data we have.
- set the same defaults as the perl script.
- commit changes to configure.in to support automatic building of check_apt
(if apt-get is installed and regex libraries available) and check_ntp
(unconditionally), now defaulting to check_ntp.c instead of the perl script.
if this is an issue we can back out the commit of course. an eye
should be kept on check_ntp building and running correctly in different
environments, esp. 64-bit and big-endian platforms, and those with more
"esoteric" API's (do any of the platforms not have poll()?).
- similar changes to Makefile.am's.
- common.h: add statement to include sys/poll.h
- runcmd.c: exit STATE_UNKNOWN if execve() fails.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1386 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-01 21:52:42 +00:00
Ton Voon
b3b7354467
mysql discovery based on mysql_config (Johan Fischer - 1359414)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21 11:42:59 +00:00
Ton Voon
2db2f402a3
mysql detection cleanup: fixes runtime linking, autodetection of main
...
locations, detection of lib64 and different layouts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-17 14:07:34 +00:00
Ton Voon
7a346c9c90
Clean compile of check_mysql_query on MacOSX
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31 16:45:29 +00:00
Ton Voon
864544b29e
Adding check_mysql_query, using new ranges and threshold checking
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31 14:52:49 +00:00
Ton Voon
795100ae51
Added libtap tests for utils.c library functions. Removed redundant
...
test files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30 16:10:50 +00:00
M. Sean Finney
0ff7d99a5e
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
2005-10-30 22:45:54 +00:00
M. Sean Finney
e2e455a53e
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
2005-10-29 12:46:49 +00:00
M. Sean Finney
16cd0c8151
- 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
2005-10-25 10:38:02 +00:00
M. Sean Finney
ceebd58040
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
2005-10-24 11:10:29 +00:00
M. Sean Finney
4c77862ce3
- 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
2005-10-23 11:59:43 +00:00
M. Sean Finney
65282c7685
- 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
2005-10-19 12:59:55 +00:00
Ton Voon
fb1936ca4f
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
2005-09-21 10:06:37 +00:00
Ton Voon
63e9193516
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
2005-09-14 12:40:26 +00:00
M. Sean Finney
d4c0948266
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
2005-06-28 00:26:53 +00:00
Stanley Hopcroft
2da7e34563
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
2005-02-11 11:49:51 +00:00
Stanley Hopcroft
3567e88878
check_icmp added to libexec_PROGRAMS
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1123 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01 12:30:38 +00:00
Stanley Hopcroft
f9872b0f58
hacks to partly support check_icmp.c (1.0).
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1119 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01 07:34:14 +00:00
Harper Mann
8650b8c72a
Added check_dhcp bask into libexec_PROGRAMS after talking with Stanley.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1110 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-27 01:38:50 +00:00
Stanley Hopcroft
3916bd6506
Removed check_dhcp and check_icmp from libexec_PROGRAMS (ie dont build by defaut)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1095 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-24 23:17:26 +00:00
Benoit Mortier
6ecaa524bf
starttls support for check_smtp #1041576
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1065 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-28 23:18:17 +00:00
Ton Voon
71eefcd38e
Another attempt at fixing check_http compile on Redhat EL3. Fixed check_icmp
...
compile (Lynne Lawrence - 1087171) - still some code changes to check_icmp
outstanding. Fixed compile of check_dhcp (complaining about socklen_t).
Added acknowledgements for Coreutils and curl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1054 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23 09:30:55 +00:00
Ton Voon
8d91bdc4bc
Revert back to previous openssl checks (the ones from curl kept having
...
problems with later Redhat versions)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1051 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21 22:52:54 +00:00
Ton Voon
ffb5464021
Support for coreutils lib. Configure tests via m4 scripts from coreutils
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1029 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-15 20:54:38 +00:00
Matthew Kent
1a8f9b94e5
Compile broken - fixing link flags.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1023 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10 06:10:51 +00:00