Package: munin
Version: 1.2.6-1

I am trying to use the hddtemp_smartctl plugin with a cciss hardware raid 
controller. It looks like support was just added in munin 1.2.6 (closing 
#472207).

I have created the following symlink
/etc/munin/plugins/hddtemp_smartctl ->
    /usr/share/munin/plugins/hddtemp_smartctl
and added the following to /etc/munin/plugin-conf.d/munin-node
=========================================
[hddtemp_smartctl]
user root
env.drives cciss0
env.type_cciss0 cciss,0
env.dev_cciss0 cciss/c0d0
=========================================

On my system the plugin graph didn't have any data so I decided to track 
down why.
1.) If I run "munin-run hddtemp_smartctl" with smartmontools 5.36-8 I get
=========================================
CCISS ioctl error -1
CCISS ioctl error -1
CCISS ioctl error -1
CCISS ioctl error -1
CCISS ioctl error -1
CCISS ioctl error -1
=========================================

If I add a debugging print statement to the plugin to print the output of 
the command before it's parsed, it contains the following error

  "Read defect list: asked for grown list but didn't get it"

If I run the same command

  "/usr/sbin/smartctl -A -d cciss,0 /dev/cciss/c0d0"

by hand as root, it works as expected.

2.) If I run "munin-run hddtemp_smartctl" with smartmontools 5.38-1 I get
=========================================
cciss0.value 27
=========================================
so that looks correct.

So it looks like for the hddtemp_smartctl cciss support to work you need a 
smartmontools newer than 5.36-8. In the smartmontools changelog there is 
mention of upstream releases and cciss patches, so something fixed it.

As for munin, I wanted to record this info somewhere in case someone else 
runs into it (I was trying to get this working on etch which has 5.36-8). 
Ideally you could add a versioned dependency, but smartmontools is only a 
Suggests and I'm not sure if you can even version Suggests ...

Thanks,

-- 
Matt Taggart
[EMAIL PROTECTED]





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to