Solved Custom sublabel – expand health summary
Hi,
I’m trying to figure out how to expand the health summary to show all the alerts on the dashboard.
So in stead of showing (+2 more) or (+15 more) show all of the alerts below the server name.
Haven’t had any luck with the customizing it.
Best answer
You could start with the sublabel:
{{#each alerts}} {{name}} {{/each}}
It is not that pretty. But if you pick up the JSON code (Excellent coffeebreaksession yesterday by the way https://www.youtube.com/watch?v=Fjr86cTNRdk&list=PLJNXoiGgmTEu3yZRGpPNWQbG9WMyihZFs&index=35 )
And edit it like this:
"display": { "label": "name", "sublabel": "custom", "sublabelCustomLabel": "{{#each alerts}}\n\t{{name}}<br>\n{{/each}}", "zoom": "list" }
You get a better formatting.
Answer this question
To reply or comment, use the 'Comment' link on the relevant answer or question.