summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2005-09-14Using common messageTon Voon1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-14Required hostname not flagging as an errorTon Voon1-1/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1220 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-14Some makes do not like blank lines after "\". Fixed check_ldaps to onlyTon Voon1-7/+6
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-14Fix to parsing of uptime (Ronald Tin - 1254656)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1218 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-13More diagnostic messages from check_pingTon Voon1-5/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1216 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-12re-add a call to setlocale(LC_ALL, "") in check_ping.cM. Sean Finney1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1215 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-12ECHILD error at waitpid on Red Hat systems (Peter Pramberger andTon Voon1-1/+26
Sascha Runschke - 1250191) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1213 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25[1185704] New Testing Infrastructure.Peter Bray20-440/+453
Complete rewrite of the original testing infrastructure and all test cases (to use the new infrastructure) See NPTest.pm and issue 1185704 for more details. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-20Fix parsing for netkit-ping and iputils-ping (Christian G Warden)Ton Voon1-2/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1205 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-11Miscelleneous bug fixes (Gerd Mueller - 1235879)Ton Voon1-6/+24
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1204 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-06Updated help file to remove swap -s reference (Sivakumar Nellurandi)Ton Voon1-4/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1200 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-29initial versions of the runcmd framework by andreasM. Sean Finney2-0/+378
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1197 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-29divide by 0 fix for check_swapM. Sean Finney1-1/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1196 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-28set LC_NUMERIC to POSIX in check_load (1164325)M. Sean Finney1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-28scanf parsing fix for check_swap from tracker id 1123292. now use floor(3)M. Sean Finney2-9/+12
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-27fixes from richard brodie (tracker id 1216576)M. Sean Finney1-5/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1193 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-26"asprintf madness" fix from andreas' patch to np-d, minus the comments.M. Sean Finney1-13/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1190 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-05check_tcp code cleanup from andreas plus fix to andreas' patch from seanM. Sean Finney1-276/+242
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1189 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-03gcc 2.x fixes from edwardM. Sean Finney1-9/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1188 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-01only load mibs if needed or specified - patch 1212395Subhendu Ghosh1-10/+32
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1187 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-28bugfixes to check_load thanks to andreasM. Sean Finney1-125/+98
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1186 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-26fix for check_msyql so that it doesn't use column numbers but theM. Sean Finney1-9/+26
names instead for determining slave status. thanks to james kingston. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1185 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25 64bit sys support - 1185713Subhendu Ghosh1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1183 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25support for getnext - 1106430Subhendu Ghosh1-2/+18
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1182 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25RH9 patternSubhendu Ghosh1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25v2c support - 1155754Subhendu Ghosh1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1178 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25fixes for check_procs:M. Sean Finney2-9/+11
- added support for printing the pid in all the ps outputs - don't use the proc name to ignore self, use the pid vs getpid(). - initialize procetime to null string otherwise -vvv can have funny results git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1177 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25bah, my_connect is taken by mysql. now calling it np_net_connect.M. Sean Finney3-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24optimizations and cleanup from andreasM. Sean Finney3-131/+37
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1173 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-03setlocale(LC_ALL, "") should be setlocale(LC_NUMERIC, "C") to properly parse ↵M. Sean Finney1-1/+1
the output of ping. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-03if check_tcp was called with -e but not -s, it would hang in a call to ↵M. Sean Finney1-2/+4
my_recv. the fix committed here adds on more piece of logic to the check to see if more data needs to be read, avoiding the deadlock call. a better fix would be to not use these "voodoo" heuristics and instead use poll() or select(), but that's quite a bit more complicated. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1170 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-01better error checking in spopen signal handler (see 1107524)M. Sean Finney2-5/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1169 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-11properly call close() on the ssh connection before exiting.M. Sean Finney1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1160 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-11this should add support for check_ssmtp, based on the 1.3.x patch in 1155562,M. Sean Finney1-0/+10
but fixed to follow how things are done in 1.4 (using strdup instead of asprintf) and patching configure.in instead of configure. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1159 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-07in honor of joining up, my first bugfix. this should resolve 1174070.M. Sean Finney1-10/+7
note i don't have an exchange server to test this against, but it does what the requester mentioned (slightly cleaner than the patch attached in the tracker). it does, however, still work against my own postfix server :) sean git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1158 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-05This is a first cut at adding performance data to check_snmp. I wasn't sureHarper Mann1-5/+18
how to handle UOM so only values that return SNMP type Counter32: are labled with "c". All other values have a blank UOM. I also left off warn, crit, max and min values in the performance data until we come up with a way to handle them. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1157 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-04Fix static buffer (Nikolay Sturm)Ton Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1155 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-18Replication check support for 4.1.x from Gerrit BeineMatthew Kent1-1/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1154 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04Fixed // comments (Steve Greenland - 1143836)Ton Voon3-6/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1146 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-11Fix for check_icmp build on Solaris from Andreas Ericsson <ae@op5.se>Stanley Hopcroft1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1140 f882894a-f735-0410-b71e-b25c423dba1c
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