Hi Fred,

please have also a look on the "official" test cases for hpi 
(http://sourceforge.net/projects/hpib-test/). You will find there test cases 
in which events are generated by changing the threshold values. As far as I 
can remember the test cases pass for the simulator. I'm not really sure if 
these test cases were Event or Sensor test cases. 

e.g.
Sensor/saHpiEventAdd/AddEvent
(src/tests/events/saHpiEventAdd/AddEvent.cc)
will add a user event
Events/saHpiSubscribe/EventTypes
(src/tests/events/saHpiSubscribe/EventTypes.cc)
will generate a SAHPI_ET_SENSOR_ENABLE_CHANGE events

and there should also be the one or other test case which generates a sensor 
threshold event.

Maybe the hint helps.

Best Regards
   Lars


On Thursday, 3. March 2011 18:53, Fred Battle wrote:
> Well, not everything.  I tried to modify every value for the first RPT
> entry, for the first Sensor, which ended up being the Planar Temperature
> Sensor.
>
> -Fred
>
>
> -----Original Message-----
> From: Fred Battle [mailto:[email protected]]
> Sent: Thursday, March 03, 2011 9:31 AM
> To: [email protected]
> Subject: Re: [Openhpi-devel] What changes are required in simulation.data
> file to see an event?
>
> Yes, I tried to change every value offered in the hpithres program and none
> of them worked.  They all fail with the invalid command.  I tried changing
> temperature thresholds by 1 degree, 10 degrees, both up and down, but
> nothing is working.
>
> -Fred
>
> -----Original Message-----
> From: Andy Cress [mailto:[email protected]]
> Sent: Thursday, March 03, 2011 8:23 AM
> To: [email protected]
> Subject: Re: [Openhpi-devel] What changes are required in simulation.data
> file to see an event?
>
> Fred,
>
> Changing the hysteresis on an existing sensor does not seem like something
> that the IPMI firmware would or should always allow in the general case. Do
> you get similar results if you just try to change the lc threshold, for
> instance?
>
> Andy
>
> -----Original Message-----
> From: Fred Battle [mailto:[email protected]]
> Sent: Wednesday, March 02, 2011 8:19 PM
> To: [email protected]
> Subject: Re: [Openhpi-devel] What changes are required in simulation.data
> file to see an event?
>
> Hi,
> Was this ever solved?  I tried changing threshold levels using hpithres and
> it always fails.  I get "invalid command".  I'm using the dynamic simulator
> plugin, version 2.16.0.  It's important that I be able to see events.  Is
> there something in simulation.data that I should change in order to allow
> changing thresholds, or otherwise see events occur?
>
> Here's a screen grab of using hpithres:
> threshold type (lc, la, li, uc, ua, ui, ph, nh): ph new value: 1
>
>   Nem threshold:
>     Supported Thresholds:
>     40.000       Lower Critical Threshold(lc):
>     50.000       Lower Major Threshold(la):
>     60.000       Lower Minor Threshold(li):
>    125.000       Upper Critical Threshold(uc):
>    120.000       Upper Major Threshold(ua):
>    110.000       Upper Minor Threshold(ui):
>      1.000       Positive Threshold Hysteresis(ph):
>      2.000       Negative Threshold Hysteresis(nh):
>
> Is it correct (yes, no)?:yes
> ERROR: saHpiSensorThresholdsSet: INVALID_CMD
>
> -Fred
>
>
> -----Original Message-----
> From: Preeti Sharma [mailto:[email protected]]
> Sent: Thursday, February 10, 2011 1:55 PM
> To: [email protected]
> Subject: [Openhpi-devel] What changes are required in simulation.data file
> to see an event?
>
> Hi,
> I do not have HPI Chassis yet and want to see an event when I run client
> (client/hpievent). For this, do I need a change
> /etc/openhpi/simulation.data (sample file provided with openHpi). If any of
> you already working with real chassis, could you please provide me a
> simulation.data file which has an event entry.
>
> Or if I am wrong above what is the way to see an event when we run
> client/hpievent.
>
> Regards,
> Preeti
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
>
> ------------------------------------------------------------------------
> ------
> 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
>
> ---------------------------------------------------------------------------
>--- 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
>
> ---------------------------------------------------------------------------
>--- 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
>
> ---------------------------------------------------------------------------
>--- 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

-- 
-------------------------------
Dipl. Wi.ing.
Lars Wetzel
Uttinger Str. 13
86938 Schondorf a. Ammersee

Tel.: 0179-2096845
Mail: [email protected]

USt-IdNr.: DE181396006

------------------------------------------------------------------------------
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

Reply via email to