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

NAS-133878 / 25.10 / Retrieve TNC info in debug #258

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ixdiagnose/artifacts/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Logs(Artifact):
File('scst.log.1'),
File('syslog'),
File('syslog.1'),
File('truenas_connect.log'),
File('truenas_verify.log'),
File('wsdd.log'),
Pattern('daemon.+'),
Expand Down
2 changes: 2 additions & 0 deletions ixdiagnose/plugins/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
from .system import System
from .system_state import SystemState
from .system_vendor import SystemVendor
from .truenas_connect import TruenasConnect
from .two_factor_auth import TwoFactorAuth
from .ups import UPS
from .vm import VM
Expand Down Expand Up @@ -76,6 +77,7 @@
System,
SystemState,
SystemVendor,
TruenasConnect,
TwoFactorAuth,
UPS,
VM,
Expand Down
11 changes: 11 additions & 0 deletions ixdiagnose/plugins/truenas_connect.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from ixdiagnose.utils.middleware import MiddlewareCommand

from .base import Plugin
from .metrics import MiddlewareClientMetric


class TruenasConnect(Plugin):
name = 'truenas_connect'
metrics = [
MiddlewareClientMetric('config', [MiddlewareCommand('tn_connect.config')]),
]
Loading