Ah yes.. I totally read uncommented. J

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans
Sent: 23. desember 2015 22:32
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] ATM interfaces not showing on Device Overview

 

That would duplicate the entries instead of removing them from the configuration ;-)

For the right way, see http://www.observium.org/docs/config_options/

Best to read the entire start of the page, but the crux is this:

"

If you don't want this, reinitialize the array:

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

If you want to drop one value from the array (ie you don't want to repeat the entire interfaces ignore list, but you want to remove one particular ignore), use the array_diff function:

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


It's a bit convoluted, we should likely add those things to the actual default initial configuration, giving you an easy way to just remove it, instead of needing to override defaults for that one.

Tom

On 23/12/2015 21:43, Kent Johannessen wrote:

Hi,

 

Add the two lines to your config.php instead. Don’t edit defaults.inc.php J

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Sam Hernandez-gill
Sent: 23. desember 2015 20:03
To: observium@observium.org
Subject: Re: [Observium] ATM interfaces not showing on Device Overview

 

Hello,

 

This was the subject of an old mailing list conversation, but if we have routers with ATM interfaces that we *WANT* to monitor, what is the supported method to monitor them that will survive an upgrade?  Since currently I’ve had to comment out several lines from includes/defaults.inc.php to monitor these interface types, but what is the proper change to config.php to monitor them?  Or something else?

 

I’ve commented out the below from includes/defaults.inc.php

$config['bad_if'][] = "-atm";

$config['bad_if'][] = "-atm subif";

 

Thanks,

 

----------------------------
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient of this e-mail (even if the e-mail address above is yours), (i) you may not use, copy or retransmit it, (ii) please delete this message and (iii) please notify the sender immediately. Any disclosure, copying, or distribution of this message or the taking of any action based on it, is strictly prohibited.
----------------------------

NOTICE: Please immediately e-mail back to sender if you are not the intended recipient. Thereafter delete the e-mail along with any attachments without making copies. The sender reserves all rights of privilege, confidentiality and copyright.


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 

NOTICE: Please immediately e-mail back to sender if you are not the intended recipient. Thereafter delete the e-mail along with any attachments without making copies. The sender reserves all rights of privilege, confidentiality and copyright.