Skip to content

NetworkPlugin update: adding url collector arg and test enhancements#120

Open
jaspals3123 wants to merge 7 commits intodevelopmentfrom
jaspal_networkplugin
Open

NetworkPlugin update: adding url collector arg and test enhancements#120
jaspals3123 wants to merge 7 commits intodevelopmentfrom
jaspal_networkplugin

Conversation

@jaspals3123
Copy link
Collaborator

No description provided.

@alexandraBara
Copy link
Collaborator

alexandraBara commented Feb 2, 2026

Please update the functional test for this plugin and add the collector arg to the plugin_config: https://github.com/amd/node-scraper/blob/development/test/functional/fixtures/network_plugin_config.json

@alexandraBara alexandraBara changed the title adding url collector arg and test enhancements NetworkPlugin update: adding url collector arg and test enhancements Feb 2, 2026
Comment on lines +1706 to +1708
description="System networking is up",
data={"url": url, "accessible": result.exit_code == 0},
priority=EventPriority.INFO,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description=f"Network connectivity check successful: {cmd} to {url} succeeded",
data={"url": url, "command": cmd, "accessible": True},
priority=EventPriority.INFO,
console_log=True,

category=EventCategory.NETWORK,
description=f"{cmd} to {url} failed!",
data={"url": url, "not accessible": result.exit_code == 0},
priority=EventPriority.ERROR,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add this: console_log=True

Copy link
Collaborator

@alexandraBara alexandraBara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to log this to console as well and improve the messaging so we know which cmd and what url was used

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.

2 participants