I get the reasons for using the include in the config and modifying only the copy of the file.

I have changed the $types in the parser file but I still get nothing.  Do you have an example of what parts of the file I need to modify?

Thanks,
Dan.

On Tue, Feb 14, 2017 at 8:07 PM, Adam Armstrong <adama@observium.org> wrote:
fuken email.

Copy this file to a new file, "includes/port-descr-parser-custom.inc.php"

Add this to your config.php : 

$config['port_descr_parser']            = "includes/port-descr-parser-custom.inc.php";

Edit the function in includes/port-descr-parser-custom.inc.php to parse in the way you want it to. This requires understanding PHP and how to parse strings. The file serves as an example.

Adam.

On 15/02/2017 02:06:27, Adam Armstrong <adama@observium.org> wrote:

Copy this file to a new file, 

Add this to your config.php : 


Please never modify any files on your installation if you want updates to work, unless you really know what you're doing.

adam.

On 15/02/2017 02:01:30, Dan Letkeman <danletkeman@gmail.com> wrote:

I found this:


But i'm not sure what to add or modify in the:   includes/port-descr-parser.inc.php

Dan.

On Tue, Feb 14, 2017 at 7:51 PM, Sophanith Chhom <sophanith.chhom@gmail.com> wrote:
I'm also looking on this too...

On Wed, Feb 15, 2017 at 8:44 AM, Dan Letkeman <danletkeman@gmail.com> wrote:
Hello,

I was wondering if anyone has some info on how to do custom port description parsing?

I already have my ports labeled and I would like to add custom port lists to the ports menu.

Thanks,
Dan.

_______________________________________________
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