Skip to content


Repository files navigation

Adagios | OKconfig agent - Unattended Installation for Windows

Installs NSClient (32/64 bit) in NRPE mode with your favorite settings and plugins. This setup works with Adagios setups. Adagios is a web based Nagios configuration interface. Project website is at


Install with Powershell

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Invoke-WebRequest -Uri "" -outfile "$env:TEMP\" -Verbose

Expand-Archive -Path "$env:TEMP\" -DestinationPath "$env:TEMP" -Force -Verbose
& "$env:TEMP\adagios-agent-windows-master\Deploy-Application.exe"

$ENV:Path += ";C:\Program Files\NSclient++"

Change configuration settings

  • Change the file SupportFiles/allowed_hosts.ini
allowed hosts =,{ip_address_of_your_nagios_server}

To update allowed hosts from the command line, run

nscp.exe settings --path /settings/default --key "allowed hosts" --set ",::1,monitoring-server
nscp.exe settings --list --path /settings/default --key "allowed hosts"

# Restart NSClient++
nscp.exe service --stop
nscp.exe service --start
  • Optional: Make your changes in Files/nsclient.ini . This configuration is currently configured for NRPE mode

Manual Installation

Download this repo as zip file to your windows server

Run Deploy-Application.exe to begin silent unattended installation.

The installation script will do the following:

  • Stop NSClient++ service
  • Uninstall/Update older NSClients
  • Install the correct package depending on your system architecture (32/64 bit)
  • Install Firewall Rules for NSClient++
  • Install your custom plugins and config files
  • Start the NSClient++ service