Announcement

Collapse
No announcement yet.

How to automatic start Centreontrapd on boot ?

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

  • How to automatic start Centreontrapd on boot ?

    Hello,

    When I boot my centreon 2.7.2 the centreontrapd daemon doesn't start automatically.

    I should do : Configuration>SNMP Traps>Generate>Send signal-->Restart and Generate.

    I found a solution, but I think there's more simple, right ? What is the best practice ?

    My solution :

    cd /etc/rc.d/rc6.d/
    ln -s ../init.d/centreontrapd K30centreontrapd
    cd /etc/rc.d/rc5.d/
    ln -s ../init.d/centreontrapd S70centreontrapd
    cd /etc/rc.d/rc3.d/
    ln -s ../init.d/centreontrapd S70centreontrapd
    cd /etc/rc.d/rc2.d/
    ln -s ../init.d/centreontrapd S70centreontrapd
    cd /etc/rc.d/rc4.d/
    ln -s ../init.d/centreontrapd S70centreontrapd
    cd /etc/rc.d/rc1.d/
    ln -s ../init.d/centreontrapd K30centreontrapd
    cd /etc/rc.d/rc0.d/
    ln -s ../init.d/centreontrapd K30centreontrapd

    Thank you very much

  • #2
    Je me répond à moi même, il est plus simple et plus pro de faire ça : chkconfig --level 2345 centreontrapd on

    Comment

    Working...
    X