![](https://secure.gravatar.com/avatar/81a860a69ef1a0feb4f21bf9bdfa82bd.jpg?s=120&d=mm&r=g)
ok great,
I will get a few basic alerters programmed and await an update at some stage with further examples. I will update tommorrow if the alerts have been successful. I like the send recovery toggle - sometimes the little hamster would go ape for up to 20 emails with a missed SNMP down. Glad to send the end of that.
Matt
On 1 September 2014 20:34, 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:
- Re: observium Digest, Vol 50, Issue 3 (Tom Laermans)
Message: 1 Date: Mon, 01 Sep 2014 10:32:27 +0200 From: Tom Laermans tom.laermans@powersource.cx To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] observium Digest, Vol 50, Issue 3 Message-ID: 54042F1B.8060804@powersource.cx Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Hi Matt,
Yes, the legacy alerters have been removed as they did not work very well. The new alerting system is a lot better.
I was planning to create example alerts to replicate the old ones, but I haven't gotten around to that unfortunately.
For example, device rebooted:
- Entity type: device
- Alert conditions: device_uptime < 300
- Entity match: *
- Device match: *
- Turn off "Send recovery" so you don't get a recovery mail after 5
minutes.
Tom
On 09/01/2014 10:25 AM, matthew waterman wrote:
hmmm,
I think I am beginning to see the error in my ways perhaps,
I do not have any Alert-checkers.....
I have never had to add them or go near them as the version I was originally running just simply emailed me with Device down, device up, device rebooted, or if I wanted it to - port down etc
So the new version will not do this by default? Do I need to created alert checkers for all my devices?
matt
On 1 September 2014 19:53, <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. Re: observium Digest, Vol 50, Issue 1 (Tom Laermans)
Message: 1 Date: Mon, 01 Sep 2014 09:52:26 +0200 From: Tom Laermans <tom.laermans@powersource.cx <mailto:tom.laermans@powersource.cx>> To: Observium Network Observation System <observium@observium.org <mailto:observium@observium.org>> Subject: Re: [Observium] observium Digest, Vol 50, Issue 1 Message-ID: <540425BA.6050808@powersource.cx <mailto:540425BA.6050808@powersource.cx>> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" 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> > <mailto:observium-request@observium.org <mailto:observium-request@observium.org>>> wrote: > > Send observium mailing list submissions to > observium@observium.org <mailto:observium@observium.org> <mailto: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> > <mailto: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> <mailto: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> > <mailto:mwaterman1982@gmail.com <mailto:mwaterman1982@gmail.com>>> > To: observium@observium.org <mailto:observium@observium.org> <mailto: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>
<mailto:
ffcjUmV--G_kqRpXMK%2BugBQ6OB2eK%2B6dEsqza4mteHZx4Q@mail.gmail.com
<mailto:
ffcjUmV--G_kqRpXMK%252BugBQ6OB2eK%252B6dEsqza4mteHZx4Q@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> > <mailto:myemail@domain.co.nz <mailto:myemail@domain.co.nz>>"; > $config['alerts']['email']['from'] = "observium.dev < > myeamil@domain.co.nz <mailto:myeamil@domain.co.nz> <mailto: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 >