Munin Error Command /usr/sbin/smartctl
Sign in Pricing Blog Support Search GitHub This repository Watch 103 Star 861 Fork 279 munin-monitoring/munin Code Issues 102 Pull requests 21 Projects 0 Wiki Pulse Graphs New issue hddtemp_smartctl fails on a drive in standby #690 Closed covex opened this Issue Mar 11, 2016 · 4 comments Projects None yet Labels [affects] devel [component] plugins [type] bug Milestone No milestone Assignees No one assigned 3 participants covex commented Mar 11, 2016 This what the plugin resports: UNKNOWNs: sdb is unknown: Command /usr/sbin/smartctl -A --nocheck=standby /dev/sdb on drive sdb failed: 512. The plugin needs to have read permission on all monitored devices., sdd is unknown: Command /usr/sbin/smartctl -A --nocheck=standby /dev/sdd on drive sdd failed: 512. The plugin needs to have read permission on all monitored devices.. OKs: sda is 32.00, sdc is 33.00. Both sbb and sdd are in standby. The plugin correctly uses "--nocheck=standby" however smartctl returns non zero exit code upon this on drive that is in standby.The plugin threats this as error: my $output = $cmd; if ($? ne 0) { ... and prints this "incorrect" message. ssm added [type] bug [component] plugins [affects] devel labels Mar 14, 2016 dipohl commented May 22, 2016 Both sbb and sdd are in standby. The plugin correctly uses "--nocheck=standby" however smartctl returns non zero exit code upon this on drive that is in standby.The plugin threats this as error I could reproduce it: [root@niva smartmontools]# munin-run hddtemp_smartctl sda.value 31 sdf.value U sdf.extinfo Command /usr/sbin/smartctl -A --nocheck=standby /dev/sdf on drive sdf failed: 512. The plugin needs to have read permission on all monitored devices. [ERROR] Command /usr/sbin/smartctl -A --nocheck=standby /dev/sdf on drive sdf failed: 512. The plugin n
is a wildcard plugin to monitor all SMART attributes of a specified hard drive. Languagepython Known working OSesLinux2.4 Linux 2.6 SunOS *BSD written byNicolas STRANSKY Configuration You need to install python in order to run the plugin. You also need a valid smartmontools installation. This plugin needs the following minimal configuration in plugin-conf.d/munin-node [smart_*] user root group disk To monitor a S.M.A.R.T device, link smart_
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our https://sourceforge.net/p/munin/mailman/message/31646217/ ad policies X You seem to have CSS turned off. Please don't fill http://articles.slicehost.com/2010/4/9/enabling-munin-node-plug-ins-on-debian out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Munin Mailing Lists Munin Brought to munin error you by: bjornruberg, janl, snide Summary Files Reviews Support Mailing Lists News Code munin-users munin-users-de munin-users-jp Re: [munin-users] SELinux blocks plugin hddtemp_smartctl (but strangely not smart_ ) Re: [munin-users] SELinux blocks plugin hddtemp_smartctl (but strangely not smart_ ) From: Gabriele Pohl
Fedora Arch SERVERS Apache Nginx Email FRAMEWORKS Ruby on Rails Capistrano Django SLICE ADMIN SliceManager Slice Admin Backup Security OTHER MySQL PostgreSQL Email Subversion SSH Windows Enabling munin node plug-ins on Debian Munin uses plug-ins to determine what data is gathered and reported. It includes several plug-ins for the types of data most people would be interested in, but not all of those plug-ins are enabled on a fresh installation. What are plug-ins? When a munin node gathers data about a slice so it can be graphed, the node reads instructions from files called "plug-ins" to determine what information to collect. Several plug-ins are installed with munin but not all of them are used by default. Fortunately a munin node installation includes a command that lets you see what plug-ins are active and can help you decide which others to enable. The munin-node-configure command The "munin-node-configure" command can list the status of installed munin plug-ins, suggest which to enable, and provide a shell script that will automate enabling the appropriate plug-ins. Using this command isn't the only way to perform these tasks, but it's convenient and easy to use. Easy is good. Listing installed plug-ins To see which plug-ins are installed on a munin node, log into it and run the "munin-node-configure" command by itself: $ sudo /usr/sbin/munin-node-configure Plugin | Used | Extra information ------ | ---- | ----------------- acpi | no | apache_accesses | no | apache_processes | no | apache_volume | no | apt | no | apt_all | no | courier_mta_mailqueue | no | courier_mta_mailstats | no | courier_mta_mailvolume | no | cps_ | no | cpu | yes | cupsys_pages | no | df | yes | df_abs | no | df_inode | yes | entropy | yes | exim_mailqueue | yes | exim_mailstats | yes | forks | yes | fw_conntrack | no | ... The output is longer than that, but that's generally what you'll see — the plug-ins with "yes" next to them are enabled, the ones with "no" next to them are installed but disabled. Deciding what to enable To help you decide whether you want to enable any other munin plug-ins, run munin-node-configure with the "--suggest" option: $ sudo /usr/sbin/munin-node-configure --suggest Plugin | Used | Suggestions ------ | ---- | ----------- acpi | no | [ACPI program not found] apache_accesses | no | [LWP::UserAgent n