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
308 stars 270 forks source link

Unknown option: warning-in-traffic-limit at /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl line 7613. #4694

Open lebolivard opened 9 months ago

lebolivard commented 9 months ago

Hi all

im new with centreo, i have been presenting a situation, i just installed Centreon 22.10.14, and i only installed the Cisco Standard Plugin. i was able to configure 2 hosts, bue when i try to monitor the traffic of an interface, it give me this notification and i don't know what to do to remedy it, does anuone have an idea?

Unknown option: warning-in-traffic-limit at /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl line 7613.

lebolivard commented 9 months ago

image I have tried entering some value and it does not work, i only try to see 2 interfaces in one SW, if i configure only that it works trough icmp, as i said, i am just starting with centreon, i am just a beginner here, and i don't know much. I've tried to check de command

image

joschi99 commented 9 months ago

you need to use option --warning-in-traffic

lebolivard commented 9 months ago

you need to use option --warning-in-traffic

i tried, but only gave me the same message Unknown option: warning-in-traffic-limit, i know by default it's unit '%'., i put 80 and it didn´t work, any other idea?

joschi99 commented 9 months ago

could you send the complete command that you are executing?

lebolivard commented 9 months ago

[root@SRV-LUMA ~]# /usr/lib/centreon/plugins/centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=list-interfaces --hostname=172.16.2.1 --snmp-version='2c' --snmp-community='parquesti' --interface='' --name --warning-in-traffic=50 --warning-out-traffic=50 --critical-in-traffic=70 --critical-out-traffic=70 --speed=20000 Unknown option: warning-in-traffic at /usr/lib/centreon/plugins/centreon_cisco_standard_snmp.pl line 7613.

joschi99 commented 9 months ago

mode=list-interfaces is used to discovery interfaces. If you want to monitor a interface you need to use mode=interfaces

/usr/lib/centreon/plugins/centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=interfaces --hostname=172.16.2.1 --snmp-version='2c' --snmp-community='parquesti' --interface='' --name --warning-in-traffic=50 --warning-out-traffic=50 --critical-in-traffic=70 --critical-out-traffic=70 --speed=20000

lebolivard commented 9 months ago

then how a have to do it via web, as i show in the picture here:

image

im new at this

lebolivard commented 8 months ago

Even today I still have the same problem, no matter how many times I change the parameter, I still get the same thing: Unknown option: warning-in-traffic-limit

I admit it must be nonsense, but I don't see exactly where it is. Can someone guide me?

omercier commented 6 months ago

Hi, I think you have an old version of the plugin. Can you give me the output of rpm -qi centreon-plugin-Network-Cisco-Standard-Snmp if you're usin EL8/9 or apt show centreon-plugin-network-cisco-standard-snmp if you're using Debian?

lucie-dubrunfaut commented 2 weeks ago

Hello :)

Without additional information we are not able to provide a solution or resolve a possible bug. So @lebolivard if you still need a response / solution to this issue, can you answer to @omercier message's above?