ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Output of hplog -t is not consistent between sensors

masapena
Occasional Collector

Output of hplog -t is not consistent between sensors

I am setting up a Monitorix system with "hptemp" module.

 

The output of hplog -t is not consistent, there is a shift in the white space and it is faulting the hptemp logging totally in the Monitorix.

http://pastebin.com/k2giCm9J

If I remove the shifted lines (4,5,6,7)  from the graphing, then everything is working.

You can see that the sensors 4..9 have shifted one whitespace to the left.

This is causing an error in monitorix.log: 

Fri Feb 20 13:32:00 2015 - ERROR: while updating /var/lib/monitorix/hptemp.rrd: /var/lib/monitorix/hptemp.rrd: conversion of '33C' to float not complete: tail 'C'

 

$ rpm -qa | grep hp- | grep -v php
hp-snmp-agents-9.50-2564.36.rhel6.i686
hp-ams-1.5.0-1166.36.rhel6.i686
hp-smh-templates-10.0.0-1395.25.noarch
hp-health-9.50-1628.33.rhel6.i686

 

I would like to graph the memory temperatures of my Proliant DL380p Gen8.

3 REPLIES
Jimmy Vance
HPE Pro

Re: Output of hplog -t is not consistent between sensors

As hplog is probably working as designed, my first thought would be Monitorix needs to be modified to handle the whitespace




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
masapena
Occasional Collector

Re: Output of hplog -t is not consistent between sensors


Jimmy Vance wrote:

As hplog is probably working as designed, my first thought would be Monitorix needs to be modified to handle the whitespace


Yes, that is one way to fix it by using regex or something in Monitorix.

 

However, the output lines for only those few sensors differ for some unknown reason. I know it is a small issue to nit-pick about but for a perfectionist like me, it reflects the quality of the software. :)

Btw. it would be nice to have a JSON/XML output from hplog for easily interfacing with other software.

ps. Is this the right way to contact about these HP software issues/improvements? Firing a support case seems like overkill?

Dennis Handly
Acclaimed Contributor

Re: Output of hplog -t is not aligned between sensors

>Is this the right way to contact about these HP software issues/improvements?

 
No, since this is only a peer to peer forum, the latter is the right way.