A fortigate I manage starting giving issues where the SNMPD process would crash with a signal 6 and restart itself on a regular basis.
After some troubleshooting it seems that it may be caused by duplicate snmp-index on multiple intefaces.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
config system interface
edit "mgmt"
set vdom "root"
set ip 172.16.1.1 255.255.255.0
set allowaccess ping https ssh snmp http fgfm
set type physical
set dedicated-to management
set role lan
set snmp-index 1
next
edit "ha"
set vdom "root"
set type physical
set snmp-index 2
next
edit "port1"
set ip 10.10.10.1 255.255.255.0
set vdom "root"
set allowaccess ping
set type physical
set role lan
set snmp-index 2
next
To resolve this issue change the snmp-index:
1
2
3
4
5
config system interface
edit port1
set snmp-index 3
next
end