Hi,
I have installed centreon_fortinet_fortigate.pl fro the Monitoring connector manager.
In the available mode I have uptime listed.
/centreon_fortinet_fortigate.pl --plugin=network::fortinet::fortigate::snmp::plugin --list-mode
Plugin Description:
Check Fortinet Fortigate in SNMP.
...
Modes Available:
ap-usage
cluster-status
cpu
disk
hardware
interfaces
ips-stats
link-monitor
list-interfaces
list-link-monitors
list-switches
list-virtualdomains
memory
sdwan
sessions
signatures
switch-usage
uptime
vdom-usage
virus
vpn
However when I try it:
> /usr/lib/centreon/plugins//centreon_fortinet_fortigate.pl --plugin=network::fortinet::fortigate::snmp::plugin --mode=uptime --hostname=X.Y.Z.A --snmp-version='2c' --snmp-community='dummy'
UNKNOWN: Cannot load module --mode.
Can't locate snmp_standard/mode/uptime.pm in @INC (you may need to install the snmp_standard::mode::uptime module) (@INC contains: /usr/lib/centreon/plugins FatPacked::94775752674704=HASH(0x5632b3124d90) /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib/centreon/plugins//centreon_fortinet_fortigate.pl line 6069.
At first I thought I was missing a plugin in the Monitoring connector manager but generic snmp module is installed. Then by looking at similar error message on the web it seems to be an issue in the plugin istself.
I am not an expert on centreon so is it me doing something very stupid or is there an bug in the plugin?