summaryrefslogtreecommitdiffstats
path: root/plugins-root
AgeCommit message (Collapse)AuthorFilesLines
2013-09-17check_dhcp: fix tests interface detectionSven Nierlein1-1/+1
2013-09-16check_dhcp: fix tests for machines with default interace != eth0Sven Nierlein1-5/+10
2013-09-16check_dhcp test: skip subtests if no variable is setSven Nierlein1-20/+35
2013-09-15check_dhcp: add test fileSven Nierlein1-0/+49
2013-09-15check_icmp: tests do not require sudo if run by rootSven Nierlein1-9/+10
2013-09-15plugins-root: include t folder in release tarballSven Nierlein1-1/+1
2013-09-04check_icmp: Minor whitespace/indentation fixesHolger Weiss1-7/+6
2013-09-04check_icmp: Support "--help" and "--version"Holger Weiss1-0/+8
Let check_icmp provide "--help" and "--version" flags (in addition to "-h" and "-V"), just as the other plugins do.
2012-06-13check_dhcp: Don't misinterpret the "siaddr" fieldHolger Weiss1-9/+4
RFC 2131 (2.) says: "DHCP clarifies the interpretation of the 'siaddr' field as the address of the server to use in the next step of the client's bootstrap process." So, we shouldn't interpret this field as the DHCP server's own address. (#3503921 - Jason Ellison)
2012-06-13check_dhcp: Fix handling of "pad" optionsHolger Weiss1-3/+4
Don't let "pad" options[*] terminate the parsing of DHCP options. This bug was triggered by using check_dhcp against Windows 2003 DHCP servers (see #3503921). [*] Cf. RFC 2132, 3.1.
2011-04-29check_host: Allocate a large-enough buffer for the host table.Sebastian Harl1-1/+1
When specifying a host-name on the command line, each of its IPs is added to the host table (and each one is pinged). So, the buffer has to be large enough to hold all of the respective host objects. (argc - 1) only fits hosts with a single IP. Thanks to Max Kosmach <max@tcen.ru> for reporting this in Debian bug #623702.
2010-04-22Add newline after "Usage:" in --helpThomas Guyot-Sionnest2-2/+2
2010-04-22Standardize the extra-opts notesThomas Guyot-Sionnest2-10/+0
2010-04-14Fix translations when extra-opts aren't enabledThomas Guyot-Sionnest2-9/+9
Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations.
2010-04-14pst3.c must not use nagiosplug/gnulib includesThomas Guyot-Sionnest2-2/+4
2009-10-16Set proper network byte order for icmp_id and icmp_seq in icmp packetsThomas Guyot-Sionnest1-10/+11
2009-10-16Increment per-host sequence in check_icmpThomas Guyot-Sionnest1-11/+13
2009-09-25Allow custom versions with the release file...nagiosplugins1-1/+1
2009-09-14Ensure dirhandle is closed (Duncan Ferguson)Ton Voon1-0/+2
2009-07-14pst3 compile with Sun Studio CompilerTon Voon1-0/+2
2009-06-14Fixed error in rtt/rta calculation in case of system clock problemsMatthias Eble1-1/+1
Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more. The RTA calculation hopefully gets a more accurate value in these cases also.
2009-06-01Don't use the plain char type for data buffersHolger Weiss1-6/+6
Buffers which are used for holding arbitrary data should be referenced using pointers to void and accessed using pointers to unsigned char. Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-06-01Fixed check_icmp compiler warnings by including float.hMatthias Eble1-0/+1
Self defined DBL_MAX caused compiler warnings. Now float.h which defines DBL_MAX is included.
2009-06-01Fixed --help output for warn and critical thresholds (sf.net #2796624, ↵Matthias Eble1-2/+2
debian #530553) check_icmp wrongly calculated the current thresholds in --help output.
2008-11-27Fixing build breakages (I totally forgot this rule was there...)Thomas Guyot-Sionnest1-2/+0
2008-11-26Disable dynamic versionning for releases, and allow generating version out ↵Thomas Guyot-Sionnest1-5/+5
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-25Workaround to support more make programsThomas Guyot-Sionnest1-1/+4
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-23Avoid the use of .PHONY (target s created twice and I have no idea if it's ↵Thomas Guyot-Sionnest1-1/+2
right).
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest4-14/+17
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-19Bulk EOL cleanupThomas Guyot-Sionnest3-32/+32
$ git diff --ignore-space-change|diffstat 0 files changed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-07check_icmp now reports min and max round trip time perfdata (Steve Rader)Thomas Guyot-Sionnest1-5/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2073 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Close on fdTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Typo in --help outputThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2029 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-28-b option now specifies ICMP data bytes instead of packet sizeMatthias Eble1-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2027 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-17Add support for packet size modification (-b)Matthias Eble1-10/+16
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2026 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-06Don't try to set the "SO_BROADCAST" socket option for unicast requests.Holger Weiss1-2/+1
(Also, removed the unused "DHCP_UNICAST_FLAG" macro.) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2018 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-02Change pst3 again, this time to remove use of kvm which is notTon Voon2-158/+197
available in Solaris 10 non-global zones. Uses /proc, which is not available in older versions of Solaris. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2016 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-17Fixed possible coredump. Removed one level of subroutines (Duncan Ferguson)Ton Voon1-22/+16
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2012 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-02Optimised pst3 for systems with large number of processes (Duncan Ferguson)Ton Voon1-140/+109
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2010 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-27Add additional PID column headingTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-07Added support for --extra-opts in all C plugins (disabled by default, see ↵Thomas Guyot-Sionnest2-1/+18
configure --help) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1991 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-29--help output cleanup (plus removal of spaces on blank lines)Thomas Guyot-Sionnest2-26/+29
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1985 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-14Fixed 64 bit pst3 when tries to link to gettext. Gettext linkedTon Voon1-4/+4
dynamically, if necessary git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-11Fixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITSTon Voon1-0/+2
redefinition warnings. Fixed helper ar error in ./configure git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1938 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-28Reverted check_procs for solaris back to using pst3 due to truncationTon Voon2-2/+4
for argument fields using other methods git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugins-root/ to GPLv3Thomas Guyot-Sionnest3-67/+59
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Hide some debug output which was printed even without "-v" (underHolger Weiss1-1/+1
certain circumstances). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1897 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Fix the handling of ICMP packets which are not echo replies (such asHolger Weiss1-16/+15
destination unreachable messages) or which are not directed at us. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1896 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Get rid of a cast which increases the required alignment.Holger Weiss1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1895 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Mark some constant strings "const".Holger Weiss1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1894 f882894a-f735-0410-b71e-b25c423dba1c