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 stat

 

I found one of object stat oid

snmptranslate -On F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries.\"dns_test\"

.1.3.6.1.4.1.3375.2.2.6.14.2.3.1.2.8.100.110.115.95.116.101.115.116

 

but not display value when I enter below command

snmpwalk -c public -v 2c 127.0.0.1 .1.3.6.1.4.1.3375.2.2.6.14.2.3.1.2.8.100.110.115.95.116.101.115.116

F5-BIGIP-LOCAL-MIB::ltmDnsProfileStatQueries."dns_test" = No Such Instance currently exists at this OID

 

Please let me know what is problem.. thank you !

  • 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.

2 Replies

  • 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.