summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
AgeCommit message (Collapse)AuthorFilesLines
2006-07-05Fixed checking of return codes from external mailq programsTon Voon1-15/+14
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1443 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-07removed stale references to PATH_TO_NTPFOO, as it's no longer used.M. Sean Finney1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1417 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-01- check_ntp:M. Sean Finney1-1/+1
- now roughly feature-complete. - various bugfixes, esp. offset calculation. - enhanced the asynchronous offset polling to set requests that haven't recieved a response in >= 1 second to stale and retransmit them, which results in much better performance on unreliable networks. - we only spend timeout/2 seconds polling offsets, and if we don't get everything by that point we work with what we have and set status to warning/critical depending on how much data we have. - set the same defaults as the perl script. - commit changes to configure.in to support automatic building of check_apt (if apt-get is installed and regex libraries available) and check_ntp (unconditionally), now defaulting to check_ntp.c instead of the perl script. if this is an issue we can back out the commit of course. an eye should be kept on check_ntp building and running correctly in different environments, esp. 64-bit and big-endian platforms, and those with more "esoteric" API's (do any of the platforms not have poll()?). - similar changes to Makefile.am's. - common.h: add statement to include sys/poll.h - runcmd.c: exit STATE_UNKNOWN if execve() fails. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1386 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Remove PATH restrictionTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1343 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Remove hardlink to /bin/sed. Leave to PATH (Abs - 1391483)Ton Voon2-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15Allow directories and links to be tested by check_file_age. Sanitise output.Ton Voon2-8/+96
Added tests git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-30Nagiosplug bug # 1251096Harper Mann1-4/+11
check_ntp wasn't properly handing a bad exit status from the external programs it calls (ntpdate and ntpq), so jitter wasn't set. Added check of $? on close and proper error output if status from the sub program call completion is non-zero. This includes "host not found". git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1291 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-29check_log fixes from Ade RixonM. Sean Finney1-4/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13debian bts #268044:M. Sean Finney1-1/+1
- use a "less beastly" regex for parsing ntpq output. probably need some more widespread testing on this one. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1250 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13debian bts #300701:M. Sean Finney1-31/+39
- check_smb fix for freespace threshold parsing from the cmdline options. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1247 f882894a-f735-0410-b71e-b25c423dba1c
2005-08-30Better comments for what the substitutions are doingTon Voon1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1212 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25[1185704] New Testing Infrastructure.Peter Bray1-10/+13
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-05-25perfdata patch - 1172539Subhendu Ghosh1-24/+28
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1180 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25new option for zero offset - 1159317Subhendu Ghosh1-4/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1179 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24patched bug id 1200030 - regex updateSubhendu Ghosh1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1175 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24patched bug id 1204636Subhendu Ghosh1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1174 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-19regexp fix for check_ntpM. Sean Finney1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-17also change the --help output to reflect that check_disk_smb defaults to ↵M. Sean Finney1-1/+1
empty passwords git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1164 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-16patch to check_disk_smb to allow empty passwordsM. Sean Finney1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1163 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14check_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/M. Sean Finney1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14typographical fix in check_ntpM. Sean Finney1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1161 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-08Added OS info for offset issueTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04Ignore extra check on offset 0.00000 (John Warburton - 1150777)Ton Voon1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1148 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04Support for IPv6 (Merijn Evertse - 1119917)Ton Voon1-10/+28
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1145 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-03Check for log file readabilityTon Voon1-0/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1129 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-03fixes for #1094324Benoit Mortier1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1076 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07Option to check for admin down (#1012191) from Raúl Pedroche.Matthew Kent1-5/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1010 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01Fixed pmon process checking from a change I made earlierTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@963 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01Perf data and other improvements by Florian Gleixner (1027787)Matthew Kent1-7/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@957 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-19Fix incorrectly labelled units in output (1025905, Jason Martin)Matthew Kent1-5/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@909 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18More specific test for sid (Paul Allen)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18Perfdata corrected (Garry Cook)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18Fix for similar dataabase sids (Carole Verdon)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@883 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-19check_mssql.plSubhendu Ghosh1-0/+141
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@869 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-08Cleaner calls to awk and support if Oracle has different nationalTon Voon1-8/+11
language settings (Torsten Werner) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@866 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-21add opt_C to 'usr vars'Karl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@820 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-05 added plugin timeout optionsSubhendu Ghosh2-9/+23
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@758 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-21- Fixed file name (Matt Garrett)Ton Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14snmpv3 patchesSubhendu Ghosh1-91/+224
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@746 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 more snmpv3 patchesSubhendu Ghosh1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14Bug 773588: added check to warn on matching # candidates onlySubhendu Ghosh1-5/+36
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@744 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14Added -M for maxmsgsize (v1/v2c)Subhendu Ghosh1-93/+230
Added v3 support git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@743 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15Added Exim support (768445 - Eric Bollengier)Ton Voon1-4/+39
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@726 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15Optionally specify port for smbclient to use (781227 - Jason Burnett)Ton Voon1-3/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@723 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-10proposed fix for LANG issueKarl DeBisschop1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@677 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-17- Cleanup commentsTon Voon1-20/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@593 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02Check for ORA- errors for tablespace and cache (patch 755456 - Sven Meyer)Ton Voon1-0/+18
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@581 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02Update error message from smbclient v2.2.7 (Patch 740132 - Cove Schneider)Ton Voon1-5/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@580 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02Moving check_file_age into coreTon Voon4-3/+119
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@578 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-16bug fixSubhendu Ghosh1-4/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@515 f882894a-f735-0410-b71e-b25c423dba1c