Ok, upgraded to the subscription version and as I said, it overwrote those files I altered.  Did some debugging and found where it gets sourced

 

It was the php.ini I n this path /etc/php5/cli/

 

Added the include path and now it’s functioning fine.

;;;;;;;;;;;;;;;;;;;;;;;;;

; Paths and Directories ;

;;;;;;;;;;;;;;;;;;;;;;;;;

 

; UNIX: "/path1:/path2"

 

include_path=".:/usr/share/php/"

 

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

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, July 20, 2016 1:45 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

If you get that error, you did something erroneous. It's simply not realistically possible that you are the first person to have encountered this show-stopping bug.

We have a user-base measured in tens of thousands.

If you have subscription access, don't even bother with CE, it's so ancient no one remembers how it works, and its certainly not worth messing around with bugs that were fixed many months ago.

If you get php include errors with the subscription edition (because CE is too old to waste thought on), it's definitely because of a user error somewhere. Our subscription userbase are very, very quick at finding and reporting bugs... ;)

If this is a clean install, you should be installing on the latest version of your chosen OS, probably Ubuntu 16.04. Support for mysql/php/rrd in older versions will at some point be deprecated and removed. (There are lots of cool things in new rrdtool that we *need*)

Adam.

Sent from BlueMail

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

Apparently.  I followed the posted instructions.  At some point I got that error and had to fix it in order to move forward.  My question is where does Observium reference that pear path?

 

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

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, July 20, 2016 1:25 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Adding users for alerts?

 

If you needed to do any of that, you had broken something.

Adam.

Sent from BlueMail

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

test alert script was fine and I got the email, but it was after I set the full path to pear in the complaining files.

 

require_once '/usr/share/php/PEAR.php';

 

What file is this being referenced?  php.ini?  I have a feeling that this is my issue.

 

I am not getting alerts, but I know when this Observium gets upgraded, it will break again.

 

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

 

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

 

I mean with test_alert.php.

 

adam.

 

Sent from Mailbird

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

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
                 
              
                 
 
    
    


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