Ton Voon
|
2f2354d5cc
|
Fix test if response time is one second
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-29 08:13:29 +00:00 |
|
M. Sean Finney
|
32ef29ef19
|
now support for detecting critical/security updates, which sets
the return code to STATE_CRITICAL instead of just STATE_WARNING
as it was previously doing.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1360 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-29 08:01:19 +00:00 |
|
Ton Voon
|
7dc2749047
|
Set timeout within nc, rather than the test script
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1359 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-27 08:39:28 +00:00 |
|
Ton Voon
|
0f342875df
|
Fixed bug with malloc of wrong size
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1358 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-27 08:19:01 +00:00 |
|
Ton Voon
|
fb00fee631
|
Fixing defaults to work
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1357 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-24 17:26:30 +00:00 |
|
Ton Voon
|
293fc70756
|
-C now implies -S/--ssl as well
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1355 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-24 16:25:46 +00:00 |
|
Ton Voon
|
f6bfe34a3e
|
Tests converted to new style
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1354 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-24 16:13:40 +00:00 |
|
Ton Voon
|
8c3e7428ae
|
udp checks require and send and receive option. Tests updated so if
nc is available, will check send and receive working correctly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1353 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-24 16:12:05 +00:00 |
|
M. Sean Finney
|
19d76b3fb6
|
- addition of include/exclude option for package names in check_apt,
using POSIX regexp support.
- various commenting and tidying of code/logic/output.
- still haven't committed the Makefile.am/configure.in stuff.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1352 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-23 22:58:38 +00:00 |
|
Ton Voon
|
ada5f2fe02
|
check_disk now errors if a specified directory does not exist (cf df /foo)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-23 17:16:38 +00:00 |
|
Ton Voon
|
f82e0dfa81
|
Some versions of Test::More do not like the m#foo# syntax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1350 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-23 16:06:00 +00:00 |
|
Ton Voon
|
61cd9f525a
|
Incorrect output when checking non-existent disk (John Rouillard - 1326050)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-23 12:01:21 +00:00 |
|
M. Sean Finney
|
3ebbe5c55b
|
more work on check_apt. more graceful error handling and information
reporting, a couple new cmdline options. still not quite ready
for prime-time, maybe tomorrow :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1348 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-23 00:01:29 +00:00 |
|
Ton Voon
|
63271bf65d
|
Added warning and critical response times (John Rouillard - 1343159)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1346 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 16:45:57 +00:00 |
|
Ton Voon
|
7de561c912
|
Convert to new style tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1345 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 15:45:49 +00:00 |
|
Ton Voon
|
19559b1884
|
Options to change line ends for -s and -q (John Rouillard - 1346104)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1344 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 15:45:20 +00:00 |
|
Ton Voon
|
300a7768a8
|
New style tests. Cleanup of presentation of help. Added '' around -a checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1342 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 14:17:10 +00:00 |
|
Ton Voon
|
dfbd0be389
|
Typo (Thomas Guettler - 1433447)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1341 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 13:18:06 +00:00 |
|
M. Sean Finney
|
c7091142b3
|
initial version of a check_apt plugin... not editing configure/Makefile.am's
until i'm happier with it (better output, better ways to define warning
vs. critical thresholds... etc).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1339 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-22 00:00:36 +00:00 |
|
Ton Voon
|
4e157fb8cd
|
Updated to new Test::More method for testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1337 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-21 13:42:18 +00:00 |
|
Ton Voon
|
6f84a6574b
|
Return CRITICAL if hostname invalid, as per guidelines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1335 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-21 13:31:01 +00:00 |
|
Ton Voon
|
b3b7354467
|
mysql discovery based on mysql_config (Johan Fischer - 1359414)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-21 11:42:59 +00:00 |
|
M. Sean Finney
|
8250d65061
|
- shuffling some code around to keep things tidy.
- now average the result of 4 queries just as ntpdate does
- put things in place for jitter calculation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1332 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-20 22:06:07 +00:00 |
|
M. Sean Finney
|
8a9e443b4c
|
ipv6 support for c-version of check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1331 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-20 17:18:44 +00:00 |
|
M. Sean Finney
|
d4ddb48932
|
initial version of the pure-c check_ntp implementation. jitter not yet
implemented, and a couple other misc things to do, so i haven't
yet patched Makefile.am
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1330 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-18 19:00:43 +00:00 |
|
M. Sean Finney
|
cd8b45f633
|
return-logic related fix for cert checking, thanks to emmet hogan.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1329 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-18 14:47:51 +00:00 |
|
Ton Voon
|
0d838e4312
|
Better error message re: tap library
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1328 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-17 14:08:42 +00:00 |
|
Ton Voon
|
2db2f402a3
|
mysql detection cleanup: fixes runtime linking, autodetection of main
locations, detection of lib64 and different layouts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-17 14:07:34 +00:00 |
|
Ton Voon
|
dc35902e30
|
Using libtool to get runpath for tap library
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-16 17:31:11 +00:00 |
|
Ton Voon
|
1c229b2c45
|
Alert on amount of time a slave is behind (Steven Kreuzer)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1324 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-15 19:54:32 +00:00 |
|
M. Sean Finney
|
edf94c7d2a
|
fix for (tracker id 1420741)
"check_swap: incorrect totals for multiple partitions (BSD)"
thanks to scott thompson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1323 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-13 17:59:23 +00:00 |
|
Ton Voon
|
5c0aa37260
|
Change warning message if there is stderr output. This catches a problem
where time was shifting backwards on a linux VMware guest during the ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1322 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-13 11:08:28 +00:00 |
|
Ton Voon
|
e340b0db73
|
Added tests for two external websites with certificates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-07 10:33:00 +00:00 |
|
Ton Voon
|
7a4818fb12
|
Tests re-written in new object format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1320 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-03-07 10:23:31 +00:00 |
|
Ton Voon
|
6aa8cc090d
|
Use the installed tap library instead of requesting a compiled object
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1318 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-02-24 16:41:06 +00:00 |
|
Ton Voon
|
4a7401ea71
|
SIGALRM could be received before child_process is created (Jason Crawford)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1317 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-02-17 09:08:08 +00:00 |
|
M. Sean Finney
|
91bd5cfc68
|
set LC_NUMERIC to POSIX in check_procs.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-02-17 06:24:53 +00:00 |
|
Ton Voon
|
a1e69e1436
|
If a mysql server has anonymous login, tests will always fail
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1315 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-02-01 13:23:38 +00:00 |
|
Ton Voon
|
fec8900e4f
|
Need to distribute perl test file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-02-01 11:53:24 +00:00 |
|
Ton Voon
|
7a346c9c90
|
Clean compile of check_mysql_query on MacOSX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-31 16:45:29 +00:00 |
|
Ton Voon
|
864544b29e
|
Adding check_mysql_query, using new ranges and threshold checking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-31 14:52:49 +00:00 |
|
Ton Voon
|
3a3f326bbf
|
Extra explanation in tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-31 14:37:11 +00:00 |
|
Ton Voon
|
bec6af5108
|
Fixed invalid free
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-31 14:36:23 +00:00 |
|
Ton Voon
|
e0688a6911
|
Clearly defined thresholds & ranges in docs. Added get_status routine. Added
set_thresholds routine. Tests enhanced to check new routines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1304 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-30 22:24:31 +00:00 |
|
Ton Voon
|
795100ae51
|
Added libtap tests for utils.c library functions. Removed redundant
test files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
|
2006-01-30 16:10:50 +00:00 |
|
Ton Voon
|
71ce143ab1
|
Display errors with slave queries correctly. Added extra tests for slaves
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-15 17:06:55 +00:00 |
|
Ton Voon
|
e03d87d8ae
|
New 3 parameter version of getTestParameters. Updated check_disk.t to reflect.
Added notes re: testing in developer guidelines.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1298 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-15 15:19:55 +00:00 |
|
Harper Mann
|
162faf883a
|
Nagiosplug bug 1266977. Added code to insert the closing </A> after the plugin output but before the performance output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1296 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-07 19:32:37 +00:00 |
|
Ton Voon
|
7c69ccaee2
|
No floorf on Solaris 9 (Jon Vandegrift - 1374705)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-07 15:10:27 +00:00 |
|
Ton Voon
|
ec6d0db61c
|
Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1294 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-02 22:28:06 +00:00 |
|