{% extends "base_okconfig.html" %} {% block title %}Install Agent{% endblock %} {% block smallheader %}Install{% endblock %} {% block largeheader %}Agent{% endblock %} {% block nav2 %}Install Agent{% endblock %} {% block footer %} {% endblock %} {% block content %} {% if exit_status %} {% if exit_status == "0" %}
Install Success. (exit status=0)
{% else %}
Install failed. (exit status={{ exit_status }})
{% endif %} {% endif %}
Could not log in to server. Make sure you are using correct username and password.
The security settings on the remote windows host might forbid logins
if the host name specified does not match the computername on the server.

Try again with either correct hostname or the ip address of the server.
Make sure that the user is a local administrator on the windows host.
Seems like there is no copy of nsclient installed on the remote server. Have you tried the following:
# Get nsclient 32-bit and 64-bit copies from opinkerfi github repo:
cd /opt
git clone http://github.com/opinkerfi/misc

# Copy nsclient to where okconfig expects it to live:
cp -r misc/nsclient/src {{ nsclient_installfiles }}/

# Put the ip address of the nagios server in here:
vim {{ nsclient_installfiles }}/datafiles/allowed_hosts.ini
                
See more about this issue here.
{% if stdout %} Script output:
{{ stdout }}
{% endif %} {% if stderr %} Errors:
{{ stderr }}
{% endif %}
{% csrf_token %} {% include "bootstrap_fields.html" with fields=form %}
{% endblock %}