summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2005-02-02try again to stop loopingStanley Hopcroft1-6/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1127 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-02restructure main() to stop looping on -nStanley Hopcroft1-45/+48
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1126 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01check_icmp added to libexec_PROGRAMSStanley Hopcroft1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1123 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01plugins/linux.h, vestigeal header required for prior versions of check_icmp, ↵Stanley Hopcroft1-135/+0
no longer required. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1121 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01hacks to partly support check_icmp.c (1.0).Stanley Hopcroft1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1119 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01Revised check_icmp (1.0) from A Ericsson.Stanley Hopcroft1-1229/+1012
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1118 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-27Added check_dhcp bask into libexec_PROGRAMS after talking with Stanley.Harper Mann1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1110 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-26Convert tabs to spaces from dig's answer section (Randy O'Meara - 1107651)Ton Voon1-1/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1108 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25Display usage if no argv (Reuben Farrelly)Stanley Hopcroft1-6/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1106 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25Tracker:1109261 This was an alignment problem on Solaris. Linux kernel ↵Harper Mann1-6/+15
fixes alignment so this was not seen there. Memcpy takes care of proper alignment. Tested on RHEL V3 U3, RHEL V4, FreeBSD 4.10 (Thanks Stanley!) and Solaris 9 with the GNU env. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1105 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25Trivial text changes (print_help, commentary & -n option)Stanley Hopcroft1-3/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1104 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-24Removed check_dhcp and check_icmp from libexec_PROGRAMS (ie dont build by ↵Stanley Hopcroft1-4/+5
defaut) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1095 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-21Tracker 1106378 fixed - The -t (timeout) arg was not handled correctly when ↵Harper Mann1-7/+18
passed to the snmpget command. Added -e --retries for the correct retries value to snmpcmd. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1092 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20Changed long argument --minmax to --pagesize and updated help and usageHarper Mann1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1090 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20Tracker 1099682 fix. Now getting the page size from Content-Length in the ↵Harper Mann1-10/+84
header. Added max value to the -m switch so can do "-m min:max". Retained "-m min" convention. Renamed long arg name to --minmax git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1086 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-19In the CHECK_COUNTER block, there were several strcats writing to unallocatedHarper Mann1-8/+7
memory. Changed to asprintf. We're not freeing since plugin run is short. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1085 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-19Fixed parsing of AIX lsps command (1093522)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1084 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-13Use floats for holding memory values to avoid different types on differentTon Voon1-24/+27
OSes. Seems to have a problem with the perf data for check_swap on Sol 2.6, but not critical git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1080 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-04still trying to fix #1094326Benoit Mortier1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1078 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-03more fixes for #1094326Benoit Mortier1-6/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1077 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-02fixing bug #1094326Benoit Mortier1-4/+3
still need to check the makefile for check_ide_smart.c git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1075 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-01Removed old terminate function (Bug 1093491)Ton Voon1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1074 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-30more internationalization fixesBenoit Mortier8-41/+32
internationalization freeze for beta1 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-28starttls support for check_smtp #1041576Benoit Mortier2-14/+273
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1065 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-28String match in check_ping for Solaris 10 #1091043Benoit Mortier1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1064 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-25various fixes for localizationBenoit Mortier38-316/+204
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-25internationalization of check_dhcpBenoit Mortier2-123/+106
internationalization fixes of check_ssh git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1058 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-24first pass at adapting to plugin guidelinesBenoit Mortier1-63/+103
and start of localization git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1057 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23internationalization fixesBenoit Mortier1-5/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1056 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23Another attempt at fixing check_http compile on Redhat EL3. Fixed check_icmpTon Voon1-0/+1
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-22Added check for "%" in COUNTER <description>. If it exists, <description> ↵Harper Mann1-2/+8
is used as an arg to asprintf. If it doesn't exist, <description> is used as a label. If the formatting is wrong, the program will segv. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1053 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21Revert back to previous openssl checks (the ones from curl kept havingTon Voon1-2/+2
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-21Commentary changes only: cite origin of copied code with reference to ACK fileStanley Hopcroft1-26/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1046 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21Add another error string match from Pasi TiittanenMatthew Kent1-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1044 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-20Corrected help for expiry units. Restored functionality of searching forTon Voon1-6/+6
process arguments git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1043 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-20Updating help text to reflect using shortname instead of full path for commandTon Voon1-12/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1042 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-20Compilation fixes for check_dhcp.c HP-UX 11. Still fails on HP-UX 10. ↵Stanley Hopcroft1-4/+21
Unknown if check_dhcp works on UX. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1039 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-15Support for coreutils lib. Configure tests via m4 scripts from coreutilsTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1029 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-11Patch from Ollie Cook to define return code when expected value not received ↵Matthew Kent1-8/+28
(#1082275). Also included another change from Ollie Cook to do stricter matching of expected values from the beginning of the line. When a user defines an expected string this is changed to the old style strstr matching. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1025 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Fixed compile warningTon Voon1-2/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Compile broken - fixing link flags.Matthew Kent1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1023 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Error catching improvements from Ollie CookMatthew Kent1-1/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1022 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Fixing broken compileMatthew Kent1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1021 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Changes to link flags for check_dhcp.cStanley Hopcroft1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1019 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Extensive changes to get MAC address from Solaris via DLPIStanley Hopcroft1-116/+330
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1018 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Reverting back ngettext callsTon Voon2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1017 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10Fix includes for gettextTon Voon1-14/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-08patch 1028033Benoit Mortier8-12/+78
minor internationalization fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1013 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07Better SSL checking (inspired by curl 7.12.2's configure.ac)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1011 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07Correct dependencies for check_dhcp.c.Stanley Hopcroft1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1009 f882894a-f735-0410-b71e-b25c423dba1c