
All,
I have done some digging around and see in the database that the table alert_table-state stays empty, is this normal ?
With each run of a alert check would there be not an update of lasted_checked ?
Thanks
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 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? _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium