Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disk plugin: UseBSDName doesn't work on Mac OS X 10.7.3 #245

Closed
blysik opened this issue Jan 30, 2013 · 12 comments
Closed

disk plugin: UseBSDName doesn't work on Mac OS X 10.7.3 #245

blysik opened this issue Jan 30, 2013 · 12 comments
Labels
Bug A genuine bug macos only
Milestone

Comments

@blysik
Copy link

blysik commented Jan 30, 2013

I wanted to try the new UseBSDName option in 5.2, so I compiled a new version, and deployed to a host. With this config:

LoadPlugin disk
<Plugin "disk">
  UseBSDName true
</Plugin>

I don't get anything at all collected for disks. From the documentation, this should start processing all the disk devices, right/

@blysik
Copy link
Author

blysik commented Jan 30, 2013

I recompiled with debugging, and this is all I see:

[2013-01-30 13:47:55] plugin_read_thread: Handling `disk'.
[2013-01-30 13:47:55] plugin_read_thread: Effective interval of the disk plugin is 10.000000000.
[2013-01-30 13:47:55] plugin_read_thread: Next read of the disk plugin at 1359582485.263360999.

Over and over.

@blysik
Copy link
Author

blysik commented Jan 30, 2013

Sorry, in my initial post, there should by Plugin disk tags around the UseBSDName true line.

@blysik
Copy link
Author

blysik commented Jan 30, 2013

Also forgot to copy the debugging version of disk plugin into place. When I do, I get a little more information:

[2013-01-30 14:17:22] type = disk
[2013-01-30 14:17:22] type = disk, key = UseBSDName, value = true
[2013-01-30 14:17:22] plugin_read_thread: Handling `disk'.
[2013-01-30 14:17:22] disk plugin: CFDictionaryGetValue(kIOBSDNameKey) failed.
[2013-01-30 14:17:22] disk plugin: CFDictionaryGetValue(kIOBSDNameKey) failed.
[2013-01-30 14:17:22] disk plugin: CFDictionaryGetValue(kIOBSDNameKey) failed.
[2013-01-30 14:17:22] IORegistryEntryGetChildEntry (disk) failed: 0xe00002c0

@blysik
Copy link
Author

blysik commented Jan 30, 2013

This is a machine running 10.7.3

@octo
Copy link
Member

octo commented Apr 1, 2013

Hi, sorry for coming back so late.

Can you verify that you in fact have the "BSD subsystem" installed on that Mac? Also, could you post the output of ioreg -n IOMediaBSDClient into a Gist and link to it here?

Thanks and best regards,
—octo

@ghost ghost assigned octo Apr 6, 2013
@dpzmick
Copy link

dpzmick commented Jul 13, 2013

I'll play. I don't know what the "BSD subsystem" you are referring to is.

Machine running 10.8

https://gist.github.com/5989486

@octo
Copy link
Member

octo commented Aug 19, 2013

Unassigning myself since I don't have a Mac OS X instance to test.

@amyrrich
Copy link

amyrrich commented Apr 8, 2014

We also have this same issue with the disk plugin. BSD subsystem is installed (does anyone NOT install it? you have to do a custom install and explicitly leave it out if you don't want it).

@octo octo modified the milestones: 5.3, 5.4 May 30, 2015
@rubenk
Copy link
Contributor

rubenk commented Feb 27, 2016

I just checked on my Macbook Pro running 10.11 with Collectd 5.5.1.
I get values for 'disk0' with UseBSDName true:

[2016-02-27 18:22:03] write_log values:
localhost.disk-disk0.disk_time.read 4717309090 1456593723
localhost.disk-disk0.disk_time.write 979393052 1456593723

@blysik can you check if this is still an issue for you?

@blysik
Copy link
Author

blysik commented Mar 1, 2016

I'm hopeful to roll the latest version of collectd out shortly. I'll report back soon.

@rubenk
Copy link
Contributor

rubenk commented Apr 23, 2016

@blysik any luck?

@rubenk
Copy link
Contributor

rubenk commented May 25, 2016

I'm going to close this. Please open a new issue if this is still an issue in the latest version of Collectd.

@rubenk rubenk closed this as completed May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A genuine bug macos only
Projects
None yet
Development

No branches or pull requests

5 participants