Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Using of W%%d-C**ds ?!

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

    Posted by tobibeimsurfen on December 16, 2009 at 12:44

    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

    Sancho replied 15 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Sancho

    Administrator
    December 18, 2009 at 14:13
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.