|
|
|
Smart plugin errors?
|
Previous Topic
Next Topic
|
| Message |
Author |
Posted: Tue Mar 09, 2010 3:19 pm Subject: Smart plugin errors? |
|
|
James Rankin
|
|
Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin? Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4 x86_64 machine running Munin 1.4.4.
When munin-node runs on this machine, I get the following output from munin-node.log:
2010/03/09-14:05:02 CONNECT TCP Peer: "127.0.0.1:49235" Local: "127.0.0.1:4949"
2010/03/09-14:05:06 [10057] Error output from smart_sdb:
2010/03/09-14:05:06 [10057] Traceback (most recent call last):
2010/03/09-14:05:06 [10057] File "/etc/munin/plugins/smart_sdb", line 398, in ?
2010/03/09-14:05:06 [10057] exit(0)
2010/03/09-14:05:06 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:06 [10057] Service 'smart_sdb' exited with status 1/0.
2010/03/09-14:05:10 [10057] Error output from smart_sda:
2010/03/09-14:05:10 [10057] Traceback (most recent call last):
2010/03/09-14:05:10 [10057] File "/etc/munin/plugins/smart_sda", line 398, in ?
2010/03/09-14:05:10 [10057] exit(0)
2010/03/09-14:05:10 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:10 [10057] Service 'smart_sda' exited with status 1/0.
If I run smart_sda as root from the command line, I get this output:
[root@sparky plugins]# ./smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "./smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
These errors are preventing the graphs from being populated...
I would appreciate any ideas or suggestions. Thanks! |
| Back to top |
|
 |
Posted: Wed Mar 10, 2010 12:30 am Subject: Smart plugin errors? |
|
|
Nicolas STRANSKY
|
|
Hi,
What version of python are you using?
What is the content of the smart_ section in
/etc/munin/plugin-conf.d/munin-node?
Thanks,
Nico
On 03/09/2010 03:19 PM, James Rankin wrote:
| Quote: | Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin?
Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636
<http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4
x86_64 machine running Munin 1.4.4.
When munin-node runs on this machine, I get the following output from
munin-node.log:
2010/03/09-14:05:02 CONNECT TCP Peer: "127.0.0.1:49235" Local:
"127.0.0.1:4949"
2010/03/09-14:05:06 [10057] Error output from smart_sdb:
2010/03/09-14:05:06 [10057] Traceback (most recent call last):
2010/03/09-14:05:06 [10057] File "/etc/munin/plugins/smart_sdb", line
398, in ?
2010/03/09-14:05:06 [10057] exit(0)
2010/03/09-14:05:06 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:06 [10057] Service 'smart_sdb' exited with status 1/0.
2010/03/09-14:05:10 [10057] Error output from smart_sda:
2010/03/09-14:05:10 [10057] Traceback (most recent call last):
2010/03/09-14:05:10 [10057] File "/etc/munin/plugins/smart_sda", line
398, in ?
2010/03/09-14:05:10 [10057] exit(0)
2010/03/09-14:05:10 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:10 [10057] Service 'smart_sda' exited with status 1/0.
If I run smart_sda as root from the command line, I get this output:
[root@sparky plugins]# ./smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "./smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
These errors are preventing the graphs from being populated...
I would appreciate any ideas or suggestions. Thanks!
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
|
--
Nico
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev |
| Back to top |
|
 |
Posted: Wed Mar 10, 2010 3:09 am Subject: Smart plugin errors? |
|
|
Nicolai Langfeldt
|
|
James Rankin wrote:
| Quote: | Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin?
Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636
<http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4
x86_64 machine running Munin 1.4.4.
|
Have you tried the smart plugin in 1.4.4?
| Quote: | [root@sparky plugins]# ./smart_sda
|
Please try, as root "munin-run smart_sda"
Nicolai
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev |
| Back to top |
|
 |
Posted: Wed Mar 10, 2010 8:01 am Subject: Smart plugin errors? |
|
|
James Rankin
|
|
Thanks for the responses, Nicolas S and Nicolai L!
To answer your questions:
I'm using Python 2.4.3 (python-2.4.3-27.el5)
My munin-node file has this entry:
[smart_*]
user root
group disk
And munin-run produces this:
[root@sparky plugins]# munin-run smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "/etc/munin/plugins/smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
The smart_ script I'm using actually is the one included with munin 1.4.4 (sorry, I misspoke about that earlier).
Thanks!
james
On Wed, 2010-03-10 at 00:12 -0500, Nicolas STRANSKY wrote: | Quote: | | Quote: |
Hi,
What version of python are you using?
What is the content of the smart_ section in
/etc/munin/plugin-conf.d/munin-node?
Thanks,
Nico
On 03/09/2010 03:19 PM, James Rankin wrote:
| Quote: | Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin?
Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636
<http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4
x86_64 machine running Munin 1.4.4.
When munin-node runs on this machine, I get the following output from
munin-node.log:
2010/03/09-14:05:02 CONNECT TCP Peer: "127.0.0.1:49235" Local:
"127.0.0.1:4949"
2010/03/09-14:05:06 [10057] Error output from smart_sdb:
2010/03/09-14:05:06 [10057] Traceback (most recent call last):
2010/03/09-14:05:06 [10057] File "/etc/munin/plugins/smart_sdb", line
398, in ?
2010/03/09-14:05:06 [10057] exit(0)
2010/03/09-14:05:06 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:06 [10057] Service 'smart_sdb' exited with status 1/0.
2010/03/09-14:05:10 [10057] Error output from smart_sda:
2010/03/09-14:05:10 [10057] Traceback (most recent call last):
2010/03/09-14:05:10 [10057] File "/etc/munin/plugins/smart_sda", line
398, in ?
2010/03/09-14:05:10 [10057] exit(0)
2010/03/09-14:05:10 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:10 [10057] Service 'smart_sda' exited with status 1/0.
If I run smart_sda as root from the command line, I get this output:
[root@sparky plugins]# ./smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "./smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
These errors are preventing the graphs from being populated...
I would appreciate any ideas or suggestions. Thanks!
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
munin-users mailing list
munin-users@lists.sourceforge.net (munin-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/munin-users
|
| |
|
| Back to top |
|
 |
Posted: Sun Mar 14, 2010 4:27 pm Subject: Smart plugin errors? |
|
|
Nicolas STRANSKY
|
|
Can you edit the plugin and set verbose=True, and also send the output
of smartctl -a /dev/sda?
Thanks
On 03/10/2010 08:00 AM, James Rankin wrote:
| Quote: | Thanks for the responses, Nicolas S and Nicolai L!
To answer your questions:
I'm using Python 2.4.3 (python-2.4.3-27.el5)
My munin-node file has this entry:
[smart_*]
user root
group disk
And munin-run produces this:
[root@sparky plugins]# munin-run smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "/etc/munin/plugins/smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
The smart_ script I'm using actually is the one included with munin
1.4.4 (sorry, I misspoke about that earlier).
Thanks!
james
On Wed, 2010-03-10 at 00:12 -0500, Nicolas STRANSKY wrote:
| Quote: | Hi,
What version of python are you using?
What is the content of the smart_ section in
/etc/munin/plugin-conf.d/munin-node?
Thanks,
Nico
On 03/09/2010 03:19 PM, James Rankin wrote:
| Quote: | Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin?
Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636 <http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>
<http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636 <http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>>
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4
x86_64 machine running Munin 1.4.4.
When munin-node runs on this machine, I get the following output from
munin-node.log:
2010/03/09-14:05:02 CONNECT TCP Peer:"127.0.0.1:49235" Local:
"127.0.0.1:4949"
2010/03/09-14:05:06 [10057] Error output from smart_sdb:
2010/03/09-14:05:06 [10057] Traceback (most recent call last):
2010/03/09-14:05:06 [10057] File"/etc/munin/plugins/smart_sdb", line
398, in ?
2010/03/09-14:05:06 [10057] exit(0)
2010/03/09-14:05:06 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:06 [10057] Service 'smart_sdb' exited with status 1/0.
2010/03/09-14:05:10 [10057] Error output from smart_sda:
2010/03/09-14:05:10 [10057] Traceback (most recent call last):
2010/03/09-14:05:10 [10057] File"/etc/munin/plugins/smart_sda", line
398, in ?
2010/03/09-14:05:10 [10057] exit(0)
2010/03/09-14:05:10 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:10 [10057] Service 'smart_sda' exited with status 1/0.
If I run smart_sda as root from the command line, I get this output:
[root@sparky plugins]# ./smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File"./smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
These errors are preventing the graphs from being populated...
I would appreciate any ideas or suggestions. Thanks!
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
munin-users mailing list
munin-users@lists.sourceforge.net <mailto:munin-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/munin-users
|
|
|
--
Nico
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev |
| Back to top |
|
 |
Posted: Sun Mar 14, 2010 8:17 pm Subject: Smart plugin errors? |
|
|
James Rankin
|
|
Hello,
Here is the output of munin-run smart_sda after setting verbose to True:
[root@sparky plugins]# munin-run smart_sda
smart_sda: plugins' UID: 0 / plugins' GID: 105
smart_sda: Reading S.M.A.R.T values
smart_sda: Saving statefile
smart_sda: Printing S.M.A.R.T values
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 098
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "/etc/munin/plugins/smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
The smartctl output is a bit long, so I put it here:
http://pastebin.com/KPuWHYD3
I appreciate your help with this!
Thanks,
james
On Sun, 2010-03-14 at 17:27 -0400, Nicolas STRANSKY wrote: | Quote: | | Quote: |
Can you edit the plugin and set verbose=True, and also send the output
of smartctl -a /dev/sda?
Thanks
On 03/10/2010 08:00 AM, James Rankin wrote:
| Quote: | Thanks for the responses, Nicolas S and Nicolai L!
To answer your questions:
I'm using Python 2.4.3 (python-2.4.3-27.el5)
My munin-node file has this entry:
[smart_*]
user root
group disk
And munin-run produces this:
[root@sparky plugins]# munin-run smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File "/etc/munin/plugins/smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
The smart_ script I'm using actually is the one included with munin
1.4.4 (sorry, I misspoke about that earlier).
Thanks!
james
On Wed, 2010-03-10 at 00:12 -0500, Nicolas STRANSKY wrote:
| Quote: | Hi,
What version of python are you using?
What is the content of the smart_ section in
/etc/munin/plugin-conf.d/munin-node?
Thanks,
Nico
On 03/09/2010 03:19 PM, James Rankin wrote:
| Quote: | Hello,
Would anyone be able to give me some help with the S.M.A.R.T. plugin?
Specifically, this one:
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636 <http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>
<http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636 <http://muninexchange.projects.linpro.no/?search&cid=2&pid=363&phid=636>>
I've symlinked this plugin to smart_sda and smart_sdb on a CentOS 5.4
x86_64 machine running Munin 1.4.4.
When munin-node runs on this machine, I get the following output from
munin-node.log:
2010/03/09-14:05:02 CONNECT TCP Peer:"127.0.0.1:49235" Local:
"127.0.0.1:4949"
2010/03/09-14:05:06 [10057] Error output from smart_sdb:
2010/03/09-14:05:06 [10057] Traceback (most recent call last):
2010/03/09-14:05:06 [10057] File"/etc/munin/plugins/smart_sdb", line
398, in ?
2010/03/09-14:05:06 [10057] exit(0)
2010/03/09-14:05:06 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:06 [10057] Service 'smart_sdb' exited with status 1/0.
2010/03/09-14:05:10 [10057] Error output from smart_sda:
2010/03/09-14:05:10 [10057] Traceback (most recent call last):
2010/03/09-14:05:10 [10057] File"/etc/munin/plugins/smart_sda", line
398, in ?
2010/03/09-14:05:10 [10057] exit(0)
2010/03/09-14:05:10 [10057] TypeError: 'str' object is not callable
2010/03/09-14:05:10 [10057] Service 'smart_sda' exited with status 1/0.
If I run smart_sda as root from the command line, I get this output:
[root@sparky plugins]# ./smart_sda
Power_Off_Retract_Count.value 200
Power_Cycle_Count.value 100
Current_Pending_Sector.value 200
Start_Stop_Count.value 100
Offline_Uncorrectable.value 100
Seek_Error_Rate.value 200
Reallocated_Event_Count.value 200
UDMA_CRC_Error_Count.value 200
Reallocated_Sector_Ct.value 200
Power_On_Hours.value 099
Calibration_Retry_Count.value 100
Spin_Up_Time.value 100
Spin_Retry_Count.value 100
Temperature_Celsius.value 099
Multi_Zone_Error_Rate.value 100
Load_Cycle_Count.value 200
Raw_Read_Error_Rate.value 200
smartctl_exit_status.value 0
Traceback (most recent call last):
File"./smart_sda", line 398, in ?
exit(0)
TypeError: 'str' object is not callable
These errors are preventing the graphs from being populated...
I would appreciate any ideas or suggestions. Thanks!
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
munin-users mailing list
munin-users@lists.sourceforge.net (munin-users@lists.sourceforge.net) <mailto:munin-users@lists.sourceforge.net (munin-users@lists.sourceforge.net)>
https://lists.sourceforge.net/lists/listinfo/munin-users
|
|
|
| |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|