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

[Metricbeat] Diskio metricset: error message "disk io counters: Incorrect function." when ramdisk setup #12814

Closed
narph opened this issue Jul 8, 2019 · 0 comments · Fixed by #12829
Assignees
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team :Windows

Comments

@narph
Copy link
Contributor

narph commented Jul 8, 2019

  • Version: 7.2
  • Operating System: Windows
  • Steps to Reproduce:
    • Setup a ramdisk
    • Run metricbeat with diskio metricset enabled

Result:

"service": {
    "type": "system"
  },
  "error": {
    "message": "disk io counters: Incorrect function."
  },
  "event": {
    "module": "system",
    "duration": 78900,
    "dataset": "system.diskio"
  },
  "metricset": {
    "name": "diskio"
  },

Diskio will check for disk type and accept any Local Fixed Disk Type even if it is ram disk. This will return an exception as it is not able to read any disk performance counters.

Workaround, specify the list of disk names you want to gather metrics on using the configuration setting:
diskio.include_devices: ["sda", "sda1"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team :Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants