Skip to content

Commit 846f135

Browse files
committed
add new tools, add new status checks, move from tabs to sidebar
1 parent 30d464c commit 846f135

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

status.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,27 @@ def write_status(self, p_filename, all_tenants):
4242
MetaLogMaxFiles = info.config.logging.log2File.maxfiles
4343
except AttributeError:
4444
MetaLogMaxFiles = 'Not Applicable'
45+
try:
46+
AuditLogsStatus = filer.cli.run_command('show /config/logging/files/mode')
47+
except AttributeError:
48+
AuditLogsStatus = 'Not Applicable'
49+
try:
50+
DeviceLocation = filer.cli.run_command('show /config/device/location')
51+
except AttributeError:
52+
AuditLogsStatus = 'Not Applicable'
53+
try:
54+
AuditLogsPath = filer.cli.run_command('show /config/logging/files/path')
55+
except AttributeError:
56+
AuditLogsStatus = 'Not Applicable'
4557
try:
4658
MetaLogs = filer.cli.run_command('dbg level')
4759
MetaLogs1 = MetaLogs[-28:-18]
4860
except AttributeError:
4961
MetaLogs1 = 'Not Applicable'
62+
try:
63+
MetaLogs = filer.cli.run_command('dbg level')
64+
except AttributeError:
65+
MetaLogs = 'Not Applicable'
5066
License = filer.licenses.get()
5167
# License = info.config.device.activeLicenseType
5268
IP1 = info.status.network.ports[0].ip.address
@@ -117,6 +133,9 @@ def get_ad_status(result=info.status.fileservices.cifs.joinStatus):
117133
scanningFiles,
118134
selfVerificationscanningFiles,
119135
MetaLogs1,
136+
AuditLogsStatus,
137+
DeviceLocation,
138+
AuditLogsPath,
120139
MetaLogMaxSize,
121140
MetaLogMaxFiles,
122141
CurrentFirmware,
@@ -156,6 +175,9 @@ def write_header(p_filename):
156175
'scanningFiles',
157176
'selfVerificationscanningFiles',
158177
'MetaLogsSetting',
178+
'AuditLogsStatus',
179+
'DeviceLocation',
180+
'AuditLogsPath',
159181
'MetaLogMaxSize',
160182
'MetaLogMaxFiles',
161183
'CurrentFirmware',

0 commit comments

Comments
 (0)