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

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

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

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