Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1931

February 21st, 2011 23:00

Hookscript for fetching details from underlying AM Domain

I am calling a hookscript on SAM server to enrich an alert when it is generated from the AM Domain and reaches the SAM server.

So the hookscript is being called on the SAM server. I can get the details of the element from the SAM. From the notification, I have the source name and element name.

How can I get the detailed information from this source name, how can I get it from the same hookscript?

Is there any way to connect to underlying AM Domain from the hook script?

What I am trying to get is to fetch the details that is available via "Browse InDetails" option on SAM Notification console.

Please help

March 14th, 2011 07:00

Hi Arun,

if you are running the ASL code in the DXA, you already have a connection to the underlying domain manager. You have to reference the object's instance with a call to the object method:

self->object( x ) is used to reference an object inside the SAM server itself

object( class, instance ) to reference an object inside the underlying domain manager

HTH,

--Fred

== APG5 ReportPack4Event for Smarts can report on millions of notifications in seconds ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com

No Events found!

Top