Start a Conversation

Unsolved

This post is more than 5 years old

A

5 Practitioner

 • 

274.2K Posts

3030

June 21st, 2012 05:00

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?

225 Posts

June 24th, 2012 18:00

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

5 Practitioner

 • 

274.2K Posts

June 26th, 2012 14:00

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.

5 Practitioner

 • 

274.2K Posts

June 27th, 2012 00:00

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, ......

5 Practitioner

 • 

274.2K Posts

June 27th, 2012 06:00

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

     ClassName: vCops

     InstanceName: $SYS$

     EventName: TestEvent_

     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.

5 Practitioner

 • 

274.2K Posts

June 27th, 2012 06:00

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

16 Posts

September 19th, 2012 13:00

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

5 Practitioner

 • 

274.2K Posts

October 2nd, 2012 06:00

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!

16 Posts

October 10th, 2012 15:00

Hello Dosm,

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

Regards,

Joseph

No Events found!

Top