this is potentially a tough one, but here's the deal...
ipmitool, which collectl uses, shows different output for virtually
everyone and in fact even multiple system product lines for the same
vendors can show different output. if everyone could have agreed on a
common output format this problem wouldn't exist and maybe someday they'll
get there but to my knowledge that hasn't happened yet.
so historically, when I first wrote this code, I looked at the output for a
bunch of systems I had access to and tried to come up with a parsing
algorithm that worked for most. as newer hardware came out with different
formats it was virtually impossible to come up with one grand parser and I
didn't want to have to change collectl with each release. so...
I came up with a file called envrules in /usr/share/collectl that defines
different string manipulation rules to get the the ipmi output in a form
that collectl could parse. whew...
if the output for your box can't be parsed correctly, and it sounds like at
least so of it can't, you're going to have to write some rules that will
convert it to a format collectl understands. unfortunately to do this you
need to know perl regular expressions and patter substitution. if you
don't, perhaps others who do can help. there are also clues in the
envrules file.
it's not too bad, but it can be a little tricky. the main idea is to try
and keep your rules relatively simply since they have executed for every
line in the ipmitool output which at least on some architectures can get
pretty long.
hope this helps and good luck
-mark
On Thu, Apr 4, 2013 at 6:10 PM, Matt Weil <[email protected]> wrote:
> Hello,
>
> I am wanting to monitor temps and fan speeds.
>
> For some reason on some dells I get the following from collectl on those
> hosts
>
> linuscs107.env.FAN1 sf 1365112525
>
> For the ones that work I get
>
> linuscs92.env.Fan1 54 1365112799
>
> any ideas as to why this is happening?
>
> Thanks
>
> Matt
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Collectl-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/collectl-interest
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Collectl-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collectl-interest