Forum Discussion

David_Murphy_20's avatar
David_Murphy_20
Icon for Nimbostratus rankNimbostratus
Sep 08, 2014

Health monitor that checks for a text file (non-http)

Is there any way to create a healthcheck monitor that simply checks for the existence of a text file on each of the nodes? (without using HTTP)

 

I need a way for non-technical folks to disable/enable nodes by changing the name of a file on the server. These are Windows servers that do not run IIS - so I'm looking for a way to do this without using the "http" monitor.

 

I see that there is a built-in SMB monitor - but I'm confused at why it requires me to configure a "SMB/CIFS Server". I need for each node individually to essentially be the "server"... and for the monitor to check for the existence of a specific file on each. For example "C:\healthcheck.txt".

 

This seems like it should be a simple thing to do, so hopefully someone will have a simple answer :-)

 

Thanks!

 

  • Depending on the version you're on, the SMB monitor is broken. See here for an EAV that should work: https://devcentral.f5.com/wiki/AdvDesignConfig.Windows-File-Share-Monitor-SMB-CIFS.ashx