Yes sir.

 

mail -s "Test Subject" ldano@qualcomm.com < /dev/null

 

log entry

 

 

Jul 20 11:16:47 ecobu-observium postfix/cleanup[13520]: 2C40E22FF: message-id=<34f2baa680c3d522cf18e9d2e4c7cf6c@ecobu-observium.qualcomm.com>

Jul 20 11:16:47 ecobu-observium postfix/qmgr[2033]: 2C40E22FF: from=<root@ecobu-observium.qualcomm.com>, size=3534, nrcpt=1 (queue active)

Jul 20 11:16:47 ecobu-observium postfix/smtp[13522]: 2C40E22FF: to=<ldano@qualcomm.com>, relay=smtphost.qualcomm.com[10.80.80.239]:25, delay=0.12, delays=0.01/0/0.03/0.07, dsn=2.0.0, status=sent (250 ok:  Message 1185557651 accepted)

Jul 20 11:16:47 ecobu-observium postfix/qmgr[2033]: 2C40E22FF: removed

 

Thanks,
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, July 20, 2016 11:11 AM
To: observium@observium.org
Subject: Re: [Observium] Adding users for alerts?

 

The "non-emailing" host successfully sent a test message?

 

adam.

 

Sent from Mailbird

On 20/07/2016 18:57:20, Dano, Leo <ldano@qualcomm.com> wrote:

Contacts on both hosts attached.  The configs are exactly the same.

 

Config.php on non-emailing host

 

<?php

 

## Check http://www.observium.org/docs/config_options/ for documentation of possible settings

 

// Database config ---  This MUST be configured

 

$config['db_extension'] = 'mysqli';

$config['db_host']      = 'localhost';

$config['db_user']      = 'root';

$config['db_pass']      = 'xxxxxx';

$config['db_name']      = 'observium';

 

// Base directory

 

#$config['install_dir'] = "/opt/observium";

 

// Default community list to use when adding/discovering

 

$config['snmp']['community'] = array("public");

 

//excluding /usr/vice/cache

 

$config['ignore_mount_string'][] = '/usr/vice/cache';

 

// Authentication Model

 

//$config['auth_mechanism'] = "mysql";    // default, other options: ldap, http-auth, please see documentation for config help

 

$config['auth_mechanism'] = 'ldap';

 

ldap info omitted

 

// Enable alerter (not available in CE)

$config['poller-wrapper']['alerter'] = TRUE;

 

// Set up a default alerter (email to a single address)

// $config['email']['default']        = "ldano@qualcomm.com";

// $config['email']['from']           = "EcoBU Observium ldano@qualcomm.com";

// $config['email']['default_only']   = TRUE;

 

// End config.php

 

Thanks,
-----------------------
Leo Dano


 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, July 20, 2016 10:42 AM
To: observium@observium.org
Subject: Re: [Observium] Adding users for alerts?

 

The answer lies in the information you're refusing to give, despite being asked for it.

 

There's nothing else I can do.

 

adam.

 

Sent from Mailbird

On 20/07/2016 18:09:44, Dano, Leo <ldano@qualcomm.com> wrote:

It’s def in Observium.  I even rebuilt it from scratch (non subscription) using Ubuntu 14 as I have my community install on.  I can send a test email from the server without issue.

 

Not much to show on contacts.  It’s my name and email address, exact set up on my community setup.  config same same.

 

Logs aren’t showing anything, except the successful send from the test email message using command line.

 

Thanks,
-----------------------
Leo Dano



 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, July 19, 2016 11:28 AM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

LDAP code isn't even executed during alerting :)

Could you post both configs and screenshots of the contact setups?

Adam.

Sent from BlueMail

On 19 Jul 2016, at 18:20, "Dano, Leo" <ldano@qualcomm.com> wrote:

Ok, did a test.  Both Community and Subscription version running ldap.

 

Alerts work perfect and get sent to the person in contacts, me.  In the “Community” Version

 

Same exact config.php in the “Subscription” version and I get no email alerts.  Same set up for contacts.

 

I commented out the last few lines to send to only contacts.

 

// Enable alerter (not available in CE)

$config['poller-wrapper']['alerter'] = TRUE;

 

// Set up a default alerter (email to a single address)

// $config['email']['default']        = "ldano@qualcomm.com";

// $config['email']['from']           = "EcoBU Observium ldano@qualcomm.com";

// $config['email']['default_only']   = FALSE;

 

Not sure where to go from here, but it’s now obvious it’s an issue on the Subscription version using ldap.

 

Thanks,
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dano, Leo
Sent: Monday, July 18, 2016 12:21 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

Verified smtp is working by sending a command line test email to myself.

 

This stopped sending email alerts exactly (exact time) when I went to ldap.  Any thoughts on where to look?

 

Thanks,
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dano, Leo
Sent: Monday, July 18, 2016 10:38 AM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

I shut down one of my test hosts that is in Observium and no email went out. 

 

Thanks,
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dano, Leo
Sent: Monday, July 18, 2016 10:19 AM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

Spoke too soon.  You have to click the email address, then the alert choice show in a drop down.

 

Thanks again!
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dano, Leo
Sent: Monday, July 18, 2016 10:18 AM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

Hi Joseph,

 

I have a single user already and there is no way to click the user (email) to edit, just a trash can to delete.

 

Thanks,
-----------------------
Leo Dano

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Joseph Zancocchio
Sent: Monday, July 18, 2016 10:00 AM
To: observium@observium.org
Subject: Re: [Observium] Adding users for alerts?

 

Sorry about that, its actually your.install.com/contacts/.

Also, if you don't have any contacts created yet, you will have to first add one, naturally.  Email contacts are straight-forward, the others you may need to look on the mailing list or on the online documentation.

On 07/18/2016 12:56 PM, Joseph Zancocchio wrote:

From your.install.com/contact, click on the user in question, and then you will see a box to associate them to any alert(s) you've created.

On 07/18/2016 12:51 PM, Dano, Leo wrote:

Hello all,

 

Is there any way to add multiple users to receive the alerts?  Right now, in the config.php it sends all alerts to myself.  Is there a way to add users via the webpage?  I am using ldap auth.

 

Thanks,
-----------------------
Leo Dano

 

 

_______________________________________________
    
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