Forum Discussion

JCMATTOS_41723's avatar
Icon for Nimbostratus rankNimbostratus
Sep 29, 2010

DNS Monitor Issue?




We have tried using the DNS Monitor posted on Dev Central and can't seem to get this working. I followed the instructions as best I could, when I do a tcpdump I don't even see the monitor being generated. I placed the montior txt script in its proper repository /usr/bin/monitors/DNS_Monitor.txt with 700+ permissions and added the arguments "" "" and still nothing. Am I missing something?



[root@F5-LTM1:Active] config ls -la /usr/bin/monitors


total 32


drwxr-xr-x 3 root root 4096 Sep 22 15:44 .


drwxr-xr-x 3 root root 12288 May 15 17:47 ..


-rwx------ 1 root root 1494 Sep 22 10:06 DNS_Monitor.txt


3 Replies

  • Hi JC,



    Do you get an UP message if you run the monitor manually from the command line?



    If that doesn't work, you can add debug to the script using this template as a guide:





  • I did a cli test and it shows UP.


    [root@F5-LB2:Active] config /usr/bin/monitors/DNS_Monitor.txt 53





    I'll try the debug next and let you know the results. Thx Aaron!


  • Aaron,


    Question wanted to see if my argument syntax was correctly stated as well, it seems i see a lot of conflicting documents on how to apply this thru the GUI.


    [root@F5-XX-LB1:Active] config b monitor DNS_Monitor list


    monitor DNS_Monitor {


    defaults from external


    interval 10


    timeout 35


    args ""


    run "DNS_Monitor.txt"