summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2003-03-11use statfs for check_disk (still needs fs scan)Karl DeBisschop1-5/+56
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@392 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-09Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is definedJeremy T. Bouse1-0/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@389 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-09Implement error-only option for check_disk (Ian Duggan)Ton Voon1-2/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@388 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08Fix AIX /proc filesystem (Ian Duggan)Ton Voon1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@387 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08Modified code to call is_addr() rather than is_dotted_quad() with theJeremy T. Bouse1-1/+1
new AF indepdent function routines git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08AF indepedent routines introduced.Jeremy T. Bouse4-230/+116
Modifed process_request() & my_connect() parameters to make 'proto' type 'int' rather than 'char *' and use IPPROTO_* POSIX values. Removed is_dotted_quad() & my_inet_aton() functions Added is_addr(), is_inet_addr(), is_inet6_addr() and resolve_host_or_addr() functions to check whether it is a valid IP address Modified is_host() to call is_addr() and is_hostname() git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@384 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08Move snprintf into libTon Voon2-988/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@382 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07Added getaddrinfo.[ch] & gethostbyname.[ch] to provide RFC2553 functionsJeremy T. Bouse4-5/+8
if missing in system libs and lwres not present Moved all references to netdb.h and sys/socket.h into common.h.in Modified automake call in tools/setup to include adding missing files so config.sub and config.guess will be available git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@376 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07millisecond timing and perf dataKarl DeBisschop1-14/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@374 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07whole timer loop was on the wrong side of connection close codeKarl DeBisschop1-34/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@373 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07fix for -H invocation of hostnameKarl DeBisschop1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@372 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-05check_http min size option (680467 - Dave Viner)Ton Voon1-2/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@365 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-04Make output message for CPU Load a bit nicerTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@364 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-03accept comma-delimted list of hosts for checking if a multihomed host is aliveKarl DeBisschop1-21/+38
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@362 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-02add logic to check multiple serversKarl DeBisschop1-45/+60
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@361 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-21Fixed coredump with unallocated stringTon Voon1-2/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@351 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-21Strip leading spaces on dns return value (689563 - Simon L Nielsen)Ton Voon1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@350 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-19Move getloadavg to lib directory. Must run "aclocal -I lib"Ton Voon2-1087/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@345 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18spurious backslash escapeKarl DeBisschop1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@344 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18never exited getopt loopKarl DeBisschop1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@342 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18failed if header was more than 1023 bytesKarl DeBisschop1-11/+35
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@341 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18Fixed the output messages (Bug 688729 - Jayjay)Ton Voon1-4/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@340 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18Fixed compiler warning and increased the SSL random key for a Solaris PRNG ↵Ton Voon1-2/+5
problem git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@338 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18OID type prefix patch [Patches-679403]Subhendu Ghosh1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18support for Large swap sizesSubhendu Ghosh1-16/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@334 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16Fixed dependencies for check_ntTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@328 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16Coredump if no variable set (reported by Marc C. Poulin)Ton Voon1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@327 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12Added extra pluginsTon Voon1-0/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@324 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12Remove unnecessary \ and fix coredump with no parameters specifiedTon Voon1-2/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@322 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12Remove unnecessary \ - complaints from Tru64's cc compilerTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@321 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-11Patch by Dave Viner for seg fault on RH 7.3 (655903)Ton Voon1-18/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@316 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10Removing getopt files - now in new lib directoryTon Voon3-1029/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@313 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10Added in a define for HAVE_GETOPT_H for backwards compatibilityTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@311 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10Remove unnecessary getopt references and link in lib directoryTon Voon1-14/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@310 f882894a-f735-0410-b71e-b25c423dba1c
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