Discussion:
Why do events details in email notifications and event console differ?
RDNZL
2013-02-14 15:05:05 UTC
Permalink
RDNZL [http://community.zenoss.org/people/RDNZL] created the discussion

"Why do events details in email notifications and event console differ?"

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

--------------------------------------------------------------
I'm using Zenoss for quite some time now, and I just upgraded to 4.2.3.
All is well, system load is much lower, almost bought a new server for it.

But i'm wondering/cannot solve the following issue.

I get my event trigger notification emailed to me, in the email the information is raw/not the same as in event console.
I prefer to get the information in the event console in my email since it's better to read.

How to do that?

This is what I get in the mail:

Device: 192.168.160.43
Component:
Severity: 4
Time: 2013/02/14 15:46:18.000
Message: snmp trap snmp_linkDown
..
links deleted.

With this template:
Device: ${evt/device}
Component: ${evt/component}
Severity: ${evt/severity}
Time: ${evt/lastTime}
Message: ${evt/message}
<a href="${urls/eventUrl}">Event Detail</a>
<a href="${urls/ackUrl}">Acknowledge</a>
<a href="${urls/closeUrl}">Close</a>
<a href="${urls/eventsUrl}">Device Events</a>

This is what I see in the event console:



| agent | zensyslog |
| component | ports |
| dedupid | 192.168.160.43|ports|/Unknown|2| port 22 is now off-line |
| eventClass | /Unknown (http://192.168.1.110:8080/zport/dmd/Events/Unknown) |
| eventClassKey | ports |
| eventClassMapping |
|
| eventGroup | syslog |
| eventKey |
|
| eventState | New |
| evid | 0017a4f5-e5c1-a88c-11e2-76b54c403319 |
| facility | 1 |
| message | port 22 is now off-line |
| ntevid |
|
| priority | 6 |
| severity | 2 |
| summary | port 22 is now off-line |

Why are message and summary different, compared to mailed notification???
How to get this summary into the mail?
This is from a HP switch.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-02-15 17:58:20 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Why do events details in email notifications and event console differ?"

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

--------------------------------------------------------------
RDNZL:

I strongly suspect these arent the same event but probably happened at the same time. In the event console are there any events that match snmp trap snmp_linkDown?

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
RDNZL
2013-02-18 07:33:09 UTC
Permalink
RDNZL [http://community.zenoss.org/people/RDNZL] created the discussion

"Re: Why do events details in email notifications and event console differ?"

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

--------------------------------------------------------------
I looked again..
The events are created at the same time approx, but the ones that get mailed are snmp traps linkdown/up events which have severity 4. (which is the bottom level defined in my notification trigger)

At the approx same time another event is created like above in my first post.
As you can see it's not a snmp trap event, but a zensyslog event. Zenoss is also working as syslog server.
They get a lower severity of 2, which i don't have a notification setup for.

So I can create another notification and select on those specific events perhaps...
Will check, thanks.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-02-18 18:44:34 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Why do events details in email notifications and event console differ?"

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

--------------------------------------------------------------
RDNZL:

Anytime.

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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