Skip to main content
Solved

UNKNOWN: Missing parameter Security Name.


Forum|alt.badge.img+3

hello,

I am encountering difficulties monitoring Nutanix through Centreon using SNMPv3.

 

/usr/lib/centreon/plugins//centreon_nutanix_snmp.pl --plugin=cloud::nutanix::snmp::plugin --mode=vm-usage --hostname=x.x.x.x --snmp-version='3'  --filter-name='' --warning-avg-latency='' --critical-avg-latency='' --warning-read-iops='' --critical-read-iops='' --warning-write-iops='' --critical-write-iops='' --warning-cpu='' --critical-cpu='' --warning-traffic-in='' --critical-traffic-in='' --warning-traffic-out='' --critical-traffic-out='' --verbose

» UNKNOWN: Missing parameter Security Name.

Do you have a solution for this issue ?

Best answer by vcoum

Did you activate and set up the SNMP v3 on the Nutanix side?

And does your Centreon server is allowed to request your Nutanix through SNMP ? (firewall rules, whitelist,..)

 

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

When I use SNMP v2c 


vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • February 6, 2024

Hello,

SNMP v3 need you to specify at least an username (or securityName) to works. You need to at least pu the option --snmp-username with your snmpv3 username to your command

If your SNMPv3 setup on your Nutanix require a password, and a passphrase, you also need to specify these options to your command (in EXTRAOPTIONS macro on centreon)

 

Hope it helps


Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

hello, thanks for your message

I received UNKNOWN: SNMP Table Request: Timeout


vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • February 6, 2024

Did you activate and set up the SNMP v3 on the Nutanix side?

And does your Centreon server is allowed to request your Nutanix through SNMP ? (firewall rules, whitelist,..)

 


Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

Yes, I've included the Centreon IP in the whitelist, but I haven't configured the firewall rules yet. How can I proceed with that ?


vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • February 6, 2024

You need to allow the udp port 161 from your Centreon server to your Nutanix on your firewall


Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

You're the boss, my friend! It's working, and I appreciate it. Thank you !

 

 


Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

If you have any ideas for this too ??

 

 

 


vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • February 6, 2024

You need to install the plugin first, but then there is some configuration to be done

I suggest you to try this doc, it will guide you (plugin installation and configuration) đŸ˜‰

https://docs.centreon.com/pp/integrations/plugin-packs/procedures/virtualization-vmware2-esx/#prerequisites


Forum|alt.badge.img+3
  • Steward **
  • February 6, 2024

thank you Vcoum đŸ‘đŸ»

 


Forum|alt.badge.img
  • Steward *
  • May 30, 2024

Hello Vacum,

Thank you. You helped me to solve the issue after many days.
Your’re the best.
 

My services checks were unknown and the message was : UNKNOWN: Missing parameter Security Name.

So I added in the field SNMPEXTRAOPTIONS of my host in centreon:

--snmp-username XXXXXX

(For information XXXXX = snmpv3 username that put in the file /var/lib/net-snmp/snmpd.conf and /etc/snmp/snmpd.conf)

Then the message changed to something like this : you don’t have the rights fort authentications (access denied)

So I completed my entry :

--snmp-username XXXXX --authprotocol SHA --authpassphrase YYYYYY --privprotocol AES --privpassphrase ZZZZZZ

For people who don’t know, you should replace YYYYY and ZZZZZ with your passphrases.

Best of luck.

If somebody needs help, you can send me an email: akesbi.selma@gmail.com

Regards,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings