Forum Discussion

rafaelbn_305907's avatar
rafaelbn_305907
Icon for Nimbostratus rankNimbostratus
Nov 07, 2017

SNMP timeout even through localhost

Hello Devs!

I have a 5250 appliance that for some odd reason is not responding to SNMP!

Current config is as follows:

root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list sys snmp
    sys snmp {
        agent-addresses { tcp6:161 udp6:161 }
        allowed-addresses { 127. 10.10.10.182 }
        communities {
            test {
                community-name mycommunity
                source default
            }
        }
        disk-monitors {
            root {
                minspace 2000
                path /
            }
            var {
                minspace 10000
                path /var
            }
        }
        process-monitors {
            bigd {
                process bigd
            }
            chmand {
                process chmand
            }
            httpd {
                max-processes infinity
                process httpd
            }
            mcpd {
                process mcpd
            }
            sod {
                process sod
            }
            tmm {
                max-processes infinity
                process tmm
            }
        }
        sys-contact nobody
        sys-location someplace
    }
root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) 

When the host tryes to do a snmp get, it timeouts. I can see the get coming in but big-ip never answers it...

[root@bigip1:Active:Standalone] config  tcpdump -i mgmt port 161
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on mgmt, link-type EN10MB (Ethernet), capture size 65535 bytes
21:27:36.863972 IP 10.10.10.182.43518 > bigip1.local.snmp:  C=mycommunity GetRequest(280)  31.1.1.1.6.256 31.1.1.1.10.256 interfaces.ifTable.ifEntry.ifInErrors.256 interfaces.ifTable.ifEntry.ifOutErrors.256 31.1.1.1.7.256 31.1.1.1.11.256 interfaces.ifTable.ifEntry.ifInDiscards.256 interfaces.ifTable.ifEntry.ifOutDiscards.256 31.1.1.1.1.256 31.1.1.1.6.240 31.1.1.1.10.240 interfaces.ifTable.ifEntry.ifInErrors.240 interfaces.ifTable.ifEntry.ifOutErrors.240 31.1.1.1.7.240 31.1.1.1.11.240
21:27:36.863988 IP 10.10.10.182.43518 > bigip1.local.snmp:  C=mycommunity GetRequest(66)  interfaces.ifTable.ifEntry.ifInDiscards.240 interfaces.ifTable.ifEntry.ifOutDiscards.240 31.1.1.1.1.240
21:27:41.866103 IP 10.10.10.182.43518 > bigip1.local.snmp:  C=mycommunity GetRequest(280)  31.1.1.1.6.256 31.1.1.1.10.256 interfaces.ifTable.ifEntry.ifInErrors.256 interfaces.ifTable.ifEntry.ifOutErrors.256 31.1.1.1.7.256 31.1.1.1.11.256 interfaces.ifTable.ifEntry.ifInDiscards.256 interfaces.ifTable.ifEntry.ifOutDiscards.256 31.1.1.1.1.256 31.1.1.1.6.240 31.1.1.1.10.240 interfaces.ifTable.ifEntry.ifInErrors.240 interfaces.ifTable.ifEntry.ifOutErrors.240 31.1.1.1.7.240 31.1.1.1.11.240
21:27:41.866121 IP 10.10.10.182.43518 > bigip1.local.snmp:  C=mycommunity GetRequest(66)  interfaces.ifTable.ifEntry.ifInDiscards.240 interfaces.ifTable.ifEntry.ifOutDiscards.240 31.1.1.1.1.240
^C
4 packets captured
9 packets received by filter
0 packets dropped by kernel
[root@bigip1:Active:Standalone] config  

I even tryed doing a snmpwalk from localhost but it also didn't work.

[root@bigip1:Active:Standalone] config  snmpwalk -v 2c -c mycommunity  127.0.0.1 .
Timeout: No Response from 127.0.0.1
[root@bigip1:Active:Standalone] config 

Doing 'bigstart restart snmpd' didn't solve the issue either. The only suspicious thing I have found is this log message on /var/log/daemon.log:

[root@bigip1:Active:Standalone] config  grep snmp /var/log/daemon.log
Nov  7 18:19:01 bigip1 warning snmpd[5271]: Warning: no access control information configured.   (Config search path: /usr/share/snmp)   It's unlikely this agent can serve any useful purpose in this state.   Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.

Any ideas of what to do next? I really don't want to reload this box since it is not part of a cluster...

Thanks! Rafael

9 Replies

    • rafaelbn's avatar
      rafaelbn
      Icon for Cirrostratus rankCirrostratus

      I had to restart the appliance unfortunately.

       

      bigstart restart didn't work.

       

      Cheers!

       

    • YoniT_363893's avatar
      YoniT_363893
      Icon for Nimbostratus rankNimbostratus

      hi,

       

      this is the comannd "snmpwalk -Os -c public -v 2c localhost .1.3.6.1.4.1.3375.2.100.1"

       

      & tthis is the output: Timeout: No Response from localhost

       

      Thanks

       

    • rafaelbn's avatar
      rafaelbn
      Icon for Cirrostratus rankCirrostratus

      YoniT,

      Can you paste the output off:

      list sys snmp allowed-address
      

      Cheers!

  • Hi

     

    would you run this command?

     

    snmpwalk -v 2c -c mycommunity localhost .

     

    And which OID does your snmp server request?

     

    thank you.