Show More
@@ -90,6 +90,7 b' def get_cert_path(ini_path):' | |||
|
90 | 90 | |
|
91 | 91 | return default |
|
92 | 92 | |
|
93 | ||
|
93 | 94 | class SysInfoRes(object): |
|
94 | 95 | def __init__(self, value, state=None, human_value=None): |
|
95 | 96 | self.value = value |
@@ -4,9 +4,9 b' SYSTEM INFO' | |||
|
4 | 4 | ----------- |
|
5 | 5 | |
|
6 | 6 | % for dt, dd, warn in c.data_items: |
|
7 |
${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': |
|
|
7 | ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': {}'.format(dd if dt else '')} | |
|
8 | 8 | % if warn and warn['message']: |
|
9 |
|
|
|
9 | ${'{:<60}'.format('ALERT')} ${warn['type'].upper()} ${warn['message']} | |
|
10 | 10 | % endif |
|
11 | 11 | % endfor |
|
12 | 12 |
General Comments 0
You need to be logged in to leave comments.
Login now