Announcement

Collapse
No announcement yet.

Autostart at boot level

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

  • 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.

  • #2
    http://wiki.oreon-project.org/index....tallOdsService ??
    Centreon 2.x

    Comment


    • #3
      Thanks...

      Thanks Watt..

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

      Sorry...

      Comment


      • #4
        Check this link

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

        If you resolve this, please write solution on wiki
        Centreon 2.x

        Comment


        • #5
          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

          Comment


          • #6
            centos is like redhat, something like "chkconfig --add oreon" should do it ;-)
            Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
            Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
            Fedora Core 5 - 2.6.20-1.2320

            Comment


            • #7
              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..

              Comment

              Working...
              X