Announcement

Collapse
No announcement yet.

Preventing spike alerts

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

  • Preventing spike alerts

    Hi all - we have Oreon setup and running nicely - we even have 12 monitors on the wall of our section of the office to spit out errors, and sports scores when everything is fine

    One thing I have noticed is that we get a lot of spike alerts. For example, a machine may be processing a query and CPU is running at 99% for 5 seconds, but Oreon will show this alert. I'd like to restrict it to something like 'if there are 3 critical or warning alerts in a row, change the status to warning / critical'. Any advice?

  • #2
    nagios max_check_attempt value or something like that, should help you, i guess.
    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


    • #3
      Thanks DonKiShoot - but my understanding of max_check_attempts is that after the number in max_check_attempts Nagios will stop throwing errors. Anyone?

      Comment


      • #4
        Hi kolchak!

        I think DonKiShoot is in the right way. max_check_attempts is the number of retries tha Nagios would perform before it decides it's a real problem. We're using it very hard in our systems, and very tuned for all our +600 services.

        Hope it helps!

        cih
        [Linux 2.4.20-28.7 - RedHat 7.2]
        [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
        [Apache 1.3.x, PHP 5.x, MySQL 5.x]
        [Apache 2.2.x, PHP 5.x, MySQL 5.x]
        [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

        Comment


        • #5
          no it's the max number of bad result before send alert (to pass state soft in hard)
          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


          • #6
            Exactly that DonKiShoot, I tried to express that, but it seems i did it in the wrong way ;P
            [Linux 2.4.20-28.7 - RedHat 7.2]
            [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
            [Apache 1.3.x, PHP 5.x, MySQL 5.x]
            [Apache 2.2.x, PHP 5.x, MySQL 5.x]
            [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

            Comment


            • #7
              Originally posted by cih
              Exactly that DonKiShoot, I tried to express that, but it seems i did it in the wrong way ;P
              Oups !!! we reply to him in the same time :lol:
              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

              Working...
              X