Hello,
 
Could you please help regarding sensor's event handling
using OpenIPMI library?
 
I am writing an application to monitor the sensors on my
machine (server) using OpenIPMI library. I have ran the sample programs
provided with OpenIPMI library and below are my understanding from that, please
correct me if I am wrong:

1.       while opening the domain (ipmi_open_domain) we
will provide all the call back functions to be called when a sensor is added or
removed and also the event handlers which will be called when an event is
detected on the sensor.

2.       Now I am getting the sensors added only if I am  running 
os_hnd->operation_loop(os_hnd); or os_hnd->perform_one_op(os_hnd,
NULL) functions.

 
Could you please tell :

1.       For receiving the events on the sensors whether
its threshold is crossed etc and getting the corresponding event handlers 
callback
functions to be called, do we need to keep continuously run the functions 
operation_loop
/ perform_one_op?


2.       What is the role of the scan interval provided
by ipmi_domain_set_sel_rescan_time() and ipmi_domain_set_ipmb_rescan_time()? 
Does
it impact operation_loop / perform_one_op?

Inside the operation_loop / perform_one_op functions
we are doing select system call and waiting for some events to occur. How this
is effected by ipmi_domain_set_sel_rescan_time() and 
ipmi_domain_set_ipmb_rescan_time()?
 
Thanks and regards
S Sarath 
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to