summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2003-02-10Added argc checks before attempting to access argv[]Jeremy T. Bouse1-5/+6
Corrected return codes and output git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@306 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10Revised code to use resolving and connection code in utils.c andJeremy T. Bouse1-46/+16
netutils.c rather than its own functions. Corrected code to properly handle input of server hostname and port on commandline without option flags. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@305 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-08use enum instead of defineKarl DeBisschop1-6/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@295 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-08submit request with one sendKarl DeBisschop1-102/+48
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@292 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-05allow check to proceed using servers from resolv.confKarl DeBisschop1-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@290 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-05fix segfault due to bad asprintf invocationKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@289 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03Avoid core dump with null or invalid data (679400 - Mathieu Masseboeuf)Ton Voon1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@285 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03Patch for Mac OS X compile (652080 - Ton Voon)Ton Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@284 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03added default community [bug-patch #600349 jbaumgartner]Subhendu Ghosh1-20/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@278 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-31Fix for zombie processes on Solaris (Bug 677803 - Matthew Brown)Ton Voon1-5/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@277 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-31Reapply all asprintf calls. Fix for %% problem with -l flag.Ton Voon1-16/+16
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@276 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-31Removed all unnecessary asprintf calls. Replaced with original check_nt.cTon Voon1-16/+16
to minimise amount of changes (reported by Reuben Farrelly) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@275 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-30Added reference to the official NSClient web siteTon Voon1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@274 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-30Fixed long --allswap optionTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@273 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-30Fixed prognameTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@272 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29Fixed error and success codes (638656 - Paul Dlug)Ton Voon1-12/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@271 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29Added in check_nt for bug 646516Ton Voon2-1/+596
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@269 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29remove incorrect check_disk() declarationKarl DeBisschop1-1/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@268 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29fix segfault when argc>=2 and the -H or -b options are not suppliedKarl DeBisschop1-25/+33
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@267 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-291.8Karl DeBisschop1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@266 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29Better error if server requests client based certificate (609382 - Olaf Greis)Ton Voon1-1/+14
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@265 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29Error when no params passed, better invalid params message (652086 - Ton Voon)Ton Voon1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@262 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29Fixed NULL status in Solaris (644783 - Fabian Pehla)Ton Voon1-8/+6
Fixed -p options (652082 - Ton Voon) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@261 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-28make sure host_name is set and remove NULL string inits that can lead to ↵Karl DeBisschop1-162/+10
segfaults git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@259 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-28missed argc check on port parameterKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@258 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-28remove NULL string inits that can lead to segfaultsKarl DeBisschop1-38/+33
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@256 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-27do not pass host if none is providedKarl DeBisschop1-12/+12
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@254 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-27we were sending extra CRLFKarl DeBisschop1-12/+14
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@253 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-17Counter32 tag parsing addedSubhendu Ghosh1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16semicolon needed where progname define was replacedKarl DeBisschop2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@249 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16add option to let regex span newlinesKarl DeBisschop1-16/+30
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@248 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16progname and print_usage need to be definedKarl DeBisschop1-0/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@247 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16semicolon needed where praogname define was replcedKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@246 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16semicolon needed where praogname define was replcedKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@245 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16restore max() macroKarl DeBisschop1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16cleanup progname assignmentKarl DeBisschop1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@242 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16avoid segfault when host is not givenKarl DeBisschop1-2/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@240 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13convert PROGANE from a define to a const charKarl DeBisschop35-239/+234
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13change exit status to be POSIX compliantKarl DeBisschop1-5/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@237 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13check for a few null strings, change PROGNAME from #define to const *charKarl DeBisschop1-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@236 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13add options for excluding devices and for skipping OK devices in summaryKarl DeBisschop1-33/+61
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@235 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-03protect against some null strings, make formats more uniformKarl DeBisschop1-32/+52
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@234 f882894a-f735-0410-b71e-b25c423dba1c
2002-12-19expect is +OK for SPOP tooKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c
2002-12-19server expect not getting set, expect is +OK for POPKarl DeBisschop1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@232 f882894a-f735-0410-b71e-b25c423dba1c
2002-12-19remove spurious CRLFKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@231 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-25was segfaulting if no dtat was returnedr1_3_0-beta2Karl DeBisschop1-46/+47
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@228 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-22add replace battery condition, replace unchecked strcat calls with asprintf ↵Karl DeBisschop1-53/+51
(I do not think buffer overflow was possible here, but lets be consistent) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@225 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-22add a few comments, trap a few place where a NULL string might have been handledKarl DeBisschop1-11/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@222 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-21fix empty output on errorsKarl DeBisschop1-8/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@220 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-20add switch to evaluate each swap individuallyKarl DeBisschop1-30/+85
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@219 f882894a-f735-0410-b71e-b25c423dba1c