centreon / centreon-plugins

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
https://www.centreon.com
Apache License 2.0
310 stars 273 forks source link

[Network::Fortinet::Fortigate::SNMP] - UNKNOWN: SNMP Session: unable to create #4437

Closed volgur closed 1 year ago

volgur commented 1 year ago

Hello,

I'm facing an issue about my Fortigate. I try to monitor it in SNMP v3, without any success. As the tcpdump show, my Centreon don't even send any snmp request.

Here are the command + output :

perl centreon_plugins.pl --plugin=network::fortinet::fortigate::snmp::plugin.pm --snmp-version=3 --snmp-username=USER --authpassphrase=PASSPHRASE --authprotocol=SHA256 --privprotocol=AES256 --privpassphrase=PRIVPASSPHRASE --hostname=HOST_IP --mode=cpu
UNKNOWN: SNMP Session: unable to create

Any ideas ? Thanks in advance

garnier-quentin commented 1 year ago

It won't work with AES256. It needs net-snmp 5.9.1.

volgur commented 1 year ago

I'm actually with net-snmp 5.8 but no updates are available. What can I do ?

garnier-quentin commented 1 year ago

You can:

volgur commented 1 year ago

Sadly, for few reasons, I can't use a less secure method, neither use rhel 9 or debian 12 I clearly don't know what "backport net-snmp" means :(

garnier-quentin commented 1 year ago

It means you add a newer version to your operating system (also means you'll need to do it manually).