Details
Description
Hey there,
my company is facing issues that Observium is reaching its limits in discovering and we want to reduce load on our discovery by ignoring so irrelevant port types.
JunOS always create a Unit 0 interface if a port is seen as untagged e.g. ge-0/0/0 and ge-0/0/0.0, we want to ignore all Port with a .0 at the end but how?
I have seen the $config['bad_if_regexp'][] but what would be the right expression?
$config['bad_if_regexp'][] = "/.[0]:/"; ? or what?
Attachments
Activity
Issue Type | Original: Task [ 3 ] | New: Help [ 10200 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Issue Type | Original: Improvement [ 4 ] | New: Task [ 3 ] |
Resolution | New: Not A Bug [ 6 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: In Review [ 10101 ] | New: In Progress [ 3 ] |
Comment |
[ Please make and attach additional information about the device: * full snmp dump from device: {noformat} snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk {noformat} _If device not support SNMP version 2c, replace -v2c with -v1._ * If you have problems with discovery or poller processes, please do and attach these debugs: {noformat} ./discovery.php -d -h <device> ./poller.php -d -h <device> {noformat} * additionally attach device and/or vendor specific MIB files {color:#505F79}_Note, this comment is added automatically._{color} ] |
Comment |
[ Fund out myself:
$config['bad_if_regexp'][] = '/^.*\.[0]{1}/'; Sorry for wasting your time ] |
Status | Original: Pending Response [ 10000 ] | New: In Review [ 10101 ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |
Better regex for you:
$config['bad_if_regexp'][] = "/\.0$/";