Skip to content

SyssettingsPlugin update#152

Merged
alexandraBara merged 4 commits intodevelopmentfrom
alex_sys_update
Mar 12, 2026
Merged

SyssettingsPlugin update#152
alexandraBara merged 4 commits intodevelopmentfrom
alex_sys_update

Conversation

@alexandraBara
Copy link
Collaborator

See sample plugin_config.json:

{
  "name": "plugin_config",
  "desc": "SysSettingsPlugin",
  "global_args": {},
  "plugins": {
    "SysSettingsPlugin": {
      "collection_args": {
        "paths": [
          "/sys/kernel/mm/transparent_hugepage/enabled",
          "/sys/class/net/*/device"
        ]
      },
      "analysis_args": {
        "checks": [
          {
            "path": "/sys/kernel/mm/transparent_hugepage/enabled",
            "expected": ["always", "madvise", "never"],
            "name": "thp_enabled"
          },
          {
            "path": "/sys/class/net/*/device",
            "expected": [],
            "name": "netdev_device_links"
          }
        ]
      }
    }
  },
  "result_collators": {}
}

Can now collect with glob: /sys/class/net/*/device and analyze: path": "/sys/class/net/*/device
Run:

node-scraper --plugin-config plugin_config.json

@alexandraBara alexandraBara merged commit 26e1b0c into development Mar 12, 2026
6 checks passed
@alexandraBara alexandraBara deleted the alex_sys_update branch March 12, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant