Skip to main content
Needs Votes

Easy Way to use shared SNMP Community

Related products:Infra Monitoring - MonitoringInfra Monitoring - ConfigurationInfra Monitoring - Discovery
  • October 17, 2025
  • 10 replies
  • 113 views

Forum|alt.badge.img+3

Hello,

Today if we want to set snmp V2 community we can set it in template or host directly but we don’t have a “store” of the different snmp community and for SNMP V3 it’s much harder because you need to know the command line to set it via the EXTRAOPTION.

We have the “store” in the discovery part, can we have it everywhere ? =)

Thank by advance

Yohan

10 replies

Forum|alt.badge.img+5
  • Steward **
  • October 22, 2025

Hi,

native snmp v3 support for all plugins without using EXTRAOPTIONS would be fine.
We’ve modified several check commands by our own for a good handling of snmp v3 devices.


Forum|alt.badge.img+3
  • Author
  • Steward *
  • October 22, 2025

Hi,

native snmp v3 support for all plugins without using EXTRAOPTIONS would be fine.
We’ve modified several check commands by our own for a good handling of snmp v3 devices.

Same battle =)


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • October 31, 2025
NewNeeds Votes

Forum|alt.badge.img+3
  • Author
  • Steward *
  • November 6, 2025

If we can have this in template or host ? =)

 


Forum|alt.badge.img+5
  • Steward **
  • November 11, 2025

A modified check command does the trick (here for generic snmp check):

$CENTREONPLUGINS$/centreon_generic_snmp.pl --plugin=apps::protocols::snmp::plugin --mode=numeric-value --hostname=$HOSTADDRESS$ --snmp-version 3 --snmp-username='$_HOSTSNMPV3USERNAME$' --authpassphrase='$_HOSTSNMPV3AUTHPASSPHRASE$' --authprotocol='$_HOSTSNMPV3AUTHPROTOCOL$' --privpassphrase='$_HOSTSNMPV3PRIVPASSPHRASE$' --privprotocol='$_HOSTSNMPV3PRIVPROTOCOL$' $_HOSTSNMPEXTRAOPTIONS$ --oid='$_SERVICEOID$' --format='$_SERVICEFORMAT$' --warning=$_SERVICEWARNING$ --critical=$_SERVICECRITICAL$ $_SERVICEEXTRAOPTIONS$

We linked this command linked into the service template and now we can set all parameters via macros.


Forum|alt.badge.img+11

I agree, as SNMPV3 is more and more used around, having a “simpler” interface also makes a bit more sense than asking users to redo everything through command arguments.

Of course this can be standardized in a host or service template, but i would appreciate a UI.


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • November 19, 2025

The template basically will end up on the UI so it is a nice start from ​@Horst Kitsch 🤩


 

 


Forum|alt.badge.img+3
  • Author
  • Steward *
  • November 25, 2025

Hello,

How many vote are needed to push it in discussion ? =)

Thanks by advance

Yohan


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • November 25, 2025

Hi, 

The commands provided by the Monitoring Connectors may be enhanced to apply the same improvements as we did here for Linux.

Please post the connectors you’d like to see enhanced here and we’ll try to prioritize the most anticipated connectors.


Forum|alt.badge.img+3
  • Author
  • Steward *
  • November 27, 2025

Hello,

It’s not about a specific connector, in my mind it could be better if we can have a credential storage like the database for pollers for exemple where we can get the different SNMP communities in SNMP V2 or V3 for any connectors.
In the discovery part, we already have this feature like i’ve posted before with the screenshot. 

I can show you directly what i propose if you want and discuss about it ?