Announcement

Collapse

GDPR - Your personal data is important

We value your personal data and ensure you that we will continue to secure the storage of the information you share with us regarding your use of this forum (email address, IP address, location, etc.) and only use them upon consent, and towards the purpose it’s intended for. Email us at community@centreon.com to request the update or deletion of your data.

If you wish to make sure you get all our latest tutorials, customer success stories, product updates and many great news, subscribe now to our monthly newsletter.

-------------------------------------------------------------------

Nous accordons beaucoup d’importance au traitement de vos données personnelles. Soyez assurés que les informations collectées dans le cadre de votre utilisation de ce forum (adresse email, IP de connexion, localisation, etc.) sont stockées de manière sécurisée et qu’elles ne sont utilisées que dans le cadre pour lequel elles sont été collectées. Pour toute demande de modification ou suppression de vos informations, écrivez-nous à community@centreon.com.

Si vous souhaitez recevoir tous nos tutoriels, retours d’expériences, nouveautés produit et bien d’autres actualités, (ré)abonnez-vous sans attendre à notre newsletter mensuelle !
See more
See less

Centreon Poller Central not running + Problem when exporting configuration files

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centreon Poller Central not running + Problem when exporting configuration files

    Hello everyone !

    I'm working on Centreon with a colleague, and so far we've only set up on a VM + the web interface. We're having trouble with the Central Poller that isn't running. Furthermore, whenever we try to export the configuration files (with the debug option checked) it stops at straight 0% noticing the following issue: sh: -v: unknown command. We've attempted to solve this issue by many ways: modifying the rights of centreon.cfg & ressources.cfg files, modifying the sudoers by adding tons of NOPASSWD lines for the differents services (centengine, centcore, cbd, httpd, centreontrapd) & their different commands (restart, reload, start, stop). Every needed service seems to work (mysql, httpd, centcore, centengine, cbd & centreontrapd).

    Thanks for your help, Paul

  • #2
    for the sudoers you should have:
    cat /etc/sudoers.d/centreon |grep -v "#"
    User_Alias CENTREON=apache,nagios,centreon,centreon-engine,centreon-broker
    Defaults:CENTREON !requiretty
    CENTREON ALL = NOPASSWD: /etc/init.d/snmptrapd restart
    CENTREON ALL = NOPASSWD: /etc/init.d/centreontrapd restart
    CENTREON ALL = NOPASSWD: /etc/init.d/centreontrapd reload
    CENTREON ALL = NOPASSWD: /etc/init.d/centreontrapd stop
    CENTREON ALL = NOPASSWD: /etc/init.d/centreontrapd start
    CENTREON ALL = NOPASSWD: /etc/init.d/centengine restart
    CENTREON ALL = NOPASSWD: /etc/init.d/centengine start
    CENTREON ALL = NOPASSWD: /etc/init.d/centengine stop
    CENTREON ALL = NOPASSWD: /etc/init.d/centengine reload
    CENTREON ALL = NOPASSWD: /usr/sbin/centengine -v *
    CENTREON ALL = NOPASSWD: /etc/init.d/cbd restart
    CENTREON ALL = NOPASSWD: /etc/init.d/cbd reload
    CENTREON ALL = NOPASSWD: /etc/init.d/cbd start
    CENTREON ALL = NOPASSWD: /etc/init.d/cbd stop
    CENTREON ALL = NOPASSWD: /bin/systemctl restart cbd
    CENTREON ALL = NOPASSWD: /bin/systemctl reload cbd
    CENTREON ALL = NOPASSWD: /bin/systemctl start cbd
    CENTREON ALL = NOPASSWD: /bin/systemctl stop cbd
    CENTREON ALL = NOPASSWD: /bin/systemctl restart centengine
    CENTREON ALL = NOPASSWD: /bin/systemctl reload centengine
    CENTREON ALL = NOPASSWD: /bin/systemctl start centengine
    CENTREON ALL = NOPASSWD: /bin/systemctl stop centengine
    ________________________________________
    CentOS 5.5 x64 / Nagios 3.2.2 / Centreon 2.1.10
    Monitoring: 467 Hosts / 2109Services 16th Server
    NdoUtils 1.49,NagiosPlugins 1.4.14, NagVis 1.5.1, Distributed Architeture(howto)

    Nagios/Centreon Custom Scripts / Troubleshooting
    www.felipeferreira.net

    Comment

    Working...
    X