Skip to main content
Question

Centreon switch ports probem with ./centreon_alcatel_omniswitch_snmp.pl

  • December 18, 2023
  • 2 replies
  • 43 views

Forum|alt.badge.img+2

Hello,

I’ve a problem with this plugin, only with interfaces 1/1, 1/2, 1/3 , 1/,4
I only need to check 2/1/1 interface but it checked every interfaces with 1 in the end

Same with 2/1/2 , 3, 4,…..
 

 

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • 1120 replies
  • December 19, 2023

Hi @kylian you can use --name option and set a regex as explained in the documentation


Forum|alt.badge.img+2
  • Author
  • Steward *
  • 16 replies
  • January 2, 2024

Hi Laurent,

 

Thank you for your answer but when I make a test on my centreon server I always see port with number 1 in. I try to only have one port
 

./centreon_alcatel_omniswitch_snmp.pl --hostname “ip” --snmp-version= “number” --snmp-community= “communityname” --mode=interfaces --interface=”1/1” --name=”1/1” --add-trafic --add-status

If “--interface” is empty I see all interfaces so I can’t let it empty