Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Changing default linstening port for all daemons

First you have to change listening port for running daemon.

...

  • For all daemons except synchronizer, edit your daemon .ini file in in /etc/shinken/daemons/ directory. Then find the "port=" directive and change listening port.
  • For synchronizer daemon, edit /etc/shinken/synchronizers/synchronizer-master.cfg file

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 tou .You have toi to change the daemon ressource on the arbiter server.In /etc/shinken/, change directory to daemons configuration directory

Change arbiter ressource

  •  For all daemons except synchronizer, edit ressource .cfg file in daemon ressource directory (ie. /etc/shinken/pollers

...

  • / for a poller) and change

...

  • port directive.

...

  • For synchronizer daemon, you must change :

...

  •  /etc/shinken/

...

and 

...

  • modules/synchronizer-import.cfg.

 

 

 

 


 Restart Shinken arbiter service