Notes NSClient (Agent Nagios / Centreon pour windows)

Voir :

https://assets.nagios.com/downloads/nagiosxi/docs/Configuring-The-Windows-Agent-NSClient++-for-Nagios-XI.pdf

https://wiki.monitoring-fr.org/nagios/addons/nsclient.html

WebAPI

Voir :

Pb plugin Nagios centreon NSClient 403

Voir aussi :

check-mk-agent

Exporter prometheus

Protocols / Flux

12489/tcp for NSClientServer (Nagios Server check_nt > Windows Machine)

5666/tcp for NRPEServer (Nagios Server check_nrpe > Windows Machine)

5667/tcp for NSCAClient (Windows Machine > Nagios Server)

8443/tcp for NSClientServer (Nagios Server restapi > Windows Machine)

80 or 443/tcp for NRDPClient (Windows Machine > Nagios Server)

# Port 5666 check_nrpe -H localhost -c check_load # Pour 1248 check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process

$ /usr/lib64/nagios/plugins/check_nt -H 10.12.50.61 -p 12489 -s 'P@ssw0rd' -v USEDDISKSPACE -d SHOWALL -l c
c:\ - total: 49.90 Gb - used: 11.78 Gb (24%) - free 38.12 Gb (76%) | 'c:\ Used Space'=11.78Gb;0.00;0.00;0.00;49.90

Web API

nscp web -- password --display nscp web password set=icinga --debug nscp web password -- --set icinga

Notes

NSCA - Nagios Service Check Acceptor : Supervision en mode actif