logo       

SMART_ plugin: msg#00031

db.rddtool.munin.general

Subject: SMART_ plugin

Greetings,

I can't get the SMART plugin to work.

I symlined the plugin to /etc/munin/plugins/smart_sda,

Here's the plugins/plugin-d/munin-node:
[smart_*]
user root
group disk

[smart_sda]
user root
group disk
env.smartargs -d hpt,1/1 -a /dev/sda

# /var/log/munin/munin-node.log:
Binding to TCP port 4949 on host *
Use of uninitialized value in eval {block} exit at /usr/sbin/munin-node
line 452, <CHILD> line 53.

The error was there from before, when I was setting up hddtemp_smartctl
plugin, which actually works:
[hddtemp_smartctl]
user root
env.drives sda_1 sda_2 sda_3 sda_4 sdb_5 sdb_6 sdb_7 sdb_8 sdc
env.type_sda_1 hpt,1/1
env.type_sda_2 hpt,1/2
env.type_sda_3 hpt,1/3
env.type_sda_4 hpt,1/4
env.type_sdb_5 hpt,1/5
env.type_sdb_6 hpt,1/6
env.type_sdb_7 hpt,1/7
env.type_sdb_8 hpt,1/8

smartmontools is working:
root@storage02:~# smartctl -d hpt,1/1 -A /dev/sda
smartctl version 5.37 [i486-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 099 085 006 Pre-fail
Always -
133952727
3 Spin_Up_Time 0x0003 093 093 000 Pre-fail
Always -
0
4 Start_Stop_Count 0x0032 100 100 020 Old_age
Always -
5
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail
Always -
0
7 Seek_Error_Rate 0x000f 069 060 030 Pre-fail
Always -
10365450
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always -
197
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail
Always -
0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age
Always -
8
187 Unknown_Attribute 0x0032 100 100 000 Old_age
Always -
0
189 Unknown_Attribute 0x003a 100 100 000 Old_age
Always -
0
190 Temperature_Celsius 0x0022 070 063 045 Old_age
Always -
572129310
194 Temperature_Celsius 0x0022 030 040 000 Old_age
Always -
30 (Lifetime Min/Max 0/26)
195 Hardware_ECC_Recovered 0x001a 067 055 000 Old_age
Always -
78596935
197 Current_Pending_Sector 0x0012 100 100 000 Old_age
Always -
0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age
Offline -
0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age
Always -
0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age
Offline -
0
202 TA_Increase_Count 0x0032 100 253 000 Old_age
Always -
0

Any ideas?

Thanks.
Andrey.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise