Announcement

Collapse
No announcement yet.

Autostart at boot level

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    Araman Amru
    Junior Member

  • Araman Amru
    replied
    Thanks!

    Thanks DonKiShoot...

    I manage to get ODS to start at boot level..
    But if my server crash... ods.pid need to be deleted before ODS can be started.
    So, it shows [FAILED] on ODS startup.

    Haven't find the way to put "perfparsed -d" at startup yet..
    Have to include "rm -f perfdata-service.log" as mentioned in Danial Sloan's doc's.

    Thanks..

    Leave a comment:

  • DonKiShoot
    Senior Member

  • DonKiShoot
    replied
    centos is like redhat, something like "chkconfig --add oreon" should do it ;-)

    Leave a comment:

  • Araman Amru
    Junior Member

  • Araman Amru
    replied
    Thank you Sir

    Will do the search and try to implement it..
    I will give the answer as soon as I get it..

    Thanks

    Rgds
    ARaman

    Leave a comment:


  • WAtt
    replied
    Check this link

    http://66.102.9.104/search?q=cache:P...ient=firefox-a

    If you resolve this, please write solution on wiki

    Leave a comment:

  • Araman Amru
    Junior Member

  • Araman Amru
    replied
    Thanks...

    Thanks Watt..

    But.. I'm using CentOS...
    I've tried all of the steps for ods.. but not all can be applied..

    Sorry...

    Leave a comment:


  • WAtt
    replied
    http://wiki.oreon-project.org/index....tallOdsService ??

    Leave a comment:

  • Araman Amru
    Junior Member

  • Araman Amru
    started a topic Autostart at boot level

    Autostart at boot level

    Hi all

    I'm not expert in linux automation.
    But would appreciate if somebody can help me on this.

    I keep doing this everytime I restart my nagios linux box.

    (From Danial Slone's docs)
    1) sudo /etc/init.d/nagios stop (stop nagios ... It autostarted when linux boot)
    2) rm -f /usr/local/nagios/var/perfdata-service.log
    3) sudo -u nagios /usr/local/nagios/bin/perfparsed -d
    4) sudo /etc/init.d/nagios start
    (from Oreon wiki Graph : Run ODS deamon)
    5) /etc/init.d/ods start
    (or I have to rm -f ods.pid first)

    Anybody can teach how to autostart all this at boot time?

    Thanks...
    Araman.
Working...
X