<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for BenV&#039;s notes</title>
	<atom:link href="http://notes.benv.junerules.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Mon, 16 Jan 2012 08:01:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Boost, qBitTorrent and lib64 by eric_</title>
		<link>http://notes.benv.junerules.com/boost-qbittorrent-and-lib64/comment-page-1/#comment-89</link>
		<dc:creator>eric_</dc:creator>
		<pubDate>Mon, 16 Jan 2012 08:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=354#comment-89</guid>
		<description>Thank you for this! You saved me so much digging. I got the same bullshit error that you did, and google led me here. I was also trying to compile libtorrent-rasterbar.</description>
		<content:encoded><![CDATA[<p>Thank you for this! You saved me so much digging. I got the same bullshit error that you did, and google led me here. I was also trying to compile libtorrent-rasterbar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by loreto</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-88</link>
		<dc:creator>loreto</dc:creator>
		<pubDate>Mon, 05 Dec 2011 11:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-88</guid>
		<description>Ciao BenV,
Sorry for the delay of my answer, but since the command &quot;sensor&quot; did not include any output on my machine, I tried to install the drivers of the manufacturer. Unfortunately, the &quot;sensor&quot; command still does not give any result. We are investigating.
Ciao
Loreto</description>
		<content:encoded><![CDATA[<p>Ciao BenV,<br />
Sorry for the delay of my answer, but since the command &#8220;sensor&#8221; did not include any output on my machine, I tried to install the drivers of the manufacturer. Unfortunately, the &#8220;sensor&#8221; command still does not give any result. We are investigating.<br />
Ciao<br />
Loreto</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by BenV</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-87</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Wed, 23 Nov 2011 14:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-87</guid>
		<description>Note that I just updated the package, this version also includes a PNP4Nagios template and a little man page for the check.</description>
		<content:encoded><![CDATA[<p>Note that I just updated the package, this version also includes a PNP4Nagios template and a little man page for the check.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by BenV</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-86</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Wed, 23 Nov 2011 10:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-86</guid>
		<description>My email is benv (at) junerules dot com :)

And you&#039;re right: lmsensors doesn&#039;t work on virtual machines, or at least, that&#039;s my experience so far.
On the physical machine it should work however, depending on the sensors in your machine and whether or not they are supported by lmsensors (and in your kernel).

The check_mk lmsensors plugin expects &#039;/usr/bin/sensors&#039; to exist and to provide output. For example, my server here at home outputs this:
benv@server:~$ sensors
lm85-i2c-0-2e
Adapter: SMBus I801 adapter at 2000
in0:         +1.56 V  (min =  +0.00 V, max =  +3.32 V)   
Vcore:       +1.34 V  (min =  +0.00 V, max =  +2.99 V)   
+3.3V:       +3.33 V  (min =  +2.97 V, max =  +3.63 V)   
+5V:         +5.10 V  (min =  +4.50 V, max =  +5.50 V)   
+12V:       +12.00 V  (min =  +0.00 V, max = +15.94 V)   
fan1:       1361 RPM  (min =    0 RPM)
fan3:        952 RPM  (min =    0 RPM)
fan4:       1251 RPM  (min =    0 RPM)
temp1:       +63.0 C  (low  =  +0.0 C, high = +75.0 C)  
M/B Temp:    +49.0 C  (low  =  +0.0 C, high = +65.0 C)  
temp3:       +39.0 C  (low  =  +0.0 C, high = +55.0 C)  
cpu0_vid:   +1.088 V

Can you check if you have the tool and post the output here, and/or email it to me? :)</description>
		<content:encoded><![CDATA[<p>My email is benv (at) junerules dot com <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And you&#8217;re right: lmsensors doesn&#8217;t work on virtual machines, or at least, that&#8217;s my experience so far.<br />
On the physical machine it should work however, depending on the sensors in your machine and whether or not they are supported by lmsensors (and in your kernel).</p>
<p>The check_mk lmsensors plugin expects &#8216;/usr/bin/sensors&#8217; to exist and to provide output. For example, my server here at home outputs this:<br />
benv@server:~$ sensors<br />
lm85-i2c-0-2e<br />
Adapter: SMBus I801 adapter at 2000<br />
in0:         +1.56 V  (min =  +0.00 V, max =  +3.32 V)<br />
Vcore:       +1.34 V  (min =  +0.00 V, max =  +2.99 V)<br />
+3.3V:       +3.33 V  (min =  +2.97 V, max =  +3.63 V)<br />
+5V:         +5.10 V  (min =  +4.50 V, max =  +5.50 V)<br />
+12V:       +12.00 V  (min =  +0.00 V, max = +15.94 V)<br />
fan1:       1361 RPM  (min =    0 RPM)<br />
fan3:        952 RPM  (min =    0 RPM)<br />
fan4:       1251 RPM  (min =    0 RPM)<br />
temp1:       +63.0 C  (low  =  +0.0 C, high = +75.0 C)<br />
M/B Temp:    +49.0 C  (low  =  +0.0 C, high = +65.0 C)<br />
temp3:       +39.0 C  (low  =  +0.0 C, high = +55.0 C)<br />
cpu0_vid:   +1.088 V</p>
<p>Can you check if you have the tool and post the output here, and/or email it to me? <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by loreto</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-85</link>
		<dc:creator>loreto</dc:creator>
		<pubDate>Wed, 23 Nov 2011 08:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-85</guid>
		<description>Ciao BenV, I didn&#039;t find you email so I&#039;m posting the output.
------------------------------------------------
- host588 - Check_mk server - Virtual Machine
------------------------------------------------
[root@host588]# check_mk -vP install /root/Check_MK/Plugins/lmsensors-1.0.mkp
Installing lmsensors version 1.0.
  Checks:
    lmsensors
  Agents:
    lmsensors
  Multisite extensions:
    plugins/perfometer/lmsensors.py

[root@host588]# check_mk -II localhost
cpu.loads         1 new checks
cpu.threads       1 new checks
df                8 new checks
diskstat          1 new checks
kernel            3 new checks
kernel.util       1 new checks
lnx_if            1 new checks
local             1 new checks
mem.used          1 new checks
ntp.time          1 new checks
postfix_mailq     1 new checks
tcp_conn_stats    1 new checks
uptime            1 new checks

*****
** lmsensors is not listed (may be it&#039;s a VM)
*****

[root@host588]# check_mk -debug –checks=lmsensors.temp -II localhost
Network error: [Errno -2] Name or service not known



*****
** Now copying lmsensors to PM
*****
-------------------------------------
- host755 - Physical machine
-------------------------------------

root@host755# grep MK_LIBDIR $(which check_mk_agent)
export MK_LIBDIR=&quot;/usr/lib/check_mk_agent&quot;
PLUGINSDIR=$MK_LIBDIR/plugins
LOCALDIR=$MK_LIBDIR/local

*****
** Because of it didn&#039;t work, I copied lmsensors on all check_mk directories
*****
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/plugins/
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/local/
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/share/check_mk/agents/

chmod 755 lmsensors

[root@host588]# check_mk -II host755
cpu.loads         1 new checks
cpu.threads       1 new checks
df                8 new checks
diskstat          1 new checks
kernel            3 new checks
kernel.util       1 new checks
mem.used          1 new checks
ntp.time          1 new checks
tcp_conn_stats    1 new checks
uptime            1 new checks
*****
** lmsensors is not listed
*****

[root@host588]# check_mk -debug –checks=lmsensors.temp -II host755
Network error: [Errno -2] Name or service not known

Ciao</description>
		<content:encoded><![CDATA[<p>Ciao BenV, I didn&#8217;t find you email so I&#8217;m posting the output.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
- host588 &#8211; Check_mk server &#8211; Virtual Machine<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[root@host588]# check_mk -vP install /root/Check_MK/Plugins/lmsensors-1.0.mkp<br />
Installing lmsensors version 1.0.<br />
  Checks:<br />
    lmsensors<br />
  Agents:<br />
    lmsensors<br />
  Multisite extensions:<br />
    plugins/perfometer/lmsensors.py</p>
<p>[root@host588]# check_mk -II localhost<br />
cpu.loads         1 new checks<br />
cpu.threads       1 new checks<br />
df                8 new checks<br />
diskstat          1 new checks<br />
kernel            3 new checks<br />
kernel.util       1 new checks<br />
lnx_if            1 new checks<br />
local             1 new checks<br />
mem.used          1 new checks<br />
ntp.time          1 new checks<br />
postfix_mailq     1 new checks<br />
tcp_conn_stats    1 new checks<br />
uptime            1 new checks</p>
<p>*****<br />
** lmsensors is not listed (may be it&#8217;s a VM)<br />
*****</p>
<p>[root@host588]# check_mk -debug –checks=lmsensors.temp -II localhost<br />
Network error: [Errno -2] Name or service not known</p>
<p>*****<br />
** Now copying lmsensors to PM<br />
*****<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
- host755 &#8211; Physical machine<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>root@host755# grep MK_LIBDIR $(which check_mk_agent)<br />
export MK_LIBDIR=&#8221;/usr/lib/check_mk_agent&#8221;<br />
PLUGINSDIR=$MK_LIBDIR/plugins<br />
LOCALDIR=$MK_LIBDIR/local</p>
<p>*****<br />
** Because of it didn&#8217;t work, I copied lmsensors on all check_mk directories<br />
*****<br />
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/<br />
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/plugins/<br />
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/lib/check_mk_agent/local/<br />
scp -p /usr/share/check_mk/agents/lmsensors root@host755:/usr/share/check_mk/agents/</p>
<p>chmod 755 lmsensors</p>
<p>[root@host588]# check_mk -II host755<br />
cpu.loads         1 new checks<br />
cpu.threads       1 new checks<br />
df                8 new checks<br />
diskstat          1 new checks<br />
kernel            3 new checks<br />
kernel.util       1 new checks<br />
mem.used          1 new checks<br />
ntp.time          1 new checks<br />
tcp_conn_stats    1 new checks<br />
uptime            1 new checks<br />
*****<br />
** lmsensors is not listed<br />
*****</p>
<p>[root@host588]# check_mk -debug –checks=lmsensors.temp -II host755<br />
Network error: [Errno -2] Name or service not known</p>
<p>Ciao</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by BenV</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-84</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Tue, 22 Nov 2011 12:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-84</guid>
		<description>loreto: can you post/mail me the output of &#039;sensors&#039; and &#039;check_mk --debug --checks=lmsensors.temp -II localhost&#039; (if you think the temperature sensors should report something, otherwise &#039;lmsensors.fan&#039; or &#039;lmsensors.volt&#039;)?</description>
		<content:encoded><![CDATA[<p>loreto: can you post/mail me the output of &#8216;sensors&#8217; and &#8216;check_mk &#8211;debug &#8211;checks=lmsensors.temp -II localhost&#8217; (if you think the temperature sensors should report something, otherwise &#8216;lmsensors.fan&#8217; or &#8216;lmsensors.volt&#8217;)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by loreto</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-83</link>
		<dc:creator>loreto</dc:creator>
		<pubDate>Tue, 22 Nov 2011 09:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-83</guid>
		<description>Installation on check_mk Linux server has been successful (following your instructions)
&quot;check_mk -II localhost&quot; doesn&#039;t reports any lmsensors data.</description>
		<content:encoded><![CDATA[<p>Installation on check_mk Linux server has been successful (following your instructions)<br />
&#8220;check_mk -II localhost&#8221; doesn&#8217;t reports any lmsensors data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by BenV</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-82</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Sat, 01 Oct 2011 13:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-82</guid>
		<description>danielbair: I guess your version of check_mk doesn&#039;t include the definition of saveint/savefloat yet. If upgrading to a newer version isn&#039;t an option you could try to remove the savefloat function in perfometer/lmsensors.py (lines 9 and 10), it should still work if the check reports good values.</description>
		<content:encoded><![CDATA[<p>danielbair: I guess your version of check_mk doesn&#8217;t include the definition of saveint/savefloat yet. If upgrading to a newer version isn&#8217;t an option you could try to remove the savefloat function in perfometer/lmsensors.py (lines 9 and 10), it should still work if the check reports good values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check_MK plugin: lmsensors by danielbair</title>
		<link>http://notes.benv.junerules.com/lmsensors/comment-page-1/#comment-81</link>
		<dc:creator>danielbair</dc:creator>
		<pubDate>Wed, 28 Sep 2011 20:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=1025#comment-81</guid>
		<description>The bar graphs on the right side are not working for me. I just get &quot;invalid data: global name &#039;savefloat&#039; is not defined&quot;

I am running OMD on Ubuntu 10.04 LTS with check_mk version 1.1.9i8

-Daniel</description>
		<content:encoded><![CDATA[<p>The bar graphs on the right side are not working for me. I just get &#8220;invalid data: global name &#8216;savefloat&#8217; is not defined&#8221;</p>
<p>I am running OMD on Ubuntu 10.04 LTS with check_mk version 1.1.9i8</p>
<p>-Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SOCKS, Opera, and brute force by BenV</title>
		<link>http://notes.benv.junerules.com/socks-opera-and-brute-force/comment-page-1/#comment-80</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Thu, 17 Mar 2011 15:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=511#comment-80</guid>
		<description>kadu: did you read my post? Your problem is literally in there, with the only difference that you have it in lib64 and I had it in lib. Just run the sed line as I did and it should work.</description>
		<content:encoded><![CDATA[<p>kadu: did you read my post? Your problem is literally in there, with the only difference that you have it in lib64 and I had it in lib. Just run the sed line as I did and it should work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

