This document describes how you can change the default daemons port.
In order to change a daemon port, you will have to :
First of all, you have to know if the port you want to use is available or not.
Let's say you want to use the port 40000 as a new port, type the following command in your shell
netstat -laputen | grep ":40000" |
Having no result mean the port is available and not in use.
You can find more informations about the daemon here : Daemons |
Example :
port 40000 |
Example :
port 40001 |
At this step, if you restart shinken service your daemon will be listening on new port but the arbiter is not configured to query on the right port.You have to change the daemon ressource on the arbiter server.
For synchronizer daemon, you must change : /etc/shinken/modules/synchronizer-import.cfg.
Restart Shinken arbiter service