Pandora FMS Community

Using of W%%d-C**ds ?!

tobibeimsurfen · 16 dic 2009, 12:44 · 2 mensajes · 55 visitas

  1. Inicio del debate

    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

  2. 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.

Entra en tu cuenta para publicar.