Good morning,
I am trying to discover IPSEC tunnels from a fortigate and I have an error at the discovery rule level, it states that an item with the same key already exists. However, I've checked the host and cannot find the items.
I've configured my discovery like this :

I am basically retrieving the snmp index and the name of the tunnel.
Then I created this item :

I ensured to place the snmpindex at the end of the key so I'm sure its unique.
I also tested the discovery, which returns : [{"{#SNMPINDEX}":"1.1","{#FGVPNTUNENTPHASE1NAME} ":" VPN-PA3-PAM94"},{"{#SNMPINDEX}":"2.1","{#FGVPNTUNENTPHASE1 NAME}":"VPN-KEO-VELIZY"},{"{#SNMPINDEX}":"3.1","{#FGVPNTUNENTPHASE 1NAME}":"VPN-MOB-STOUEN"}]
And I am getting this error at the host level :

I don't understand why since the items do not exist on the host. I thought this was the host, but I have the same problem with another fortigate. Other discovery rules are working perfectly on both fortigate.
I've been working on it for quite some time, even tried to reboot the server.
Can anyone help ?
Thanks!
I am trying to discover IPSEC tunnels from a fortigate and I have an error at the discovery rule level, it states that an item with the same key already exists. However, I've checked the host and cannot find the items.
I've configured my discovery like this :
I am basically retrieving the snmp index and the name of the tunnel.
Then I created this item :
I ensured to place the snmpindex at the end of the key so I'm sure its unique.
I also tested the discovery, which returns : [{"{#SNMPINDEX}":"1.1","{#FGVPNTUNENTPHASE1NAME} ":" VPN-PA3-PAM94"},{"{#SNMPINDEX}":"2.1","{#FGVPNTUNENTPHASE1 NAME}":"VPN-KEO-VELIZY"},{"{#SNMPINDEX}":"3.1","{#FGVPNTUNENTPHASE 1NAME}":"VPN-MOB-STOUEN"}]
And I am getting this error at the host level :
I don't understand why since the items do not exist on the host. I thought this was the host, but I have the same problem with another fortigate. Other discovery rules are working perfectly on both fortigate.
I've been working on it for quite some time, even tried to reboot the server.
Can anyone help ?
Thanks!
Comment