Highlighted
dosm
1 Copper

Sending vCOps SNMP alerts

I have been working on sending vCOps SNMP traps to Smarts, however the content of the vCOps SNMP trap isn't sufficient to quickly determine the alert type  Eg, it simply refers to Resource kind as 'Resource' , the event is too generic.I am also having problems getting the vCenter events (Faults) sent via SNMP from vCOps.

Has anyone any experience with getting vCOps alerts presented to any alert monitoring tool? Or indeed in an environment with vCOps how are you alerted to issues?

Labels (1)
Reply
8 Replies
Highlighted
reseach
3 Argentium

Re: Sending vCOps SNMP alerts

I will ask around to see anyone able to get back to you.

Reply
Highlighted
Ionix1
1 Copper

Re: Sending vCOps SNMP alerts

This is probably a silly question but did you add an alert handler instance and did you select the alerts to send because those are the steps you need to go through to configure vCenter Operations Manager to send alerts to Smarts.

It is pretty well documented in the EMC Smarts Integration Guide.

Reply
Highlighted
dosm
1 Copper

Re: Sending vCOps SNMP alerts

Thanks for the replies. I'm not using the vcops-smarts adapter as its not yet certified with vCOps v5 and Smarts v9 - hence I'm trying to use standard SNMP. I have alerts coming through ok, its just the issues outlined in my initial Q.

I am thinking i will have to wait until certification of vcop-smarts adapter, ......

Reply
Highlighted
Ionix1
1 Copper

Re: Sending vCOps SNMP alerts

Not necessarily. The details are usually in the trap's variable bindings. Did you try to reconfigure the Smarts Trap Adapter to display the variable bindings in the user defined fields of the Smarts notification? When I have trouble transforming traps into Smarts notifications, I start adding entries to the trap_mgr.conf file, like this:

BEGIN_TRAP <your OID>

     ClassName: vCops

     InstanceName: $SYS$

     EventName: TestEvent_<your OID>

     Severity: 4

     State: NOTIFY

     Expiration: 0

     EventType: MOMENTARY

     InMaintenance: FALSE

     ClearOnAcknowledge: TRUE

     SysNameOrAddr: $A$

     UnknownAgent: CREATE

     UserDefined1: $V1$

     UserDefined2: $V2$

     UserDefined3: $V3$

     UserDefined4: $V4$

     UserDefined5: $V5$

     UserDefined6: $V6$

     UserDefined7: $V7$

     UserDefined8: $V8$

     UserDefined9: $V9$

     UserDefined10: $V10$

END_TRAP

I then know what information is available in the trap so that I can start mapping fields accordingly.

I hope this helps.

Reply
Highlighted
dosm
1 Copper

Re: Sending vCOps SNMP alerts

Thanks for your advice, (I'm kindof a newbie in the smarts field, which prob doesn't help matters).

I think thats part of the problem - the trap varbinds coming from vCOps is simply referred to as 'Resource' ??

Sample trap:

Timestamp:           'June 20, 2012 9:30:31 AM EDT'

Agent:               x.x.x.x

Enterprise OID:      '.1.3.6.1.4.1.19004'

Generic Type:        '6'

Specific Type:       '101'

Varbinds:            [oid]->[varbind]

                     '.1.3.6.1.4.1.19004.2.1' --> 'localhost'

                     '.1.3.6.1.4.1.19004.2.2' --> 'GIS-Lab-Portal'

                     '.1.3.6.1.4.1.19004.2.3' --> 'Resource'

                     '.1.3.6.1.4.1.19004.2.4' --> '1340199198881'

                     '.1.3.6.1.4.1.19004.2.5' --> '4'

                     '.1.3.6.1.4.1.19004.2.6' --> 'New alert by id 6751 is generated at Wed Jun 20 09:33:18 EDT 2012; Root Cause : (71 OUT OF 160 SYMPTOMS)

  1. 1. SUMMARY    (3 OF 5)

  60% - DT ABOVE - SUMMARY | NUMBER OF VMOTIONS

  1. 2. DISK    (3 OF 5)

  100% - DT ABOVE - DISK:NAA.6006016041102D007CCAF89DF030E111 | PHYSICAL DEVICE COMMAND LATENCY (MS)

  20% - DT ABOVE - DISK | WORKLOAD (%)

  20% - DT ABOVE - DISK:NAA.6006016041102D0043F43CFC772BE111 | READ RATE (KBPS)

  20% - DT ABOVE - DISK:AGGREGATE OF ALL INSTANCES | KERNEL DISK COMMAND LATENCY (MS)

  20% - DT ABOVE - DISK:NAA.6006016041102D0043F43CFC772BE111 | READS PER SECOND

Reply
Highlighted
Baadsgaard
1 Copper

Re: Sending vCOps SNMP alerts

Hello Dosm,

Realizing that you've posted this question 2 months ago, are you still looking for some help? if so, please let me know how I can be of assistance.

Regards,

Joseph

Reply
Highlighted
dosm
1 Copper

Re: Sending vCOps SNMP alerts

I didn't proceed any further with testing via standard SNMP, instead I waited for the latest version of the smarts-vcops adapter (which supports Smarts 9.x and vCops 5.x) which is a far superior solution. However not so good at passing the Faults from vCOps to smarts however that is another matter entirely!

Reply
Baadsgaard
1 Copper

Re: Sending vCOps SNMP alerts

Hello Dosm,

Thank you for getting back to me.  Is there anything else I can assist you with regarding this post?

Regards,

Joseph

Reply