Skip to content

Commit

Permalink
agents: highlight new checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Dec 10, 2023
1 parent 248ce0d commit c74aafd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/plugins-available/agents/templates/agents.tt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
<td><img src="[% url_prefix %]plugins/[% plugin_name %]/images/[% agent.icon | html %]" alt="[% agent.type | html %]" width=20 height=20 class="inline"> [% agent.type | html %]</td>
<td>[% IF info.exists(hostname) && info.$hostname.exists("version") %][% info.$hostname.version | html %][% END %]</td>
<td>[% IF info.exists(hostname) && info.$hostname.exists("inv_checks") %][% info.$hostname.inv_checks %][% END %]</td>
<td>[% IF info.exists(hostname) && info.$hostname.exists("inv_new") %][% info.$hostname.inv_new %][% END %]</td>
<td [% IF info.exists(hostname) && info.$hostname.exists("inv_new") && info.$hostname.inv_new > 0 %]class="WARNING"[% END %]>
[% IF info.exists(hostname) && info.$hostname.exists("inv_new") %][% info.$hostname.inv_new %][% END %]
</td>
<td>[% IF info.exists(hostname) && info.$hostname.exists("inv_obsolete") %][% info.$hostname.inv_obsolete %][% END %]</td>
<td>[% IF info.exists(hostname) && info.$hostname.exists("inv_disabled") %][% info.$hostname.inv_disabled %][% END %]</td>
<td>
Expand Down

0 comments on commit c74aafd

Please sign in to comment.