Re: check_http + regex content checking
"Karl DeBisschop" <[email protected]> Thu, 12 Dec 2002 11:34:00 -0500
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
Warrick FitzGerald writes: >> Dear Sir, >> >> If you have unpacked the plugin archive, then you should see a file >> named INSTALL in the plugin directory. >> >> Here is what (an old Netsaint version: replace netsaint by nagios in >> what follows) mine says: >> >> tsitc> more INSTALL > > Thanks, but perhaps you were not following the thread, or you dont > understand my confusion. I am trying to compile the check_http module with > regex matching. Surly when you compile the .c file you need to give it > some kind of compiler switch, which tells the compiler to include the > regex library ? If configure can find the libraries, it will compile them in (I thought I already said that in a response on this thread). Look at configure.in if you want to see the specific tests that configure runs. I do see that the long-option docs are not making it into the help screen, a bug which will be fixed, but the short option info is there. Here's a few illustrative examples: skillet:/u/kdebisschop> check_http -s Infoplease www.infoplease.com HTTP ok: HTTP/1.1 200 OK - 0.505 second response time |time= 0.505 skillet:/u/kdebisschop> check_http -s Infopleasz www.infoplease.com HTTP CRITICAL: string not found|time= 0.670 skillet:/u/kdebisschop> check_http -r Infoplease www.infoplease.com HTTP ok: HTTP/1.1 200 OK - 0.618 second response time |time= 0.618 skillet:/u/kdebisschop> check_http -r Infopleasz www.infoplease.com HTTP CRITICAL: pattern not found|time= 0.917 -- Karl ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/