‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT # you can disable an alarm notification by setting the 'to' line to: silent # Calculate the base trigger point for the load average alarms. # This is the maximum number of CPU's in the system over the past 1 # minute, with a special case for a single CPU of setting the trigger at 2. alarm: load_cpu_number on: system.load class: Utilization type: System component: Load host labels: _os=linux calc: ($active_processors == nan or $active_processors == 0) ? (nan) : ( ($active_processors < 2) ? ( 2 ) : ( $active_processors ) ) units: cpus every: 1m info: Number of active CPU cores in the system # Send alarms if the load average is unusually high. # These intentionally _do not_ calculate the average over the sampled # time period because the values being checked already are averages. alarm: load_average_15 on: system.load class: Utilization type: System component: Load host labels: _os=linux lookup: max -1m unaligned of load15 calc: ($load_cpu_number == nan) ? (nan) : ($this) units: load every: 1m # Warning kalau load 15 menit tembus 300% dari jumlah CPU warn: ($this * 100 / $load_cpu_number) > (($status >= $WARNING) ? 60 : 300) delay: down 5m multiplier 1.2 max 1h # --- INI DIA MAS: Bawel tiap 15 menit --- repeat: warning 15m critical 15m summary: System load average (15 minutes) on ${label:host} info: Load 15 Menit tinggi banget (${value}). Server megap-megap, Mas Noc/root! to: sysadmin alarm: load_average_5 on: system.load class: Utilization type: System component: Load host labels: _os=linux lookup: max -1m unaligned of load5 calc: ($load_cpu_number == nan) ? (nan) : ($this) units: load every: 1m warn: ($this * 100 / $load_cpu_number) > (($status >= $WARNING) ? 350 : 400) delay: down 15m multiplier 1.5 max 1h summary: System load average (5 minutes) info: System load average for the past 5 minutes to: silent alarm: load_average_1 on: system.load class: Utilization type: System component: Load host labels: _os=linux lookup: max -1m unaligned of load1 calc: ($load_cpu_number == nan) ? (nan) : ($this) units: load every: 1m warn: ($this * 100 / $load_cpu_number) > (($status >= $WARNING) ? 700 : 800) delay: down 15m multiplier 1.5 max 1h summary: System load average (1 minute) info: System load average for the past 1 minute to: silent