do not show any service name for host errors
This commit is contained in:
parent
55ae3fe2dd
commit
d8d17f2ade
1 changed files with 1 additions and 1 deletions
2
service
2
service
|
@ -87,7 +87,7 @@ def regenerate():
|
|||
|
||||
services['services'].append({
|
||||
'host': host['attrs']['display_name'],
|
||||
'service': '-- HOST --',
|
||||
'service': '',
|
||||
'state': 2,
|
||||
'type': int(host['attrs']['state_type']),
|
||||
'output': limit_output_lines(host['attrs']['last_check_result']['output'].splitlines(), 3),
|
||||
|
|
Loading…
Reference in a new issue