HP Visualize J210 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, H - Page 108
Monitoring Events
View all HP Visualize J210 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
Events and Indications Monitoring Events Monitoring Events In order for a management application to monitor these events it must: 1. Register with the SP of the host it will monitor. 2. Create a DCE/RPC end point for these indication RPCs. 3. Add a row to SP's indication subscription table giving SP the address of the created DCE/RPC end point, and add a row to SP's filter information table indicating which component ID and which class name it wishes to monitor (wild cards can be used to monitor all components and classes). 4. Register procedural entry points for the monitored indications. Registering With a Host's SP The management application registers with a host's SP by using the DmiRemoteRegister() call as described in the Management Interface section. Creating a DCE/RPC Endpoint The DCE/RPC end point is created so that SP can issue a DCE/RPC call to the management application. The end point is set up by calling DmiIndicationListen(). This procedure has no parameters. Adding Rows to the SP Tables When SP generates indications, it needs the following information: The addressing information of management applications that are registered to receive indications. The components a registered management application is monitoring. The group classes a registered management application is monitoring. There are a certain number of addressing entries in the SP Indication Subscription table. There are a certain number of component and group entries in the SP Filter Information table. There must be one entry in the SP Indication Subscription table for each management application that is monitoring events. There must be at least one corresponding SP Filter Information table entry and there can be more than one filter. To determine which subscription entries belong to which filter entries, you look at the first four attributes. You add entries into these tables using DmiAddRow(). Wild cards can be used in SP Filter Information table entries to describe components and group classes being monitored. 108 Chapter 10