![]() |
![]() |
Subject: | snmp trap email missing event details |
Author: | richard martin |
Posted: | 2020-09-23 18:37 |
Running 6.3.2 core.
This works :
Should a remote device trigger an alert (ex disk latency), Zenoss does get the snmp trap.
An e-mail is generated, indicating an issue.
But this happens
However, a few minutes later, once latency goes away, another snmp message comes in as "Clear", increasing the Count by 1; and I never get to see the original message. Almost like snmp is overwritting its own events.
What I've tried
In event classes, Configuration properties, I tried changing the zEventAction to all values, but either no event is logged, or the event is over-written.
I read another post, where if I can one of the fields unique, it won't overwrite itself, but using the Transforms and Examples Wiki, my alerting is just failing.
Question # 1
Is it possible to get information from Event Details, and have this sent out via e-mail ? Can an example be provided ?
1.3.6.1.2.1.1.3.0 |
3169664790
|
all |
\nDeviceClass: /CBS/Appliances\nDeviceGroups: None\nDevicePriority: 3\nLocation: None\nSystems: None\nagent: zentrap\ncomponent: \ncreated: 1600897498\ndedupid: None\ndevice: 111.111.111.111\neventClass: /Status/Snmp\neventClassKey: vmwVrops.1.0.46\neventGroup: trap\neventKey: \neventState: 0\nevid: 08d0435e-fde6-11ea-8f55-0242ac110013\nfacility: None\nflappingInterval: None\nflappingSeverity: None\nflappingThreshold: None\nipAddress: 111.111.111.111\nmessage: snmp trap vmwVrops.1.0.46\nmonitor: localhost\nntevid: None\npriority: None\nprodState: 1000\nseverity: 3\nsummary: snmp trap vmwVrops.1.0.46\ntags:
|
community |
zenoss
|
eventClassMapping | |
manager |
ea44b7dd2c0f
|
oid |
1.3.6.1.4.1.6876.4.50.1.0.46
|
snmpVersion |
2
|
vmwVrops.1.2.1.0 |
vRealizeClusterNode
|
vmwVrops.1.2.10.0 |
Virtualization/Hypervisor
|
vmwVrops.1.2.11.0 |
Performance
|
vmwVrops.1.2.12.0 |
critical
|
vmwVrops.1.2.13.0 |
info
|
vmwVrops.1.2.14.0 |
info
|
vmwVrops.1.2.15.0 |
CPU|Usage
|
vmwVrops.1.2.16.0 |
VirtualMachine
|
vmwVrops.1.2.17.0 |
Virtual machine CPU usage is at 100% for an extended period of time
|
vmwVrops.1.2.18.0 |
Virtual machine CPU usage is at 100% for an extended period of time
|
vmwVrops.1.2.19.0 |
health
|
vmwVrops.1.2.2.0 |
NAME_OF_PC_WITH_A_PROBLEM
|
Question # 2
Is there an example, where eventClassKey gets converted to the value of eventclasskey_year_month_day_hour_minute_second, so that duplicates for issues regardign CPU usage does not get overwritten ?
Subject: | RE: snmp trap email missing event details |
Author: | Jane Curry |
Posted: | 2020-09-25 03:04 |
Subject: | RE: snmp trap email missing event details |
Author: | richard martin |
Posted: | 2020-09-25 15:35 |
Thanks Jane
Knowing about Good & Bad traps, to clarify a bit, nothing is clearing the Zenoss events via Clear method.
What happens, is vmware will send an alert about a disk full, If I'm fast enough, I can see the trap.
Later a cpu gets busy, and this same "event" comes into Zenoss, with the same footprint as the disk full. This new event overwrites the disk full log entry.
I'm trying to find a way to keep all bad news events, or send the data of bad news events to e-mail.
I will go through the link you sent me as well. Thanks .
Running 6.3.2 core.
This works :
Should a remote device trigger an alert (ex disk latency), Zenoss does get the snmp trap.
An e-mail is generated, indicating an issue.
But this happens
However, a few minutes later, once latency goes away, another snmp message comes in as "Clear", increasing the Count by 1; and I never get to see the original message. Almost like snmp is overwritting its own events.
What I've tried
In event classes, Configuration properties, I tried changing the zEventAction to all values, but either no event is logged, or the event is over-written.
I read another post, where if I can one of the fields unique, it won't overwrite itself, but using the Transforms and Examples Wiki, my alerting is just failing.
Question # 1
Is it possible to get information from Event Details, and have this sent out via e-mail ? Can an example be provided ?
1.3.6.1.2.1.1.3.0 |
3169664790
|
all |
\nDeviceClass: /CBS/Appliances\nDeviceGroups: None\nDevicePriority: 3\nLocation: None\nSystems: None\nagent: zentrap\ncomponent: \ncreated: 1600897498\ndedupid: None\ndevice: 111.111.111.111\neventClass: /Status/Snmp\neventClassKey: vmwVrops.1.0.46\neventGroup: trap\neventKey: \neventState: 0\nevid: 08d0435e-fde6-11ea-8f55-0242ac110013\nfacility: None\nflappingInterval: None\nflappingSeverity: None\nflappingThreshold: None\nipAddress: 111.111.111.111\nmessage: snmp trap vmwVrops.1.0.46\nmonitor: localhost\nntevid: None\npriority: None\nprodState: 1000\nseverity: 3\nsummary: snmp trap vmwVrops.1.0.46\ntags:
|
community |
zenoss
|
eventClassMapping | |
manager |
ea44b7dd2c0f
|
oid |
1.3.6.1.4.1.6876.4.50.1.0.46
|
snmpVersion |
2
|
vmwVrops.1.2.1.0 |
vRealizeClusterNode
|
vmwVrops.1.2.10.0 |
Virtualization/Hypervisor
|
vmwVrops.1.2.11.0 |
Performance
|
vmwVrops.1.2.12.0 |
critical
|
vmwVrops.1.2.13.0 |
info
|
vmwVrops.1.2.14.0 |
info
|
vmwVrops.1.2.15.0 |
CPU|Usage
|
vmwVrops.1.2.16.0 |
VirtualMachine
|
vmwVrops.1.2.17.0 |
Virtual machine CPU usage is at 100% for an extended period of time
|
vmwVrops.1.2.18.0 |
Virtual machine CPU usage is at 100% for an extended period of time
|
vmwVrops.1.2.19.0 |
health
|
vmwVrops.1.2.2.0 |
NAME_OF_PC_WITH_A_PROBLEM
|
Question # 2
Is there an example, where eventClassKey gets converted to the value of eventclasskey_year_month_day_hour_minute_second, so that duplicates for issues regardign CPU usage does not get overwritten ?
Subject: | RE: snmp trap email missing event details |
Author: | Michael Rogers |
Posted: | 2020-09-28 12:17 |
< |
Previous Running Zenoss Toolkit on 6 |
Next Graph point name from SNMP output |
> |