Al Chu <[email protected]> writes: > Hey Dave, > >> > # ipmi-sensors -E -h ipmi008 >> > hostlist_ranged_string: truncation > > This ended up just being a dumb corner case if the -E option eliminated > every node specified on the command line.
That seemed likely. > The maintainer of the hostlist library thinks there may be a bug in his > code. If you specify: > > ipmi[007-008] > > instead of > > ipmi00[7-8] > > it will work for the time being. The issue is that when you specify > "ipmi00[7-8]" the internal library recognizes "ipmi00" as the prefix of > the range of nodes. Yes, I can confirm that, thanks; I was expecting it to involve some serious debugging! Ironically, I realize it's no longer a problem where I found it originally since I changed the script to use nodeattr to select the nodes, which DTRT. In case it's a useful example, and an indication of why --legacy-output is convenient, see the script at <URL:http://www.nw-grid.ac.uk/LivScripts?action=AttachFile&do=get&target=freeipmi-gmetric-temp>. _______________________________________________ Freeipmi-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-users
