You have set interval to 500, which will re-alert every 500 seconds.
Mystery solved!
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.comOn 23 September 2015 23:04:36 Andrew Plas <andrewp.plas@gmail.com> wrote:
I am actually seeing this exact thing on my production server- the same alert being sent every 5 minutes when the device is polled, persisting until the situation is resolved and the recovery message comes through. The database updates have been completing without errors, running version 7024.
I am NOT seeing this on my dev server, however. A single alert is sent when an alert checker fails, and a recovery message follows when it was corrected. No problems here.While dev is currently at version 7035, I recall seeing the same when they were both at latest. My best guess is that it has something to do with configuration for the old alerting system- my prod server has been running for a couple years and simply updated, while the dev is a fairly recent build.
Below are the 'alerts' and 'email' sections of my prod's config.php file. The default address was disabled after switching to the contact system.
Thank you!
// Set up a default alerter (email to a single address)//$config['email']['default'] = "noc@netgainhosting.$$config['alerts']['email']['from'] = "observium@netgainhosting.com";$config['email']['default_only'] = TRUE;$config['email']['enable'] = TRUE; // Disables OLD alerting sy$$config['alerts']['interval'] = 500;//$config['alerts']['interval'] = 86400;
// Mailer backend Settings$config['web_url'] = "https://observium.services.local/";$config['email']['backend'] = 'smtp'; // Mail backend. $$config['email']['from'] = "observium@netgainhosting.com"; $$config['email']['sendmail_path'] = '/usr/sbin/sendmail'; // The location o$$config['email']['smtp_host'] = '10.77.71.1'; // Outgoing SMTP$$config['email']['smtp_port'] = 25; // The port to co$$config['email']['smtp_timeout'] = 10; // SMTP connectio$$config['email_smtp_secure'] = NULL; // Enable encrypt$$config['email']['smtp_auth'] = FALSE; // Whether or not$$config['email_smtp_username'] = NULL; // SMTP username.$config['email_smtp_password'] = NULL; // Password for S$
$config['email']['graphs'] = FALSE; // Remove graphs in emailed alerts
_______________________________________________
On Wed, Sep 23, 2015 at 2:07 PM, Adam Armstrong <adama@memetic.org> wrote:
Hi Ondrej,
You certainly shouldn't bet getting notification for the same alert every 5 minutes.
Have you correctly run the database updates? (./discovery.php -u)
Thanks,adam.On 23/09/2015 21:13:35, Ondrej Beran <ob@nix.cz> wrote:
Hello,
today I have updated version 6531 to 7038 and I still receive the same
alert notification every 5 minute. Is it possible to change this
notification to receive this alert only once when the service is down
and than when it is renewed, not repeatedly ?
defaults.inc.php
$config['alerts']['interval'] = '31536000'; // How
frequently to re-send a notification for a continuing alert condition
// In
seconds. Default is 1 day.
Thank you
Ondrej
_______________________________________________
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
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