use consistent font height for header lines, align service names to the right, move output to full-width
This commit is contained in:
parent
5a1658478a
commit
0773db6933
2 changed files with 15 additions and 19 deletions
4
service
4
service
|
@ -80,7 +80,7 @@ def regenerate():
|
|||
if not CONFIG['show_ack']:
|
||||
continue
|
||||
|
||||
ack = 'ACKNOWLEDGED'
|
||||
ack = '[ACK] '
|
||||
else:
|
||||
ack = ''
|
||||
|
||||
|
@ -88,7 +88,7 @@ def regenerate():
|
|||
continue
|
||||
|
||||
services['services'].append({
|
||||
'host': host['attrs']['display_name'],
|
||||
'host': ack + host['attrs']['display_name'],
|
||||
'service': '-- HOST --',
|
||||
'state': 2,
|
||||
'type': int(host['attrs']['state_type']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue