Hi,
In my client thread I am doing following (pseudo code for this is given below) :
Startup()
{
Bool instantiateObj=TRUE;
While (1)
{
openSession(domainId, &sessionid)
discoverSession(sessionId)
subscribeForEvents()
myObjPtr=findMyObjects(id, instantiateObj) -----> instantiates myObject if
not existing.
Constructor maps id to
entity path, entity path
is used to get RPT
resource Id and value is
saved in object.
myObjPtr->getEventLog() -------> uses RPT resource Id, sets RDR type to
sensor and calls
saHpiEventGet
processMainThreadMsgs()
sleep n
}
}
My concern is here that I am going to lose Events logs. What should I do so
that I can save all the event logs in myObject for a resource e.g.
{SYSTEM_CHASSIS 9, FAN 1}. I want to do this for more than one resource.
Regards,
Preeti
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel