Sven Nierlein
7061a76f89
builds: alway put picohttpparser into the dist tarball
...
substituting PICOHTTPPARSER_DIR only when curl gets build, leads
to different dist tarballs depending on wether libcurl was available
or not. This then breaks later builds from this tarball because of
the missing files.
2018-10-24 09:54:20 +02:00
Andreas Baumann
d6491ba403
removed embedded uriparser library, added --with-uriparser configure option
...
to use uriparser library from the system
2018-10-22 16:30:31 +02:00
Andreas Baumann
a739a56148
some rework:
...
- added old style 'redir' function and options along to a new
libcurl internal 'follow' parameter 'curl'
- moved picohttpparser to it's own subdirectory
- added uriparser to be used instead of the home-grown parser in
'redir'
2018-10-22 16:30:31 +02:00
Andreas Baumann
9960c56e5e
added -M<m> age option for document age, using picohttpparser from h2o (maybe handy
...
later to make a more robust header condition checker?)
2018-10-22 16:30:31 +02:00
Sven Nierlein
16121a9b55
check_curl: implement certificate checks
...
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22 16:28:51 +02:00
Andreas Baumann
0b85260bd2
added autoconf stuff for curl plugin, created empty plugin
2018-10-22 16:28:51 +02:00
Holger Weiss
11c5796d0a
Revert "Don't let check_disk hang on hanging file systems"
...
This reverts commit 6986aa1d0a . That
commit leads to issues on non-Linux systems, and it seems to not
(always) work as expected on Linux, either.
Conflicts:
plugins/Makefile.am
plugins/check_disk.c
Closes #1377 and closes #1329 .
2015-10-12 11:07:02 +02:00
Holger Weiss
cf3d149652
Cosmetic change: s/THRLIBS/THREADLIBS/
...
Use a more intuitive variable name.
2014-12-02 12:37:59 +01:00
Gerhard Lausser
6986aa1d0a
Don't let check_disk hang on hanging file systems
2014-11-28 22:08:08 +01:00
Gunnar Beutner
5e03bd8e8c
Make check_users work on Windows.
2014-04-27 19:59:06 +02:00
Davide Madrisan
546e15a8e8
build - avoid deprecated INCLUDES
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-03-09 11:02:18 +01:00
Thomas Guyot-Sionnest
d2744118dc
Merge pull request #1234 from skottler/plugin_makefile_whitespace
...
Remove unnecessary whitespace in Makefile.am
2014-02-07 09:18:06 -05:00
Sam Kottler
54bce08d52
Remove unnecessary whitespace in Makefile.am
2014-02-07 13:53:33 +01:00
Monitoring Plugins Development Team
63734f52ab
Project rename initial commit.
...
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
2014-01-19 14:18:47 -05:00
Holger Weiss
92849a1a87
check_users: Use utmpx(5) only if available
...
For systems that don't provide an utmpx(5) interface, restore the code
that was replaced in commit 3e622f3a47 .
2013-08-20 21:13:25 +02:00
Diego Elio Petten
eeca6e0f05
build: fix building with parallel make.
...
By using a more automake-style handling of dependencies and a single
convenience library, it's tremendously easy to build in parallel.
Note that since the linking happens with the static archives, the
unused objects are discarded and provide no overhead whatsoever.
2013-05-12 14:15:13 +02:00
Holger Weiss
800a868713
Merge remote-tracking branch 'github/tokkee/sh/check_dbi'
2012-07-04 23:50:48 +02:00
M. Remy
3e622f3a47
check_users: improve performance
...
This patch use the utxent function family to collect the user data. It improve the check speed.
Need a system conforming to POSIX.1-2001.
2012-06-07 10:14:16 +02:00
Sebastian Harl
f9a942d2a1
Initial version of the 'check_dbi' plugin.
...
This plugin connects to an SQL database using libdbi, thus supporting all
database backends supported by libdbi. It will then issue the specified SQL
query and check the result (the numeric value of the first column of the first
row to be precise) against the specified warning/critical ranges.
The performance data includes the connection time (µs-resolution as provided
by gettimeofday()) and the query result.
2012-06-06 14:10:55 +02:00
Ton Voon
18f6835eda
Added state retention APIs. Implemented for check_snmp with --rate option.
...
See http://nagiosplugin.org/c-api-private for more details on the API.
Also updated check_snmp -l option to change the perfdata label.
2010-06-23 13:30:34 +00:00
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