How to update a Centreon installation

Very simple procedure:

  • service ndo2db stop
    service centstorage stop
    service centcore stop
  • ./install.sh -u /etc/centreon
  • service centstorage start
    service centcore start
    service ndo2db start

Restarting the daemons is needed to make sure the new software is loaded into memory. I.e.: not restarting the service centstorage will result in graphs not being updated anymore.

Troubleshooting Centreon Graphs

Check if service-perfdata is growing. If so then the file is not being emptied by NDO2DB:
# tail -f /usr/local/nagios/var/service-perfdata

Check if Centstorage proces is running:
# ps -ef |grep centstor

Check the centstorage log or errors:
# tail -f /usr/local/centreon/log/centstorage.log
Restart centstorage if you find errors.