aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2017-01-02 10:52:31 +0100
committerMarius Halden <marius.h@lden.org>2017-01-02 10:52:31 +0100
commit97584fce07937b214dc373adbb5b4b2b0f384b3f (patch)
treef83c801f51b5530e8ee0ab408341fd92bc916d59
parent43eb409aaac185745a74ad6442045ee203fccf27 (diff)
downloadsitesummary-97584fce07937b214dc373adbb5b4b2b0f384b3f.tar.gz
sitesummary-97584fce07937b214dc373adbb5b4b2b0f384b3f.tar.bz2
sitesummary-97584fce07937b214dc373adbb5b4b2b0f384b3f.tar.xz
SSH-host are remotecheck_ssh
-rwxr-xr-xsitesummary-nodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 2431680..975b4a7 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -276,8 +276,8 @@ sub generate_nagios_config {
my $redirect = "";
my $nagiosclient = is_nagios_client($hostid);
- my $remote = is_remote_nagios_client($hostid);
my $sshhost = is_ssh_host($hostname);
+ my $remote = $sshhost || is_remote_nagios_client($hostid);
my $nrpestatus = is_remote_nrpe_config_active($hostid);
# Only check laptops that have the nagios tools installed