Ad Widget

Collapse

Change color in label macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WebGreg
    Member
    • Feb 2021
    • 49

    #1

    Change color in label macro

    Hello.

    In label I use macro to check service status:
    Apache2: {{HOSTNAME}:service.info["Apache2",state].last(0)}

    Is it possible to format it with colors? Red if not 0, and green for 0? And I mean the text on the label, not the color of the link. If it is - what should it look like?
    Last edited by WebGreg; 27-02-2021, 23:24.
Working...