Skip to main content

Hi ,

I tried to monitor multiple interfaces by using centreon_cisco_smallbusiness.pl

So I get the list of interfaces with this cli : ./centreon_cisco_smallbusiness.pl --mode list-interfaces --hostname=XX.XXX.XX.XXX --snmp-community=My_Community --snmp-version=2

 

And finally get the traffic with : 

./centreon_cisco_smallbusiness.pl --mode list-interfaces --hostname=XX.XXX.XX.XXX --snmp-community=My_Community --snmp-version=2 --mode=interfaces --interface=10627 --add-traffic


OK: Interface 'Gi2/0/27' Traffic In : 161.69b/s (0.00%), Traffic Out : 529.86b/s (0.00%) | 'traffic_in'=161.69b/s;;;0;1000000000 'traffic_out'=529.86b/s;;;0;1000000000
 

So I would know if it’s possible to add more interfaces in one cli.

Thx

Easy !!!

I give me the best answer badge .

Yes we can by just adding ID sepparate by comma .

Bye


And to go a bit farest , the sticky mode is activated on all interfaces , and interfaces that are not used are down .

I would recive an alert when somepeople try to connect a PC instead of the one that in place (?) .

Thx .


Reply