Age | Commit message (Collapse) | Author | Files | Lines |
|
* 'master' of https://github.com/ozamosi/nagios-plugins:
check_snmp: Close potential for using uninitialized memory
check_snmp: Dynamically grow all data structures
Conflicts:
plugins/check_snmp.c
|
|
* 'master' of https://github.com/bugness-chl/nagios-plugins:
check_disk: option to ignore reserved space
Conflicts:
plugins/check_disk.c
|
|
A check with thresholds 9000,1 must exit with warning if the certificate expires in less
than 9000 but more than one day.
|
|
|
|
Commit bd782990566eec91b8312cfc2765a7e2bd9e67da reintroduced support for
inverse threshold ranges such as "2:1", but it broke standard thresholds
such as "1:2" (by converting this range into "1") or "1:" (by converting
this range into "@:2"). This commit fixes those two bugs, plus an
off-by-one error while computing the number of bytes to allocate when
handling inverse thresholds (two additional bytes were allocated where
three were required to hold '@' and ':' and '\0'). While at it, we also
check whether malloc(3) succeeded.
|
|
We use OpenSSL (or GnuTLS) with blocking semantics, and we don't want
SSL_read(3) or SSL_write(3) calls to return SSL_ERROR_WANT_READ or
SSL_ERROR_WANT_WRITE (see #3614716).
|
|
For systems that don't provide an utmpx(5) interface, restore the code
that was replaced in commit 3e622f3a47bc7d31f22513a79892c3c52febd2d3.
|
|
|
|
C compilers in standards compliance mode will not define "linux", as it
doesn't begin with an underscore.
|
|
Thanks to Emmanuel Dreyfus for providing the patch.
|
|
Closes #62.
|
|
* 'master' of https://github.com/bbense/nagios-plugins:
Bug fix for ncpus if hyperthreading turned off in linux
|
|
|
|
Mention the -E/--extended-perfdata flag in the --help output.
|
|
Make a very long function name at least a little bit shorter.
|
|
* 'master' of https://github.com/cern-mig/nagios-plugins:
added support for client authentication via SSL
Conflicts:
plugins/check_http.c
|
|
Do not also accept the new -f/--file and -g/--group options as
positional arguments (especially not prior to "db_pass" and "db", as
that would break backward compatibility).
|
|
|
|
|
|
* 'master' of https://github.com/jonmilby/nagios-plugins:
Updated check_mysql.c to take client options file and group parameters
Conflicts:
plugins/check_mysql.c
|
|
* 'fping' of https://github.com/lairsdragon/nagios-plugins:
check_fping error handling enhanced, generates UNKNOWN on fping parameter error (i.e. wrong interface, missing perms ..)
Closes #61.
|
|
fping parameter error (i.e. wrong interface, missing perms ..)
|
|
... and apply two small cosmetic changes to check_snmp.c.
Closes #59.
|
|
|
|
|
|
The name of the new option is "--header-string".
|
|
Closes #41.
|
|
|
|
|
|
|
|
|
|
behind master
|
|
|
|
|
|
|
|
stat() is in gnulib anyway, so we can safely depend on it.
|
|
Don't check for /proc/pid/exe at compile time, it could be gone in a
build chroot or the like. Checking at runtime (once) is sufficient.
|
|
Previously, when a process exited between the call to /bin/ps and
stat("/proc/his/exe") was exiting it was not considered as possible
instance of check_procs. This commit makes check_procs ignore all
processes where /proc/pid/exe does not exist.
|
|
Fix a typo in previous commit where st_ was missing in the mock
struct_stat_t, causing check_procs.c to not compile without sys/stat.h.
|
|
Make check_procs filter out itself in the process list by comparing the
file pointed to by /proc/pid/exe. On platforms where this is not
available or when check_procs is passed the -T flag, the old behaviour
(check whether PID equals getpid()) is retained.
This fixes some false alarms when e.g. Nagios has, for whatever reasons,
some backlog of checks to run and check_procs with -a is called more
than once in a short time, matching its sister process.
|
|
Use (slightly) more intuitive option names etc.
|
|
|
|
This commit fixes sourceforge.net bug #3552839.
It adds a -k|--no-kthreads option to ignore kernel thread processes.
Please note: currently this feature only works for GNU/Linux systems (due to the fact I have no other systems to test/develop on)
Sorry for that, but I'm sure this can be accomplished by somebody else ;-)
|
|
Let check_fping use IPv6 only if
- the operating system supports IPv6,
- the user didn't specify --without-ipv6, and
- the "configure" script found the fping6(8) binary.
|
|
* github/villemattila/check_fping_ipv6:
check_fping: IPv6 support
Conflicts:
plugins/check_fping.c
|
|
|
|
-S allows to specify the source ip for ICMP pakets
-I allows to specify a interface to bind to
|
|
|
|
The -4/-6 options are currently not supported.
|
|
* github/tokkee/sh/check_pgsql:
check_pgsql: Determine connection time in µs-resolution.
check_pgsql: Leave 'min' value in query perfdata empty.
check_pgsql: Updated copyright.
check_pgsql: Added support for the -o command line option.
check_pgsql: Removed -4/-6 flags from help output.
check_pgsql: Allow UNIX socket directories as hostname as well.
check_pgsql: Use PQconnectdb() rather than PQsetdbLogin().
check_pgsql: Fixed query perfdata output for empty warn/crit ranges.
check_pgsql: Added support for executing queries.
Conflicts:
plugins/check_pgsql.c
|