Bonjour to all,
I was testing this plugin lately and stumble upon what seems to be, if not a problem with the plugin itself, more a problem with its documentation. which states :Mode: Check interfaces.
--add-global Check global port statistics (By default if no --add-* option is set).
--add-status Check interface status.
According to the test I just made that’s the --add-status which is the default in case of none specified, not the --add-global$ /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=interfaces --hostname=10.*** --snmp-version='2c' --snmp-community='***' --interface='^Ethernet1/24$' --name
OK: Interface 'Ethernet1/24' Status : up (admin: up)
$ /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=interfaces --hostname=10.*** --snmp-version='2c' --snmp-community='***' --interface='^Ethernet1/24$' --name --add-global
OK: Total port : 1, AdminStatus Up : 1, AdminStatus Down : 0, OperStatus Up : 1, OperStatus Down : 0 | 'total_port'=1;;;0;1 'total_admin_up'=1;;;0;1 'total_admin_down'=0;;;0;1 'total_oper_up'=1;;;0;1 'global_oper_down'=0;;;0;1
$ /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=interfaces --hostname=10.*** --snmp-version='2c' --snmp-community='***' --interface='^Ethernet1/24$' --name --add-status
OK: Interface 'Ethernet1/24' Status : up (admin: up)
Installed package for his plugin is centreon-plugin-Network-Cisco-Standard-Snmp-20230810-100132.el8.noarch, Centreon 22.10.11
I can see that a 20230912-083720 is available but can’t manage to test tight now, And I profit of this feedback to tell again that’s highly unacceptable not having any release note for the Centreon plugins.
Why is the last release present in the GitHub repository is 20230118 ?