Forum Discussion

neeeewbie's avatar
Oct 16, 2020
Solved

dns query OID

Hi guys I need your help !   I can't find ltmDnsProfileStatQueries value I found all of stat of dns cache it is this oid .1.3.6.1.4.1.3375.2.2.6.14.2.3.1.2 but I can't find one of object sta...
  • Dario_Garrido's avatar
    Oct 21, 2020

    Hello.

    You should start from a generic OID to a more specific OID. For example, run this command.

    # snmpwalk -v 2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries
    F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries."/Common/dns" = Counter64: 0

    In my case, I only have one specific profile.

    In the translation command you also need to put the partition (/Common/).

    # snmptranslate -On F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries.\"/Common/dns\"
    .1.3.6.1.4.1.3375.2.2.6.14.2.3.1.2.11.47.67.111.109.109.111.110.47.100.110.115
     
    # snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.3375.2.2.6.14.2.3.1.2.11.47.67.111.109.109.111.110.47.100.110.115
    F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries."/Common/dns" = Counter64: 0

    Regards,

    Dario.