SNMP Trap configuration on V3.16

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
6 posts • Page 1 of 1
gregory.poson@siemens.com
Posts:5
Joined: Wed Jun 13, 2018 7:01 am

SNMP Trap configuration on V3.16

Post by gregory.poson@siemens.com »

Hi

I have recently tried to configure SNMP traps in V3.15 and V3.16 (thought this version may have solved some bugs if any). I have read the online help and am not able to find a solution as yet.

I have done the following:

1.) Config file:

[general]
pvss_path = "/opt/WinCC_OA/3.16"
proj_path = "/opt/WinCC_OA_Proj/RDAS"
proj_version = "3.16"
langs = "en_US.utf8"

[SNMPDrv]
enableTraps="Yes"
reportHomelessTraps=1
trapReceptionPort=162

[reporting]
httpAuth=0

[pmon]
allowSNMP="Yes"


2.) I have configured sysmgm->Driver->SNMP and configured an agent to which I configured the IP address and version etc....
3.) I installed iReasoning MIB Browser which is a SNMP Trap generator to OID 1.3.6.1.2.1.2.2.1.8.705
4.) I tested the trap on another SNMP Manager and it works successfully
5.) When I browse to para-> internal data points> _1_SNMPManager (the only SNMPManager in this tree), I do not find any strings of the trap being received,
6.) I have also changed the process monitor and SNMPManager in Wincc as [-dbg 26]. I do not get any logs within the logviewer


It therefore indicates that I may not be receiving these traps or I have not turned on some feature flag to receive these traps.

* Could you kindly send me an example or a demo that shows what I need to do to get this working?

On a side-note, I did get SNMP polling working when I interrogate a particular SNMP OID by polling, but could not get this to work as a trap.


Best Regards
Gregory Poson

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: SNMP Trap configuration on V3.16

Post by adaneau »

Hi Gregory,

Few remarks from my side:

1) use [snmpdrv] instead of [SNMPDrv] as config is case sensitive

2) ensure that traps receiving port is right

3) [pmon]
allowSNMP="Yes" is for allowing your pmon to be reachable by snmp, so not useful in your case I guess

4) Trap value will appear inside: para-> internal data points> _1_SNMPManager.Trap.specificTrap if not standard, para-> internal data points> _1_SNMPManager.Trap.genericTrap if standard

Hope it will help you.

BR
Alex

gregory.poson@siemens.com
Posts:5
Joined: Wed Jun 13, 2018 7:01 am

Re: SNMP Trap configuration on V3.16

Post by gregory.poson@siemens.com »

Hi Alex, thanks for the prompt response.

I have adjusted the configuration and still cannot get it working. From the documentation, the [enableTraps="yes"] is on my default.

I have documented the steps and screenshots in hope that something stands out to you and you can pinpoint my error.

Additional questions:
1.) Must the peripheral addresses be entered in the internal datapoints before I receive it? (from documentation only if you would like "payloadOID", then it it is needed else it should appear in generic / specfic traps).
2.) I have read the online documentation and also ETM forum, I cannot find an exact procedure how to receive traps.
3.) Must the receive port trap be specified and where? My understanding is that the default ports is okay when working in windows (i.e. port 161/162 are enough)

Confirmation of the steps that I have done is a good starting point in the attached document. The next step is to place a wireshark trace and see what I receive.


BR
Greg https://www.winccoa.com/fileadmin/image ... onfig.docx
Attachments
Config.docx
(792.51 KiB) Downloaded 198 times

gregory.poson@siemens.com
Posts:5
Joined: Wed Jun 13, 2018 7:01 am

Re: SNMP Trap configuration on V3.16

Post by gregory.poson@siemens.com »

Thanks Alex...

I have found a solution (after much tinkering and headache).

Thank you for your assistance.
Gregory Poson

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: SNMP Trap configuration on V3.16

Post by adaneau »

Hi,

Happy to read. What was the issue? I was wondering if something had to be done on SNMP device like allowing WinCC OA as trap receiver.

BR
Alex

gregory.poson@siemens.com
Posts:5
Joined: Wed Jun 13, 2018 7:01 am

Re: SNMP Trap configuration on V3.16

Post by gregory.poson@siemens.com »

Hi Alex,

Multiple configuration errors that I found ranging from agents to addresses. SNMP device was configured correctly to send to WinCC OA. If I can offer any advice, is to turn on debugging.


BR
Gregory Poson

6 posts • Page 1 of 1