Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
babakpirouznia
New Contributor

SNMP dont work!

hi everyone

we have 100f (6.2.2) in our production and our topology is as bellow :

 

we have 2 vdom root and global and port 1 is in vdom root.

we don't restrict admins by restricted host.

ping is ok between agent and manager.

 

we config snmp as follow:

 

1) Go to Network -> Interfaces 2) Choose an interface that an SNMP manager connects to (port1) and select 'Edit' 3) In Administrative Access, select 'SNMP' 4) Select 'OK'

 

[size="2"]To configure the SNMP agent 1) Go to System -> SNMP 2) Select 'Enable' for the SNMP Agent 3) Enter a descriptive name for the agent 4) Enter the location of the FortiGate unit 5) Enter a contact or administrator for the SNMP Agent or FortiGate unit 6) Select 'Apply' To add an SNMP v1/v2c community - GUI: 1) Go to System -> SNMP 2) In the SNMP v1/v2c area, select 'Create New' 3) Enter a Community Name 4) Enter the IP address and Identify the SNMP (192.168.30.21) 5) Select the interface if the SNMP manager is not on the same subnet as the FortiGate unit 6) Enter the Port number that the SNMP managers in this community use for SNMP v1 and SNMP v2c queries to receive configuration information from the FortiGate unit.     Select the Enable check box to activate queries for each SNMP version 7) Enter the Local and Remote port numbers that the FortiGate unit uses to send SNMP v1 and SNMP v2c traps to the SNMP managers in this community 8) Select the Enable check box to activate traps for each SNMP version 9) Select 'OK'[/size]

 

 

[size="2"]but when i want add fortigate by snmp to solarwind "Test faild"[/size]

[size="2"]and debug show error as bellow:[/size]

 

[size="2"]snmpd: trap request ent_conf_change(0000000000000001) -> queue 1 in 0, 0 interval snmpd: queue is 0 entries long. snmpd: queueing trap 8000000000200000@4356047167 (4356047167) snmpd: queue is 1 entries long. snmpd: dequeueing trap 8000000000200000@4356047167 (4356047167) snmpd: sending to hosts: ent_conf_change(1) snmpd: trap4 prep: connect 192.168.30.21:162 vd=-1 (type 1) errno=101 (Network is unreachable) snmpd: trap4 prep: connect 192.168.30.21:162 vd=-1 (type 1) errno=101 (Network is unreachable) snmpd: trap4 prep: connect 169.254.0.1:162 vd=3 (type 3) errno=101 (Network is unreachable) snmpd: updating cache: idx_cache snmpd: updating cache: idx_cache snmpd: updating cache: idx_cache snmpd: trap4 prep: connect 192.168.30.21:162 vd=-1 (type 1) errno=101 (Network is unreachable)snmpd: updating cache: idx_cache[/size]

 

 

and command "diagnose sniffer packet port1 'port 161' 4"

shows:

20.922433 port1 -- 192.168.30.21.63773 -> 172.17.17.2.161: udp 42

20.922433 port1 -- 192.168.30.21.63773 -> 172.17.17.2.161: udp 42

20.922433 port1 -- 192.168.30.21.63773 -> 172.17.17.2.161: udp 42

20.922433 port1 -- 192.168.30.21.63773 -> 172.17.17.2.161: udp 42

20.922433 port1 -- 192.168.30.21.63773 -> 172.17.17.2.161: udp 42

2 REPLIES 2
HungDT
New Contributor III

Hello babakpirouznia,

I have the problem with you. Do you resolve it ? You can share with me.

Thanks a lot.

funkylicious

Hi,

This is a 3 year old post/thread :)

If you have similar issues, please share some info about your setup and what has been done on your side and we will try to help you solve it.

---------------------------
geek
---------------------------
---------------------------geek---------------------------
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors