Re: [Observium] observium Digest, Vol 50, Issue 1
![](https://secure.gravatar.com/avatar/81a860a69ef1a0feb4f21bf9bdfa82bd.jpg?s=120&d=mm&r=g)
Thanks for your replies,
I have un commented the line "$config['poller-wrapper']['alerter'] = TRUE;" , and also confirmed that I have the correct cron job configured. I then gave the VM a reboot as It is one of the devices that I observe. Unfortunalty i did not receive an email alert, so I reboot another device for a full 5 minutes so I should have received 1 x email alert for device down and 1 x reboot alert. I did not receive either. Is there a way I can monitor/watch the email being sent or processed to confirm that it is indeed happening?
Matt
On 1 September 2014 11:20, observium-request@observium.org wrote:
Send observium mailing list submissions to observium@observium.org
To subscribe or unsubscribe via the World Wide Web, visit http://postman.memetic.org/cgi-bin/mailman/listinfo/observium or, via email, send a message with subject or body 'help' to observium-request@observium.org
You can reach the person managing the list at observium-owner@observium.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of observium digest..."
Today's Topics:
- Email setup in Config.php (matthew waterman)
- Re: Email setup in Config.php (Tristan Rhodes)
- Re: Email setup in Config.php (Nathan Phelan)
Message: 1 Date: Mon, 1 Sep 2014 08:32:15 +1200 From: matthew waterman mwaterman1982@gmail.com To: observium@observium.org Subject: [Observium] Email setup in Config.php Message-ID: <CAMq= ffcjUmV--G_kqRpXMK+ugBQ6OB2eK+6dEsqza4mteHZx4Q@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hi,
I have been using Observium for about 1 year successfully and recently, approximately 3mth ago, I subscribed to the paid version, upgraded via SVN and copied my config.php. I do not have working email alerts at the moment and would like to know what needs to be changed to get this working again. Below is a print of my config.php file. Please advise me as to what needs to be changed to get email working again.
Config.php:
<?php
## Have a look in includes/defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!
// Database config $config['db_host'] = "localhost"; $config['db_user'] = "myuesrname"; $config['db_pass'] = "mypassword"; $config['db_name'] = "observium";
// Location $config['install_dir'] = "/opt/observium";
// Thie should *only* be set if you want to *force* a particular hostname/port // It will prevent the web interface being usable form any other hostname #$config['base_url'] = "http://observium.company.com";
// Default community list to use when adding/discovering $config['snmp']['community'] = array("public");
// Authentication Model $config['auth_mechanism'] = "mysql"; // default, other options: ldap, http-auth, please see documentation for config help
// Enable alerter // $config['poller-wrapper']['alerter'] = TRUE;
// Set up a default alerter (email to a single address)
// SNMP Settings $config['snmp']['timeout'] = 1000; # timeout in ms $config['snmp']['retries'] = 6; # how many times to retry the query
//Ping Settings $config['ping']['timeout'] = 2000; # timeout in ms $config['ping']['retries'] = 10; # how many times to retry the query
//Alert Settings $config['alerts']['email']['default'] = "myemail@domain.co.nz"; $config['alerts']['email']['from'] = "observium.dev < myeamil@domain.co.nz>"; $config['alerts']['email']['default_only'] = TRUE; $config['alerts']['email']['enable'] = FALSE; $config['uptime_warning'] = "14400"; ## Time to display reboot warning //Poller and Discovery Modules
//Syslog settings $config['enable_syslog'] = 1; $config['syslog_filter'] = array("last message repeated", "Connection from UDP: [", "ipSystemStatsTable node ipSystemStatsOutFragOKs not implemented", "diskio.c: don't know how to handle"); ## Ignore some crappy stuff from SNMP daemon
//Geocoding Configuration
// End config.php
*Observium*0.14.8.5763 *Apache*2.2.22 (Ubuntu) *PHP*5.3.10-1ubuntu3.13 *MySQL*5.5.38-0ubuntu0.12.04.1 *SNMP*NET-SNMP version: 5.4.3 *RRDtool*1.4.7
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi,
Please share your alert checker configuration (screenshot) so we can see if those are alright, first.
Tom
On 01/09/2014 09:46, matthew waterman wrote:
Thanks for your replies,
I have un commented the line "$config['poller-wrapper']['alerter'] = TRUE;" , and also confirmed that I have the correct cron job configured. I then gave the VM a reboot as It is one of the devices that I observe. Unfortunalty i did not receive an email alert, so I reboot another device for a full 5 minutes so I should have received 1 x email alert for device down and 1 x reboot alert. I did not receive either. Is there a way I can monitor/watch the email being sent or processed to confirm that it is indeed happening?
Matt
On 1 September 2014 11:20, <observium-request@observium.org mailto:observium-request@observium.org> wrote:
Send observium mailing list submissions to observium@observium.org <mailto:observium@observium.org> To subscribe or unsubscribe via the World Wide Web, visit http://postman.memetic.org/cgi-bin/mailman/listinfo/observium or, via email, send a message with subject or body 'help' to observium-request@observium.org <mailto:observium-request@observium.org> You can reach the person managing the list at observium-owner@observium.org <mailto:observium-owner@observium.org> When replying, please edit your Subject line so it is more specific than "Re: Contents of observium digest..." Today's Topics: 1. Email setup in Config.php (matthew waterman) 2. Re: Email setup in Config.php (Tristan Rhodes) 3. Re: Email setup in Config.php (Nathan Phelan) ---------------------------------------------------------------------- Message: 1 Date: Mon, 1 Sep 2014 08:32:15 +1200 From: matthew waterman <mwaterman1982@gmail.com <mailto:mwaterman1982@gmail.com>> To: observium@observium.org <mailto:observium@observium.org> Subject: [Observium] Email setup in Config.php Message-ID: <CAMq=ffcjUmV--G_kqRpXMK+ugBQ6OB2eK+6dEsqza4mteHZx4Q@mail.gmail.com <mailto:ffcjUmV--G_kqRpXMK%2BugBQ6OB2eK%2B6dEsqza4mteHZx4Q@mail.gmail.com>> Content-Type: text/plain; charset="utf-8" Hi, I have been using Observium for about 1 year successfully and recently, approximately 3mth ago, I subscribed to the paid version, upgraded via SVN and copied my config.php. I do not have working email alerts at the moment and would like to know what needs to be changed to get this working again. Below is a print of my config.php file. Please advise me as to what needs to be changed to get email working again. Config.php: <?php ## Have a look in includes/defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php! // Database config $config['db_host'] = "localhost"; $config['db_user'] = "myuesrname"; $config['db_pass'] = "mypassword"; $config['db_name'] = "observium"; // Location $config['install_dir'] = "/opt/observium"; // Thie should *only* be set if you want to *force* a particular hostname/port // It will prevent the web interface being usable form any other hostname #$config['base_url'] = "http://observium.company.com"; // Default community list to use when adding/discovering $config['snmp']['community'] = array("public"); // Authentication Model $config['auth_mechanism'] = "mysql"; // default, other options: ldap, http-auth, please see documentation for config help // Enable alerter // $config['poller-wrapper']['alerter'] = TRUE; // Set up a default alerter (email to a single address) // SNMP Settings $config['snmp']['timeout'] = 1000; # timeout in ms $config['snmp']['retries'] = 6; # how many times to retry the query //Ping Settings $config['ping']['timeout'] = 2000; # timeout in ms $config['ping']['retries'] = 10; # how many times to retry the query //Alert Settings $config['alerts']['email']['default'] = "myemail@domain.co.nz <mailto:myemail@domain.co.nz>"; $config['alerts']['email']['from'] = "observium.dev < myeamil@domain.co.nz <mailto:myeamil@domain.co.nz>>"; $config['alerts']['email']['default_only'] = TRUE; $config['alerts']['email']['enable'] = FALSE; $config['uptime_warning'] = "14400"; ## Time to display reboot warning //Poller and Discovery Modules //Syslog settings $config['enable_syslog'] = 1; $config['syslog_filter'] = array("last message repeated", "Connection from UDP: [", "ipSystemStatsTable node ipSystemStatsOutFragOKs not implemented", "diskio.c: don't know how to handle"); ## Ignore some crappy stuff from SNMP daemon //Geocoding Configuration // End config.php *Observium*0.14.8.5763 *Apache*2.2.22 (Ubuntu) *PHP*5.3.10-1ubuntu3.13 *MySQL*5.5.38-0ubuntu0.12.04.1 *SNMP*NET-SNMP version: 5.4.3 *RRDtool*1.4.7
participants (2)
-
matthew waterman
-
Tom Laermans