Hello

 

Thx for the link, but how to match all the interfaces on a cisco devices?

 

David

 

De : observium [mailto:observium-bounces@observium.org] De la part de Bruce Reeves
Envoyé : mardi 16 septembre 2014 17:16
À : Observium Network Observation System
Objet : Re: [Observium] Problem with the Mail Alerting

 

I had to get some help there as well, then I realized that in the wiki is a list of metrics and attributes.

 

http://www.observium.org/wiki/Alerting_Metrics_and_Attributes#Device

 

So for bgp you might monitor the bgpPeerState

 

Bruce

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of SCHEIN David
Sent: Tuesday, September 16, 2014 9:57 AM
To: Observium Network Observation System
Subject: Re: [Observium] Problem with the Mail Alerting

 

I configured a checker for the device but I don’t know how to configure for the interface, and I cannot imagine for the BGP session -.-

 

Best regards

 

David

 

De : observium [mailto:observium-bounces@observium.org] De la part de Bruce Reeves
Envoyé : mardi 16 septembre 2014 16:32
À : Observium Network Observation System
Objet : Re: [Observium] Problem with the Mail Alerting

 

I had trouble finding this too based on the wiki then stumbled upon it. In the menu with the globe icon, you will find alert checks and you can configure what to watch for. Then per device you can configure where to send alerts, if you want to override the snmp contact.

 

Bruce

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of SCHEIN David
Sent: Tuesday, September 16, 2014 7:58 AM
To: Observium Network Observation System
Subject: Re: [Observium] Problem with the Mail Alerting

 

Hello,

 

Thanks for your answer, where I can find a tutorial to configure the checker, because the wiki is not clear for me.

And in the earlier version the mail alert was automatical, why this feature was abandoned.

 

Best regards

 

David

 

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

 

David,

You need to create alert checkers to receive e-mail alerts.

Tom

On 09/12/2014 02:08 PM, SCHEIN David wrote:

 

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

 

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium