Forum Discussion

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

DNS Monitor Issue?

All,

 

 

We have tried using the DNS Monitor posted on Dev Central http://devcentral.f5.com/wiki/defau...ookup.html 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 "test1.xyz.com" "10.10.10.10" 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

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    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:

     

     

    http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TemplateForExternalLtmMonitors.html

     

     

    Aaron
  • I did a cli test and it shows UP.

     

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

     

    UP

     

     

    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 "test1.xyz.com 10.10.10.10"

     

    run "DNS_Monitor.txt"

     

    }