Skip to main content

Hi everyone,

 

We are new in Centreon configuration and we get some issues using one plugin. I’m french so I hope my English will be understandable.

 

We just install the plugin “Extreme Network” on our Centreon  24.10.5 to monitor our Extreme switches.

We configured SNMPv3 on our Extreme switches :

$enable snmp access
$configure snmpv3 add user toto authentication sha tototitiauth privacy aes tototitipri
$configure snmpv3 add group admin user toto sec-model usm
$configure snmpv3 add access admin sec-model usm sec-level priv read-view defaultAdminView write-view defaultAdminView notify-view defaultNotifyView

 

In Centreon, we create these entries for the host model :

SNMPUSERNAME    toto
AUTHPROTOCOL    SHA
AUTHPASSPHRASE    ‘tototitiauth’
PRIVPROTOCOL    AES
PRIVPASSPHRASE    ‘tototitipri’
SNMPEXTRAOPTIONS

 

We select the v3 for SNMP version and do not define the name SNMP community. Not necessery in SNMPv3.

 

With the command “snmpwalk” from our Central Centreon to our switch with this command :

$snmpwalk -v3 -l authPriv -u toto -a SHA -A ‘‘tototitiauth’ -x AES -X ‘tototitipri’ IP_Address

We get some results.

 

But when we add the services on Centreon using the configuration, we got the message : “UNKNOWN: Missing parameter Security Name.”

 

Thanks !

 

Best regards,

hello,

can you try to get the “command” that has been generated, you get it from the right panel, in “detail”, at the bottom you have the full command line that has been generated and run on the poller

(you can hide your login password) but please sent the full command line to help debugging

 

you can also try and run it directly from the centreon shell with “--debug” at the end and send the result also 


Hello,

 

So here the 4 commands which are execute in Centreon :

  • Command to check the Ping OK

/usr/lib64/nagios/plugins/check_icmp -H 172.x.x.x -w 3000.0,80% -c 5000.0,100% -p 1

Result : OK - 172.x.x.x rta 1.804ms lost 0%|rta=1.804ms;3000.000;5000.000;0; pl=0%;80;100;0;100 rtmax=1.804ms;;;; rtmin=1.804ms;;;;

  • Command to check CPU NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=cpu --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --warning-total='90' --critical-total='95' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.

  • Command to check Hardware-Global NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=hardware --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --component='.*' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.

  • Command to check Memory NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=memory --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --warning-usage='80' --critical-usage='90' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.

 

The 3 last checks are related to our host model you can see attached. So we don’t think that we have to give the same arguments as the host model for each service (SNMPUSERNANE,...).

 

Thanks,

 


Hello,


So here the 4 commands which are execute in Centreon :

  • Command to check the Ping OK

/usr/lib64/nagios/plugins/check_icmp -H 172.x.x.x -w 3000.0,80% -c 5000.0,100% -p 1

Result : OK - 172.x.x.x rta 1.804ms lost 0%|rta=1.804ms;3000.000;5000.000;0; pl=0%;80;100;0;100 rtmax=1.804ms;;;; rtmin=1.804ms;;;;

  • Command to check CPU NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=cpu --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --warning-total='90' --critical-total='95' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.

  • Command to check Hardware-Global NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=hardware --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --component='.*' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.

  • Command to check Memory NOK

/usr/lib/centreon/plugins//centreon_extreme.pl --plugin=network::extreme::snmp::plugin --mode=memory --hostname=172.x.x.x --snmp-version='3' --snmp-community='public'  --warning-usage='80' --critical-usage='90' --verbose --debug

Result : UNKNOWN: Missing parameter Security Name.


The 3 last checks are related to our host model you can see attached. So we don’t think that we have to give the same arguments as the host model for each service (SNMPUSERNANE,...).


Thanks,


hello, as I asked previously can you please provide the screenshot of the “result” 

that is the configuration of a template, when you push that configuration on a host and you get the error, please screenshot the “detail” panel on the ressource status where there is the command line that has been generated from these macros/parameters

 

I think I know where the problem is, but I will need that screenshot to confirm things


Sorry, if I understand :

For the host :

For example CPU :

 


Hello,

 

Sorry :

 

 


Reply