Forum Discussion
File Monitor
Hello all;
I need a monitor maybe you know.But i don't remember the how. I have a vıp nad a pool that has got 2 nodes. I create a custom monitor on the nodes.Nodes are Windows Server. My monitor check a txt file on each servers.That txt file in the for example "\server1\d\f5mon\f5mon.txt" . So The txt file include "0 or 1 ". When i get 1 my custom mon is up.When a server admin change the txt file to 0 (zero), my F5 monitor down and F5 does not push the traffic.
So What is the monitor parameters? Do you have any ideas? Thank you for any help.
Regards. Ferhatde
- Hannes_RappNimbostratus
1) The txt file must actually be hosted in web-server directory, and not just 'located somewhere in the server', I mention that because you used
instead of\
when mentioning your txt file location. Even when using Windows Server, the HTTP paths (directories) at the client-facing front-end are distinguished by/
/
. If yes, something like this may work:http://web-server-ip/server1/d/f5mon/f5mon.txt
ltm monitor http mon_http_custom { defaults-from http destination *:* interval 5 ip-dscp 0 recv 1 recv-disable 0 send "GET /server1/d/f5mon/f5mon.txt HTTP/1.1\r\n" time-until-up 0 timeout 16 }
Regards,
- amolariCirrostratus
here's an example of external monitor to check the content of a file on a SMB share
Windows File Share Monitor SMB CIFS
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com