diff --git a/hwmonDaemon.py b/hwmonDaemon.py index ace08de..0c5085c 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -54,7 +54,8 @@ class SystemHealthMonitor: } TICKET_TEMPLATES = { 'ACTION_TYPE': { - 'AUTO': '[auto]' + 'AUTO': '[auto]', + 'MANUAL': '[manual]' }, 'ENVIRONMENT': { 'PRODUCTION': '[production]' @@ -75,10 +76,6 @@ class SystemHealthMonitor: 'SINGLE_NODE': '[single-node]', 'CLUSTER_WIDE': '[cluster-wide]' }, - 'ISSUE_TYPE': { - 'HARDWARE': '[hardware]', - 'SOFTWARE': '[software]' - }, 'DEFAULT_CATEGORY': 'Hardware', 'DEFAULT_ISSUE_TYPE': 'Problem' } @@ -1361,7 +1358,7 @@ class SystemHealthMonitor: try: parts = fs_line.split() if len(parts) >= 6: - if parts[5] in self.CONFIG['EXCLUDED_MOUNTS']: + if parts[5] in self.CONFIG['EXCLUDED_MOUNTS'] or any(excluded in parts[5] for excluded in self.CONFIG['EXCLUDED_MOUNTS']): continue # Convert size strings to comparable values