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:
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>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140901/344bde82/attachment-0001.html>
------------------------------
Message: 2
Date: Sun, 31 Aug 2014 14:45:07 -0600
From: Tristan Rhodes <tristanrhodes@weber.edu>
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Email setup in Config.php
Message-ID:
<CALeA1neVYAV5__MyXo+VutpAZ-cANmT7wykXKMQpqBeyWtosPQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
My best guess is that you have not un-commented this field:
// Enable alerter
$config['poller-wrapper']['alerter'] = TRUE;
Do you think that is it?
Tristan
*Tristan Rhodes*
Network Engineer
Weber State University
801.626.8549
On Sun, Aug 31, 2014 at 2:32 PM, matthew waterman <mwaterman1982@gmail.com>
wrote:
> 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
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140831/d8535313/attachment-0001.html>
------------------------------
Message: 3
Date: Sun, 31 Aug 2014 23:18:16 +0000
From: Nathan Phelan <nathan@interconnekt.com.au>
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Email setup in Config.php
Message-ID:
<EBE9CB0906844B4C97AC2820943D16B97BF0D1AF@ic-pra-wsv-03.interconnekt.local>
Content-Type: text/plain; charset="utf-8"
Hi Guys,
It could also be the cron entry needs to be updated to use the poller-wrapper instead of calling the poller directly.
Check the cron section of the installation relevant to your platform (http://www.observium.org/wiki/Installation)
Cheers,
Nathan
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tristan Rhodes
Sent: Monday, 1 September 2014 6:45 AM
To: Observium Network Observation System
Subject: Re: [Observium] Email setup in Config.php
My best guess is that you have not un-commented this field:
// Enable alerter
$config['poller-wrapper']['alerter'] = TRUE;
Do you think that is it?
Tristan
Tristan Rhodes
Network Engineer
Weber State University
801.626.8549
On Sun, Aug 31, 2014 at 2:32 PM, matthew waterman <mwaterman1982@gmail.com<mailto:mwaterman1982@gmail.com>> wrote:
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
_______________________________________________
observium mailing list
observium@observium.org<mailto:observium@observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140831/7c39c9a6/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
------------------------------
End of observium Digest, Vol 50, Issue 1
****************************************