Hi Mark, On Fri, 2008-11-21 at 14:56 -0500, Mark Seger wrote: > I use ipmitool in my collectl monitoring tool - see > http:// collectl.sourceforge.net/ - and now can continuously monitor some > of my sensors. For now I'm just looking at temperatures and fans and as > a default monitoring frequency chose 2 minutes, though that can easily > be specified by the users. After some help from this list, I discovered > I can greatly improve ipmitool performance by using -S which I now do. > After some experimentation I also discovered it was more efficient to > explicitly ask for explicit sensors using "ipmitool sdr type xxx" rather > than having it report all sensors since that does run slows on some > systems I've tested on and I'm sure it's system specific. What I would > ultimately like to do is run ipmitool one and give it a list of types > but that doesn't sound possible.
Do you mean something like "ipmitool --groups=fan,temperature,power_supply"?? I added this feature into ipmi-sensors and ipmimonitoring in FreeIPMI by checking the sensor_type field of each SDR entry before reading the sensor's reading. An equivalent option and SDR entry check in ipmitool should be very doable. Al > Are there any plans to support such a > capability in the future? > > I did discover the "ipmitool sdr get" command which the help says takes > an id as a target but when I tried it, it didn't work! First I did this > to get a list of IDs: > > [EMAIL PROTECTED] ~]# ipmitool sdr elist > UID Light | 01h | ok | 23.1 | 0 unspecified > Int. Health LED | 02h | ok | 23.2 | 0 unspecified > VRM 1 | 03h | lcr | 9.1 | 0 unspecified > VRM 2 | 04h | lcr | 9.2 | 0 unspecified > Temp 1 | 05h | ok | 7.1 | 47 degrees C > Temp 2 | 06h | ok | 3.1 | 34 degrees C > Temp 3 | 07h | ok | 3.2 | 30 degrees C > Temp 4 | 08h | ok | 3.3 | 30 degrees C > Temp 5 | 09h | ok | 3.4 | 32 degrees C > Temp 6 | 0Ah | ok | 3.5 | 30 degrees C > Temp 7 | 0Bh | ok | 3.6 | 30 degrees C > Temp 8 | 0Ch | ok | 8.1 | 57 degrees C > Temp 9 | 0Dh | ok | 39.1 | 24 degrees C > Virtual Fan | 0Eh | lnc | 7.2 | 37.24 unspecifi > Enclosure Status | 0Fh | ok | 23.3 | 0 unspecified > Power Meter | 10h | lcr | 7.3 | 204 Watts > > but when I did this, it didn't: > [EMAIL PROTECTED] ~]# ipmitool sdr get 10h > Unable to find sensor id '10h' > > I assume I'm misreading the syntax but it did say "ipmitoold sdr elist" > reports IDs. Maybe some examples in the man page would help? Perhaps > it's just as well that this didn't work because I'd be tempted to use it > and I'm guessing entity IDs vary across different vendors and it looks > like types don't, at least not for the testing I've done so far. Also, > I have no idea what the 4th column means. For example, in the Power > Meter entry how would you interpret 7.3? Is there any documentation on > the output format? Maybe it's buried in the man page but nothing jumped > out in my quick read. > > -mark > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http:// moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https:// lists.sourceforge.net/lists/listinfo/ipmitool-devel > -- Albert Chu [EMAIL PROTECTED] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel