Hello,

 

First thanks for your rapid answer, the alerts look like activated, like you can see below (I don’t know if picture can be display on this maillinglist

 

 

When in run the alerter.php on a device with an interface down :

 

:/data/observium# php ./alerter.php -h sto-rtr-edge-agarik.seres.lan -d

Observium v0.14.9.5798

Alerter

 

DEBUG!

Starting alerter run:

 

PHP Warning:  readfile(/data/observium/includes/debug/ref.css): failed to open stream: No such file or directory in /data/observium/includes/debug/ref.inc.php on line 2474

PHP Warning:  readfile(/data/observium/includes/debug/ref.js): failed to open stream: No such file or directory in /data/observium/includes/debug/ref.inc.php on line 2482

<!-- ref#0 --><div><style> Warning: readfile(/data/observium/includes/debug/ref.css): failed to open stream: No such file or directory in /data/observium/includes/debug/ref.inc.php on line 2474 </style> <script> Warning: readfile(/data/observium/includes/debug/ref.js): failed to open stream: No such file or directory in /data/observium/includes/debug/ref.inc.php on line 2482 </script><div class="ref"><span data-input><i>&gt; </i><span data-expTxt>$vars</span><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">SELECT * FROM `alert_tests` WHERE 1</span></span><div><span data-row><span data-cell><span data-title>string(35)</span></span></span></div></div></div><!-- /ref#1 -->Cached 0 alert rules.

<!-- ref#1 --><div><div class="ref"><span data-input><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">SELECT * FROM `alert_assoc`</span></span><div><span data-row><span data-cell><span data-title>string(27)</span></span></span></div></div></div><!-- /ref#2 --><!-- ref#2 --><div><div class="ref"><span data-input><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE &#039;sto-rtr-edge-agarik.seres.lan&#039; ORDER BY `device_id` ASC</span></span><div><span data-row><span data-cell><span data-title>string(131)</span></span></span></div></div></div><!-- /ref#3 --><!-- ref#3 --><div><div class="ref"><span data-input><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">SELECT * FROM `devices` WHERE `device_id` = &#039;35&#039;</span></span><div><span data-row><span data-cell><span data-title>string(48)</span></span></span></div></div></div><!-- /ref#4 -->Processing alerts for sto-rtr-edge-agarik.seres.lan

<!-- ref#4 --><div><div class="ref"><span data-input><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">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` =  &#039;35&#039;</span></span><div><span data-row><span data-cell><span data-title>string(212)</span></span></span></div></div></div><!-- /ref#5 --><!-- ref#5 --><div><div class="ref"><span data-input><span data-backtrace>/data/observium/includes/common.inc.php:193</span></span><span data-output><span data-string data-tip="0">SELECT * FROM `alert_table` LEFT JOIN `alert_table-state` ON `alert_table`.`alert_table_id` = `alert_table-state`.`alert_table_id` WHERE `device_id` = &#039;35&#039;</span></span><div><span data-row><span data-cell><span data-title>string(155)</span></span></span></div></div></div><!-- /ref#6 -->

 

 

 

Best regards

 

David

 

 

 

 

De : observium [mailto:observium-bounces@observium.org] De la part de Tom Laermans
Envoyé : vendredi 12 septembre 2014 12:21
À : Observium Network Observation System
Objet : Re: [Observium] Problem with the Mail Alerting

 

On 09/12/2014 11:25 AM, SCHEIN David wrote:

 

I tried different config, but nothing is working and with this config when I do a test, I receive the e-mail in my gmail box, but nothing about port down or bgp session down…

 

If test mail works, your config works. If you don't get alert mails, either there is a problem with the actual alerter or with your checkers. Please show your checkers, and check whether the "alerted" column in the test list has a value or says Never.

Tom