Skip to main content
Exo
New Member
March 28, 2018
Question

Timeout on snmpwalk

  • March 28, 2018
  • 1 reply
  • 33700 views

Hello,

 

I've noticed a strange problem on a new FortiOS 5.6.3, FortiGate 60E.

 

I'm trying to monitor, thanks to SNMP, my wan traffic Bandwidth. I'm using Centreon monitoring system.

The script that I used is working on other Fortigate (80D, 60D and 30E).

When I used this script i've got a "UNKNOWN: SNMP GET Request : Timeout" error.

 

When I do a "snmpwalk -v 2c -c my_community [my_public_ip_address]" I can go trough all the OIDs allways until this OID "EtherLike-MIB::dot3ControlInUnknownOpcodes.17". For exemple :

# snmpwalk -v 2c -c my_community [my_public_ip_address]
SNMPv2-MIB::sysDescr.0 = STRING:
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.12356.101.1.641
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10257880) 1 day, 4:29:38.80
SNMPv2-MIB::sysContact.0 = STRING:

[...]

EtherLike-MIB::dot3ControlInUnknownOpcodes.13 = Counter32: 0
EtherLike-MIB::dot3ControlInUnknownOpcodes.14 = Counter32: 0
EtherLike-MIB::dot3ControlInUnknownOpcodes.15 = Counter32: 0
EtherLike-MIB::dot3ControlInUnknownOpcodes.16 = Counter32: 0
EtherLike-MIB::dot3ControlInUnknownOpcodes.17 = Counter32: 0
Timeout: No Response from [my_public_ip_address]

 

When I do a "snmpwalk -v 2c -c my_other_community [my_other_public_ip_address]" on my other FortiGate I can go trough all the OIDs whitout error.

 

All my other Centreon check (CPU, RAM, Session) on my 60E are working perfectly.

 

It's the only 60E Fortigate that i'll have, but my others FortiGate in 5.6.3 OS are working well.

The SNMP is enable and correctly configure. On my WAN interface the SNMP is enable : otherwise I think that I can't run a snmpwalk at all.

I don't think that my public interface is not working well because I'm always stuck on the same OID...

 

Is somebody know how to resolve this issue or have an idea ?

 

Thanks.

1 reply

emnoc
New Member
March 28, 2018

Q:

 

1: can you do this from a local SNMPhost

 

2:  is the unit in a cluster

 

 

Exo
ExoAuthor
New Member
April 9, 2018

Hello,

 

Thanks for the reply.

 

This unit is not in a cluster.

 

You're right if I do the snmpwalk command from a local computer I can read all the OIDs.

Moreover I realise that I've the same problem with another brands but always with the same internet provider (french Orange connection).

Maybe it's some option with the box or the box itself who is dropping the query.

 

I 'm going to investigate on this point.

 

Thanks.

localhost
Visitor III
April 9, 2018

I have seen the same issue on other Fortigates as well. But unfortunately can't remember which model and forti os version :).

Definitely cluster and if I recall correctly we were accessing them over the internet as well.

 

As a workaround, I just added the traffic bandwith monitor manually using the snmp-index value, which you can find under #config system interface.

In PRTG network monitor it is as easy as copying an existing bandwith sensor from a different Fortigate and changing the snmp index.