Re: Monitoring New Or Updated Events in HPSM (633 Views)
Reply
Member
K_Charan
Posts: 4
Registered: ‎03-19-2012
Message 1 of 6 (686 Views)

Monitoring New Or Updated Events in HPSM

Hi,

I am new to HPSM. And I need to integrate HPSM in Our Product. So Any one please give the ways to monitoring newly or updated events in HPSM.

Please use plain text.
Honored Contributor
ramesh9
Posts: 1,058
Registered: ‎04-19-2011
Message 2 of 6 (684 Views)

Re: Monitoring New Or Updated Events in HPSM

Can you please tell us whether you are trying to integrate HP SM with your product using HP SM Event Services?

 

If yes, you need to look at 2 tables in SM called,

 

      eventin

      eventout

 

eventin table contains records which come from other product, where eventout table contains records which goes to other product. In this case you need to monitor both these tables so you can integrate SM with your product.

Please use plain text.
Member
K_Charan
Posts: 4
Registered: ‎03-19-2012
Message 3 of 6 (676 Views)

Re: Monitoring New Or Updated Events in HPSM

Thanks  for your  quick response. We are using  Axis2  to calling methods in  HPSM9.20 Webservices through the corresponding batch files provided by HP Guys.

For example, If we want to invoke the CreateIncidentSample  method in HPSM web service, then we need to pass the arguments to the CreateIncidentSample.bat as follows. (If the  CreateIncidentSample.bat is  in Install_Directory\HPSM_Sample\bin directory then)

 

Install_Location>HPSM_Sample\bin>CreateIncidentSample.bat -host 192.168.1.44 -port 13080 -username "falcon" -password "" -title "Program Crashes" -category "incident" -area hardware -subArea "hardware failure" -description "CustomerReports" -urgency 1 -impact 1 -service Applications -assignmentGroup "Application" -attachment ":"


Now I need to know the exact webservice method to monitor the new or updated events in HPSM9.20 identified by Incident ID's. Also let me know if there is any method or batch file to get  only newor updated incidents from HPSM .

Please use plain text.
Honored Contributor
ramesh9
Posts: 1,058
Registered: ‎04-19-2011
Message 4 of 6 (671 Views)

Re: Monitoring New Or Updated Events in HPSM

Axis2 is an example of how to call SM webservices on various modules like Incident, Change etc.

 

To find out the various methods that are supported by Incident Management module webservice, please specify following URL in your web-browser,

 

http://localhost:13080/SM/7/IncidentManagement.wsdl

 

Here 13080 means the port number on which SM server is listening and you need to adjust it accordingly to your environment.

 

If you browse through the web-page you can find "operation name> tag followed by a particular name.

For example,

 

<operation name="RetrieveIncident">

 

This means SM Incident management webservice provides the operation RetrieveIncident to retrieve details of a particular incident.

 

You can use Axis example to find out the parameters that are been passed to a particular operation or you can use SOAP UI or Net Beans to find out the parameters.

 

From the web-page you can check whether there are any operations defined for your needs.

Please use plain text.
Member
K_Charan
Posts: 4
Registered: ‎03-19-2012
Message 5 of 6 (663 Views)

Re: Monitoring New Or Updated Events in HPSM

Thanks for reply...

 

I have already gone through the RetriveIncident method. It will dispaly the necessary information regarding incident based on the given incidentId. But our requirement is to get only new or updated Incidents according to timely basis or other criteria.Let me explain in detail, suppose I have created 10 incidents and these get by the first time, then I have to modify 3 incidents among 10 incidents.If i get all the incidents it will display that updated incidents(i.e.,3 events) only.Could you please help me to achive this requirement and also list me any  filteration method is there to achieve this task.

Please use plain text.
Member
K_Charan
Posts: 4
Registered: ‎03-19-2012
Message 6 of 6 (633 Views)

Re: Monitoring New Or Updated Events in HPSM

I have used the web service method RetrieveIncidentKeysList to get all the incidents from the HPSM IncidentManagement. And it was working fine.. But when i call this method, it was getting all the incidents irrelevant to date which was mentioned there to filter incidents .I need to get only  new incidents or updated incidents based on the date and time.Can any one help me to achive this task.

 

Thanks in Advance.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation