{% 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" %}
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.
# 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.iniSee more about this issue here.
{{ stdout }}{% endif %} {% if stderr %} Errors:
{{ stderr }}{% endif %}