Hi folks, I have a little problem with SNMP on FortiMail. I have successfully configured it on FortiSandbox, but on FortiMail it doesn't work. Always when I use snmpwalk
snmpwalk -v 2c -c public fortimail_IP
I get error message about no response and timeout. I have set it in same way as on sandbox, I have enabled SNMP on interface, I have enabled SNMP in configuration, I am using default community public which is also allowed. There is no problem with firewall, because in Traffic Capture I can see that my request has came to fortimail, there is also response, but it sends several time same packets, which actually will not come to server which sent the request. Fortimail sents 1.3.6.1.2.1.1.1.0 with value fortimail, then there is packet with get-next-request from my server to fortimail with OID 1.3.6.1.2.1, and fortimail sends again 1.3.6.1.2.1.1.1.0 with value fortimail. This is repeating few times, and then my server throws error message with timeout. I also tried SNMP v3, but there is same problem.
Could someone help me how to troubleshoot this problem? I have no idea. Thank you.
I just tested on the latest build and it works fine.
[ul]Sounds like you are past this point though and are having issues receiving the reply. This line is the one that I would guess it the issue.
>there is also response, but it sends several time same packets, which actually
>will not come to server which sent the request.
FortiMail will always respond to the IP that is making the request.
[ul]Either way, some more detail such as version, interface config, traffic dumps and network layout might help get to the bottom of this.
Dr. Carl Windsor
Chief Information Security Officer (CISO)
Fortinet
Hello,
I have pretty much the same issue here :
Running FortiMail 7.2.4
SNMP enabled on (mgmt) interface port4
Routing OK
SNMP server on different subnet (no NAT - routing OK)
SNMP configured in configuration -> SNMP (using custom community in SNMP v2c)
Allowed subnet in which SNMP server resides in Comunity Hosts
Enabled Query v2c port 161
Result is timeout
Traffic capture on FML shows SNMP requests but no response from the FML.
Any idea ?
Hi
Can you try from a host on the same subnet as FML port 4.
User | Count |
---|---|
1923 | |
1144 | |
769 | |
447 | |
279 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.