
Patrick,
Also ask your question on IRC, there's usually a dev or 2 there as well.
On 2015-03-23 23:53, Patrick Marquetecken wrote:
anyone over there with some ideas, a monitoring program without alert is not really usefull :-(
Patrick Marquetecken schreef op 23/03/15 om 15:23:
Joseph,
I have done a tcpdump on the observium server, and when sending out test mail I see traffic towards my mailserver . Running php ./alerter.php -h proxy-01 -sddm does nog generate anytraffic
So for some reason there are no alerts generated, or at least mails send out.
Joseph L. Brunner schreef op 23/03/15 om 15:08:
Sure your smtp server sends otherwise in the config.php?
We had some issues with that being our problem in the early days last year of switching to observium
FROM: observium [mailto:observium-bounces@observium.org] ON BEHALF OF Patrick Marquetecken SENT: Monday, March 23, 2015 9:57 AM TO: observium@observium.org SUBJECT: Re: [Observium] Alerts not working
Hi Joseph,
Linux snmp service is enabled on all servers
I have change the threshold to 10% ->(harde schijf 70%)
The regenerate page shows:
BUILDING ALERTS FOR DEVICE PROXY-01:
CHECKERS MATCHING THIS DEVICE:
MACHINE DOWN HIGH CPU PROBLEEM HARDE SCHIJF 70% ALGEMENE ERROR TRAFFIC EXCEEDS 85% MEMORY USAGE IS ABOVE 70%
MATCHING ENTITIES:
PROXY-01 MACHINE DOWN COMMON KVM PROCESSOR HIGH CPU COMMON KVM PROCESSOR HIGH CPU AVERAGE HIGH CPU / HARDE SCHIJF 70% /DEV/SHM HARDE SCHIJF 70% /BOOT HARDE SCHIJF 70% ETH0 TRAFFIC EXCEEDS 85% PHYSICAL MEMORY MEMORY USAGE IS ABOVE 70% VIRTUAL MEMORY MEMORY USAGE IS ABOVE 70% MEMORY BUFFERS MEMORY USAGE IS ABOVE 70% CACHED MEMORY MEMORY USAGE IS ABOVE 70% SWAP SPACE MEMORY USAGE IS ABOVE 70%
CHECKING FOR STALE ENTRIES:
The test
php ./alerter.php -h proxy-01 -sddm DEBUG! Observium 0.15.3.6343 Alerter
Starting alerter run:
SQL[SELECT * FROM `alert_tests` WHERE 1] ROWS[7] RUNTIME[0.00220299s] Cached 7 alert rules.
SQL[SELECT * FROM `alert_assoc`] ROWS[7] RUNTIME[0.00097108s]
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'proxy-01' ORDER BY `device_id` ASC] ROWS[1] RUNTIME[0.00099182s]
SQL[SELECT * FROM `devices` WHERE `device_id` = '8'] ROWS[1] RUNTIME[0.00130296s] Processing alerts for proxy-01
SQL[SELECT *,`alert_table`.`alert_table_id` AS `alert_table_id` FROM `alert_table` LEFT JOIN `alert_table-state` ON `alert_table`.`alert_table_id` = `alert_table-state`.`alert_table_id` WHERE `device_id` = '8'] ROWS[0] RUNTIME[0.00115013s]
SQL[SELECT * FROM `alert_table` LEFT JOIN `alert_table-state` ON `alert_table`.`alert_table_id` = `alert_table-state`.`alert_table_id` WHERE `device_id` = '8' AND `alert_status` IS NOT NULL;] ROWS[0] RUNTIME[0.00107503s]
Joseph L. Brunner schreef op 23/03/15 om 14:40:
Have you enabled windows snmp services / linux snmp services?
How have you checked?
I followed those exact ones - and it worked for me
You can set a threshold like 20 so all disks will fire right away for testing
Have you confirmed on the regenerate page the alert was linked to your machine?
-----Original Message-----
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Patrick Marquetecken
Sent: Monday, March 23, 2015 9:35 AM
To: Observium Network Observation System
Subject: [Observium] Alerts not working
I'm trying to get my alerts working but until now without success.
I have put a server down, and i know some systems have a disk that is full about 80%
I have followed the http://www.observium.org/wiki/Creating_an_Alert_Checker [1]
and created some alert according to the examples, and run the regenerate.
Test mails are successfully send from the command line.
but no luck, can anyone please advice on this matter?