On 2012-05-10T07:06:46-0000, Alex Popovskiy <997...@bugs.launchpad.net> wrote:
> munin plugin sensors_ broken, throws errors like this:
> 2012/05/10-10:00:04 [29737] Error output from sensors_fans:
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_fans line 266.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_fans line 267.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_fans line 268.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in regexp 
> compilation at /etc/munin/plugins/sensors_fans line 272.
> 2012/05/10-10:00:04 [29737] Error output from sensors_fans:
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in regexp 
> compilation at /etc/munin/plugins/sensors_fans line 284.
> 2012/05/10-10:00:04 [29737] Error output from sensors_temperatures:
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_temperatures line 266.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_temperatures line 267.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in concatenation 
> (.) or string at /etc/munin/plugins/sensors_temperatures line 268.
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in regexp 
> compilation at /etc/munin/plugins/sensors_temperatures line 272.
> 2012/05/10-10:00:04 [29737] Error output from sensors_temperatures:
> 2012/05/10-10:00:04 [29737]     Use of uninitialized value in regexp 
> compilation at /etc/munin/plugins/sensors_temperatures line 284.

The problem here is that you're using the plugin incorrectly. The only
possible wildcard values are these: temp, fan, volt. So the symlinks
should be sensors_fan, sensors_temp, and sensors_volt.

I've added some text to the plugin's documentation clarifying this in
upstream changeset 4854: http://munin-monitoring.org/changeset/4854

I also enhanced the plugin in changeset 4856 to get the warning and
critical values from sensors output like yours. I've tested that the
plugin works correctly with your sensors output, provided you use the
correct symlinks.

-- 
Kenyon Ralph


** Changed in: munin (Ubuntu)
       Status: In Progress => Fix Committed

** Changed in: munin (Ubuntu)
       Status: Fix Committed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/997497

Title:
  sensors plugin does not recognize sensors output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/997497/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to