[SNMP] Some read/write communities to ask via SNMP: Config file

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
ketxu
Posts:7
Joined: Mon Oct 05, 2015 1:44 pm

[SNMP] Some read/write communities to ask via SNMP: Config file

Post by ketxu »

Hello.

I want to ask a question related with the agents of SNMP. For a project I am working on, I have to know the values of some Hirschmann Switches states. In this case, all the switches are all the same or have a lot of similarities between them: the values to ask for the information of them on configuration are the same.

For this case y set this in the config file:

#Related for the SNMP Manager
[pmon]
allowSNMP = "Yes"
v1ReadCommunity = "public"
v1WriteCommunity = "public"

#Related for the SNMP Agents
[snmpa]
v1ReadCommunity = "public"
v1WriteCommunity = "public"


The question is that how is the way to set the config file when the elements I want to monitor via SNMP has, apart from public/public read/write communities, another different values, such as, admin/admin. This is the case of this project I am working on. How much entries I have to write in the config file depending on the different read/write communities?

nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Re: [SNMP] Some read/write communities to ask via SNMP: Config file

Post by nmnogueira »

The configuration you did in the config file only applies when using WinCC OA as an SNMP agent, so you can monitor the status using an external tool.

I believe you want the other way around (using WinCC OA to monitor the status of the switches through SNMP). To do this, you have to add a SNMP driver, and configure the connections in the SNMP configuration panel as explained in the documentation.

2 posts • Page 1 of 1