Shinken Enterprise delivery comes with a .tar.gz archive specifically for the Windows Poller.
The first step is to connect with an Administrative account on the Windows server and to extract the .tar.gz archive (with 7zip for example).
To install the Windows Poller, you first have to install the following dependencies on your system (contained in the root of the archive):
Note : leave default installation paths
Open a DOS command line with Administrator rights and launch the command:
From Windows explorer :
The update of a Windows Poller is manual. On a Windows server, extract the archive and follow the following steps.
From the Services management tool, stop the "Shinken-Poller" service, or via the command line:
From the Windows task manager check that the "python.exe" process linked to the Shinken service are not present anymore. If after stopping the service "python.exe" are still present, they can be killed.
Because manipulations on the Poller files can lead to errors, we advise to proceed to a complete backup of the C:\shinken directory before upgrading.
To update from an old version, please install a new dependency : psutil-5.2.1.win-amd64-py2.7.exe.
You have to delete the old Shinken source files by deleting the following folder:
Copy the new Shinken source files:
From the Windows Service management console, start the "Shinken-Poller" service, or from the command line with Administrator rights:
To configure communications to use SSL, you have to edit the C:\shinken\etc\daemons\pollerd-windows.ini file and change the following bloc:
#-- HTTPS configuration -- |
You can then enable SSL and configure your certificates.
Si le service Windows ne démarre pas, pour débugger, vous pouvez lancer le démarrage du Poller, ouvrir une commande DOS en Administrateur et tester le démarrage en exécutant la commande:
Bien vérifier que la communication réseau entre votre architecture Shinken et ce nouveau Poller Windows est opérationnelle.
En effet, un firewall pourrait bloquer des communications importantes, ce qui pourrait provoquer des problèmes entres les différents démons.
Le port d'écoute 7771 doit être également ouvert sur le Poller Windows.
Si besoin, suivant les définitions des démons de votre configuration, la résolution de nom doit également permettre au Poller Windows de communiquer avec les autres démons et inversement.
Lors de vos installations, bien penser à être connecté en administrateur local de la machine, ou administrateur du domaine si le serveur est sur un domaine.
Il n'est pas possible de limiter le CPU pour un Poller Windows. Par conséquence, la propriété "max_cpu_queue_per_cpu" dans la définition du Poller, n'aura aucun effet. En revanche, la limitation sur la mémoire est effective.