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 |
|
Ton Voon
|
01886efb2b
|
Ignore temporary files created for tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1293 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-12-02 22:25:22 +00:00 |
|
Ton Voon
|
1ef51d42d3
|
Fixed some compile errors with new translations. Also reintroduced formatting
after discussion with Benoit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1286 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-16 17:26:58 +00:00 |
|
Ton Voon
|
5c76cc6d17
|
Updated tests to minimise false positives. Breaking down so more obvious
what the tests are doing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1285 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-15 16:26:42 +00:00 |
|
Benoit Mortier
|
c1d67786b0
|
localization cleaning ...
last commit before sleeping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1283 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-14 01:18:57 +00:00 |
|
Benoit Mortier
|
c68d99cee2
|
start of the cleaning of the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1282 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-14 00:51:44 +00:00 |
|
Ton Voon
|
7741c005fa
|
Updated check_disk tests to use Test::More (Serhan Kiymaz)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1281 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-12 23:48:29 +00:00 |
|
Ton Voon
|
15330698d4
|
Using Test::More
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1280 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-09 17:27:36 +00:00 |
|
Ton Voon
|
6224ec3158
|
Added new NPTest->testCmd which returns objects back for testing
at the test script level. Updated check_swap and check_imap to this
new format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1279 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-09 16:40:12 +00:00 |
|
Ton Voon
|
3887355958
|
Problem where absolute thresholds not working on /proc/meminfo
systems. Suffixed all variables with the unit of measurement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1278 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-09 16:37:55 +00:00 |
|
Ton Voon
|
003c6dea15
|
Fixed --mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-04 09:38:24 +00:00 |
|
Ton Voon
|
595b2571a4
|
Invalid mount point doesn't make sense because most df implementations
would work out the actual mount point. And fixed typo in check_procs.t
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1271 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-03 15:13:13 +00:00 |
|
Ton Voon
|
f278c817e5
|
Fixing some test failures
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-03 15:04:16 +00:00 |
|
M. Sean Finney
|
5537f7b0cd
|
#995761: patch from ben o'hara to include inode calculations in
check_disk.c.
previous commit also had a patch for smtp auth support, but i accidentally
sent a blank commit message.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1269 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-02 08:59:33 +00:00 |
|
M. Sean Finney
|
b51ab1c069
|
check_smtp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1268 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-11-02 08:47:26 +00:00 |
|
M. Sean Finney
|
3038819fef
|
code cleanups, largely resulting from turning on -Wall. mostly
unused variables and explicit casting issues, but there were a
couple gotchas in there too.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1267 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-10-31 20:03:19 +00:00 |
|
M. Sean Finney
|
0ff7d99a5e
|
turned on -Wall in plugins/Makefile.am via AM_CFLAGS. shouldn't keep
our heads in the sand for potential errors, after all :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1266 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-10-30 22:45:54 +00:00 |
|
M. Sean Finney
|
3d210490d5
|
another fix from alex: check for '/' in the server_address before
trying to resolve it via is_host().
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1265 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-10-30 18:05:19 +00:00 |
|
M. Sean Finney
|
27675e4e6b
|
fixes for some bugs found in my merging of the tcp socket patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1264 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-10-30 10:25:26 +00:00 |
|
M. Sean Finney
|
e2e455a53e
|
patch from nsturm: Makefile.am should have been checking for check_ldap
instead of check_ldaps. the result was that check_ldaps was not being
created during the build process.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1262 f882894a-f735-0410-b71e-b25c423dba1c
|
2005-10-29 12:46:49 +00:00 |
|