Icinga2 config for NSClient++


(Mahmoud Emad) #1


I’m trying to monitor windows host with NSClient++.
NSClient++ has been installed on the host and enabled (check_nt) option.
Now, I need an explanation how to add check command check_nt in commands.conf
and how to add custom services to be monitored in services.conf


The command definition for check_nt (CheckCommand nscp) is already included via the ITL. So you do not need to add the CheckCommand to your icinga2 instance.
For the rest see e.g. the docs at https://icinga.com/docs/icinga2/latest/doc/07-agent-based-monitoring/#nsclient as a starting point.