Discussion:
snmp trap forward error
dmica
2013-09-18 07:36:11 UTC
Permalink
dmica [http://community.zenoss.org/people/dmica] created the discussion

"snmp trap forward error"

To view the discussion, visit: http://community.zenoss.org/message/74692#74692

--------------------------------------------------------------
Hi,

I have some traps that am receiving that sometimes am able to forward them and sometimes no (same Trap)

Traceback (most recent call last): File "/opt/zenoss/Products/ZenModel/actions.py", line 244, in execute self.executeBatch(notification, signal, targets) File "/opt/zenoss/Products/ZenModel/actions.py", line 293, in executeBatch subject = processTalSource(notification.content['subject_format'], **data) File "/opt/zenoss/Products/ZenModel/actions.py", line 73, in processTalSource return talEval(sourceStr, context, kwargs) File "/opt/zenoss/Products/ZenUtils/ZenTales.py", line 78, in talEval return talesEvalStr(expression, context, extra) File "/opt/zenoss/Products/ZenUtils/ZenTales.py", line 28, in talesEvalStr return talesEval('string:%s' % expression, context, extra) File "/opt/zenoss/Products/ZenUtils/ZenTales.py", line 48, in talesEval raise InvalidTalesException(msg) InvalidTalesException: Error when processing tales expression string:[nZ] ${evt/device_title} / Topology Change Occurred / Vlan: ${evt/vtpVlanIndex} / Port: ${evt/ifName} on context {'evt': <Products.ZenModel.NotificationSubscription.NotificationEventSummaryProxy object at 0x5f13a50>, 'trigger': {'name': 'topologyChange'}, 'urls': {'ackUrl': u'http://tstnms01.corporate.intra:8080/zport/dmd/Events/manage_ackEvents?evids=0050568c-6284-9f86-11e3-202d7ac8bd8d&zenScreenName=viewEvents', 'reopenUrl': u'http://tstnms01.corporate.intra:8080/zport/dmd/Events/manage_undeleteEvents?evids=0050568c-6284-9f86-11e3-202d7ac8bd8d&zenScreenName=viewEvents', 'eventUrl': u'http://tstnms01.corporate.intra:8080/zport/dmd/Events/viewDetail?evid=0050568c-6284-9f86-11e3-202d7ac8bd8d', 'baseUrl': 'http://tstnms01.corporate.intra:8080', 'closeUrl': u'http://tstnms01.corporate.intra:8080/zport/dmd/Events/manage_deleteEvents?evids=0050568c-6284-9f86-11e3-202d7ac8bd8d&zenScreenName=viewHistoryEvents', 'deviceUrl': u'http://tstnms01.corporate.intra:8080/zport/dmd/DevicesNone/devices/localhost/devicedetail', 'eventsUrl': 'http://tstnms01.corporate.intra:8080/zport/dmd/viewEvents'}, 'clearEvt': {}, 'notification': {'name': 'topologyChange'}, 'clearEventSummary': {}, 'eventSummary': <zenoss.protocols.wrappers.EventSummaryAdapter object at 0x6490050>} : Exception Class <class 'zope.location.interfaces.LocationError'> Message: (<Products.ZenModel.NotificationSubscription.NotificationEventSummaryProxy object at 0x5f13a50>, 'device_title')

Can someone help?

Thanks,
David
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74692#74692]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-09-18 17:46:18 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: snmp trap forward error"

To view the discussion, visit: http://community.zenoss.org/message/74697#74697

--------------------------------------------------------------
What method are you using to forward the traps? The last I heard was that
the forwarding feature was not built into core, but was in the enterprise
version. Did you use Jcurry's method from her
"zenoss_event_management_paper_v3.pdf"?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74697#74697]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dmica
2013-09-19 05:56:12 UTC
Permalink
dmica [http://community.zenoss.org/people/dmica] created the discussion

"Re: snmp trap forward error"

To view the discussion, visit: http://community.zenoss.org/message/74703#74703

--------------------------------------------------------------
Hi,

Thanks for your reply.

I think I have misled you sry :( am using the normal send e-mail procedure.

I wrote forward as am sending the trap detailsto the proper users. (not trap forward)

Thanks,
David
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74703#74703]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-09-19 13:45:49 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: snmp trap forward error"

To view the discussion, visit: http://community.zenoss.org/message/74705#74705

--------------------------------------------------------------
Can you provide the trigger and notification settings?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74705#74705]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dmica
2013-09-19 14:41:55 UTC
Permalink
dmica [http://community.zenoss.org/people/dmica] created the discussion

"Re: snmp trap forward error"

To view the discussion, visit: http://community.zenoss.org/message/74708#74708

--------------------------------------------------------------
Loading Image... Loading Image... Loading Image... Loading Image... Loading Image... Loading Image...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74708#74708]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...