diff --git a/plugins/plugins-available/node-control/lib/Thruk/NodeControl/Utils.pm b/plugins/plugins-available/node-control/lib/Thruk/NodeControl/Utils.pm index 8aeaf2964..201043a63 100644 --- a/plugins/plugins-available/node-control/lib/Thruk/NodeControl/Utils.pm +++ b/plugins/plugins-available/node-control/lib/Thruk/NodeControl/Utils.pm @@ -161,6 +161,7 @@ sub get_server { my $server = { peer_key => $peer->{'key'}, peer_name => $peer->{'name'}, + peer_type => $peer->{'type'} // '', section => $peer->{'section'}, gathering => $facts->{'gathering'} || 0, # job id of current gathering job or 0 cleaning => $facts->{'cleaning'} || 0, # cleaning job id diff --git a/plugins/plugins-available/node-control/templates/node_control.tt b/plugins/plugins-available/node-control/templates/node_control.tt index 5e22218e2..939e3ccf0 100644 --- a/plugins/plugins-available/node-control/templates/node_control.tt +++ b/plugins/plugins-available/node-control/templates/node_control.tt @@ -134,11 +134,17 @@ [% ELSE %] [% IF s.host_name %][% s.host_name | html %][% END %] - [% IF s.omd_site %] - [% remote_thruk_url = get_remote_thruk_url_path(c, s.peer_key) %] - - [% s.omd_site | html %] - + [% IF s.peer_type == "configonly" %] + + [% s.omd_site | html %] + + [% ELSE %] + [% IF s.omd_site %] + [% remote_thruk_url = get_remote_thruk_url_path(c, s.peer_key) %] + + [% s.omd_site | html %] + + [% END %] [% END %] [% IF error_lines.size > 0 %]