Pages: [1]   Go Down
Author Topic: Using of W%%d-C**ds ?!  (Read 541 times)
0 Members and 1 Guest are viewing this topic.
tobibeimsurfen
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: December 16, 2009, 09:44:46 AM »

Hey,

i've a little Problem with the TCP-Module... My basic setup (FMS2.0 Virt. Appliance) is running fine - all agents send there data properly but ... i tried to use the tcp module to advanced check a service via a script based on an apache-server. It seems that i can only test the receved header from the apache server (200 OK) but the content. The recived package looks like " HTTP/1.1 200 OK *System-Date / Time Server-Info ....* Content-Type: text/html Service OK"  (or Service False) where The Information Service OK/False is generatet from my script. Now i would need a Wild-Card to exclude the Date and Time because it is a variable automaticaly send by the server.

best regards
Tobi
Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1141


I can see everything... with my glasses :-)


View Profile WWW
« Reply #1 on: December 18, 2009, 11:13:43 AM »

TCP module can check for a substring on the whole header, just search for 200 OK, for example to check if response is correct, don't try to match the whole response.
Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST