Port Description parsing doesn't work for custom port desctiptions

HI,
Ager setting up observium with distributed pollers we are no longer able to display stats for our custom defined ports, while Descriptions that are built work just fine ( Transit, Peering,Core ).
For example in config.php we have the following.
$config['int_groups'][] = "DCI";
Selecting DCI from Ports menu would display the following:
[image: Inline image 1]
I also noticed that port_descr_type column in ports table is not being populated resulting in description parsing not to work:
[image: Inline image 2]
Did anyone experience something similar ? I would appreciate any help.
Thank you

This is the database output:
[image: Inline image 2]
On Fri, Jan 12, 2018 at 3:02 PM, Vlad Kratsberg vkratsberg@gmail.com wrote:
HI,
Ager setting up observium with distributed pollers we are no longer able to display stats for our custom defined ports, while Descriptions that are built work just fine ( Transit, Peering,Core ).
For example in config.php we have the following.
$config['int_groups'][] = "DCI";
Selecting DCI from Ports menu would display the following:
[image: Inline image 1]
I also noticed that port_descr_type column in ports table is not being populated resulting in description parsing not to work:
[image: Inline image 2]
Did anyone experience something similar ? I would appreciate any help.
Thank you

Figured it out:
Had to move the following config lines to observium-pollers' config.php.
$config['int_groups'][] = "DCI";
#Ports $config['port_descr_parser'] = "includes/port-descr-parser.inc.php"; # Parse port descriptions into fields
On Fri, Jan 12, 2018 at 3:47 PM, Vlad Kratsberg vkratsberg@gmail.com wrote:
This is the database output:
[image: Inline image 2]
On Fri, Jan 12, 2018 at 3:02 PM, Vlad Kratsberg vkratsberg@gmail.com wrote:
HI,
Ager setting up observium with distributed pollers we are no longer able to display stats for our custom defined ports, while Descriptions that are built work just fine ( Transit, Peering,Core ).
For example in config.php we have the following.
$config['int_groups'][] = "DCI";
Selecting DCI from Ports menu would display the following:
[image: Inline image 1]
I also noticed that port_descr_type column in ports table is not being populated resulting in description parsing not to work:
[image: Inline image 2]
Did anyone experience something similar ? I would appreciate any help.
Thank you

Hi Vlad,
The second line is default, and I'm not sure where else you were putting them other than config.php? :o
Tom
On 12/01/2018 22:11, Vlad Kratsberg wrote:
Figured it out:
Had to move the following config lines to observium-pollers' config.php.
$config['int_groups'][] = "DCI";
#Ports $config['port_descr_parser'] = "includes/port-descr-parser.inc.php"; # Parse port descriptions into fields
On Fri, Jan 12, 2018 at 3:47 PM, Vlad Kratsberg <vkratsberg@gmail.com mailto:vkratsberg@gmail.com> wrote:
This is the database output: Inline image 2 On Fri, Jan 12, 2018 at 3:02 PM, Vlad Kratsberg <vkratsberg@gmail.com <mailto:vkratsberg@gmail.com>> wrote: HI, Ager setting up observium with distributed pollers we are no longer able to display stats for our custom defined ports, while Descriptions that are built work just fine ( Transit, Peering,Core ). For example in config.php we have the following. $config['int_groups'][] = "DCI"; Selecting DCI from Ports menu would display the following: Inline image 1 I also noticed that port_descr_type column in ports table is not being populated resulting in description parsing not to work: Inline image 2 Did anyone experience something similar ? I would appreciate any help. Thank you
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Wait... Actual people are doing this distributed thing?
Mr Swe... What have you done? 😮
Sent from BlueMail
On 12 Jan 2018, 21:11, at 21:11, Vlad Kratsberg vkratsberg@gmail.com wrote:
Figured it out:
Had to move the following config lines to observium-pollers' config.php.
$config['int_groups'][] = "DCI";
#Ports $config['port_descr_parser'] = "includes/port-descr-parser.inc.php"; # Parse port descriptions into fields
On Fri, Jan 12, 2018 at 3:47 PM, Vlad Kratsberg vkratsberg@gmail.com wrote:
This is the database output:
[image: Inline image 2]
On Fri, Jan 12, 2018 at 3:02 PM, Vlad Kratsberg
wrote:
HI,
Ager setting up observium with distributed pollers we are no longer
able
to display stats for our custom defined ports, while Descriptions
that are
built work just fine ( Transit, Peering,Core ).
For example in config.php we have the following.
$config['int_groups'][] = "DCI";
Selecting DCI from Ports menu would display the following:
[image: Inline image 1]
I also noticed that port_descr_type column in ports table is not
being
populated resulting in description parsing not to work:
[image: Inline image 2]
Did anyone experience something similar ? I would appreciate any
help.
Thank you
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Tom Laermans
-
Vlad Kratsberg