Outils pour utilisateurs

Outils du site


tech:notes_nsclient_nagios_windows

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_nsclient_nagios_windows [2025/05/12 16:44] Jean-Baptistetech:notes_nsclient_nagios_windows [2025/12/04 14:17] (Version actuelle) Jean-Baptiste
Ligne 33: Ligne 33:
 En plus de  En plus de 
  
-| PORT          | SENS            | SERVICE        | PLUGIN                             |+| PORT          | SENS            | SERVICE        | NOTE                               |
 | ------------- | --------------- | -------------- | ---------------------------------- | | ------------- | --------------- | -------------- | ---------------------------------- |
 | ICMP          | NAGIOS => HOTE  | PING                                              | | ICMP          | NAGIOS => HOTE  | PING                                              |
Ligne 62: Ligne 62:
  
 ## Rest API ## Rest API
 +
 +
 +Changer 
 +
 +~~~ini
 +; Section for REST API users
 +[/settings/WEB/server/users/centreon]
 +password=centreon
 +role=limited
 +~~~
 +
 +en 
 +
 +~~~ini
 +; Section for REST API users
 +[/settings/WEB/server/users/SupUser]
 +password=P@ssw0rd
 +role=limited
 +~~~
 +
 +
 +### Autres 
  
 ~~~winbatch ~~~winbatch
Ligne 86: Ligne 108:
  
 ## Conf ## Conf
 +
 +Voir :
 +* https://assets.nagios.com/downloads/nagiosxi/docs/Configuring-The-Windows-Agent-NSClient++-for-Nagios-XI.pdf
 +* https://docs.centreon.com/fr/pp/integrations/plugin-packs/getting-started/how-to-guides/centreon-nsclient-tutorial/
 +* https://shinken.readthedocs.io/en/latest/13_monitoring/windows-monitoring-with-nsclient.html
 +* https://mehdinaciri.wordpress.com/wp-content/uploads/2013/06/installation-des-agents-nsclient-et-nrpe.pdf
 +
  
 ''nsclient.ini'' ''nsclient.ini''
 ~~~ini ~~~ini
-allowed hosts = 10.133.134.0/24,10.136.243.0/24+[/settings/default] 
 +password =Str0ngPassw0rd 
 +; PORT NUMBER - Port to use for check_nt. 
 +port = 12489 
 + 
 +[/modules] 
 +NSClientServer = 1 
 +CheckDisk = 1 
 +CheckEventLog = 1 
 +WebServer = 0 
 +Scheduler = 1 
 + 
 +[/settings/default] 
 +allowed hosts = 127.0.0.1,10.133.134.0/24,10.136.243.0/24 
 +timeout = 30 
 + 
 +[/settings/log] 
 +level = debug
 ~~~ ~~~
 +
 +~~~ini
 +[/settings/default]
 +allowed hosts = 0.0.0.0/0
 +password = P@ssw0rd
 +port = 12489
 +
 +[/modules]
 +WEBServer = 1
 +NRPEServer = 0
 +NSClientServer = 1
 +
 +[/settings/WEB/server]
 +; ALLOWED HOSTS - A coma separated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
 +allowed hosts = 0.0.0.0/0
 +
 +[/settings/WEB/server/users/Sup]
 +password = P@ssw0rd
 +role=limited
 +~~~
 +
 +
 +
 +Multi instance - Multiple NSClient++
 +~~~winbatch
 +nscp service --install --name nscp2
 +~~~
 +Source : https://nsclient.org/docs/installing/
 +
 +Old
 +
 +~~~ini
 +[Settings]
 +use_file=1
 +
 +[modules]
 +NRPEListener.dll
 +NSClientListener.dll
 +;CheckWMI.dll
 +CheckSystem.dll
 +~~~
 +
 +
 +
 +
 +If you want to fill this file with all available options run the following command:
 +~~~winbatch
 +nscp settings --generate --add-defaults --load-all
 +~~~
 +
 +If you want to activate a module and bring in all its options use:
 +~~~winbatch
 +nscp settings --activate-module <MODULE NAME> --add-defaults
 +~~~
 +For details run: 
 +~~~winbatch
 +nscp settings --help
 +~~~
 +
 +
 +
 +
  
 ## Notes ## Notes
tech/notes_nsclient_nagios_windows.1747061044.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki