Forum Discussion

deepankar_37689's avatar
deepankar_37689
Icon for Nimbostratus rankNimbostratus
Nov 28, 2018

How to configure CIFS monitor

i would like to create a monitor on F5 LB Pool which would monitor the presence of a file say test.txt on a NAS location, example path for search of file on node would be //NASServer01/ABC/test.txt. If the file test.txt would be present on NASServer01 then the monitor will keep the node status as UP otherwise will mark it as Down.

 

kindly help to share the steps for creating this monitor.

 

1 Reply

  • You can find configuration settings for an SMB (CIFS) monitor here. (This is for BIG-IP v13.1. Monitor Configuration References are available for other BIG-IP versions as well.)

     

    Basically, you'll create a custom SMB monitor most likely using the F5-built-in SMB monitor as the parent. At a minimum, you'll need to configure the monitor with the name of the SMB server and the path/filename of the object you want to retrieve. If authentication is required, you can specify a user name and password.

     

    You can then assign the monitor to the appropriate pool members (either individually or at the pool level). The monitor performs the health check at the specified Interval. If the check for the file is successful, the monitor will mark the assigned resource up (in other words, available for traffic processing). If the check for the file repeatedly fails (or if no response is received from the assigned resource) within the specified Timeout the monitor will mark the assigned resource down (unavailable for traffic processing).