And could you post the solution so that other profit from your experience as well? ;-)
On 2017-02-15 15:59, Dan Letkeman wrote:
Thats fine, someone else can reply. I figured out what the problem was anyway.
Dan.
On Tue, Feb 14, 2017 at 10:40 PM, Adam Armstrong <adama@observium.org> wrote:
But what you just pasted contains none of the information that you claim to have already posted?
But eh, I think i just lost interest, so nevermind.
adam.On 15/02/2017 04:22:06, Dan Letkeman <danletkeman@gmail.com> wrote:
Quote from my original post. Maybe your email is crap. Oh wait it is.....as you stated earlier.
"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."
I'll try port descriptions without dots.
Thanks,Dan.
______________________________
On Tue, Feb 14, 2017 at 10:17 PM, Adam Armstrong <adama@observium.org> wrote:
You never posted any of that in this thread!
I'm not sure why it doesn't work. You'd need to prove that your ports are actually labelled correctly for this parsing to work. Having dots in the type is probably a terribly bad idea, too.
adam.On 15/02/2017 04:15:47, Dan Letkeman <danletkeman@gmail.com> wrote:
As per my first question of this thread:
I would like to use my already labeled ports instead of the default port label options. That's it.
I did have $config['int_groups'] added to the config.php. eg:
$config['int_groups'] = array("Students","Staff","I.T.");
With this the menu links show up under ports. But no ports show up in the custom lists.
Dan.
______________________________
On Tue, Feb 14, 2017 at 10:02 PM, Adam Armstrong <adama@observium.org> wrote:
Don't change $types, add things to $config['int_groups'].
We don't really know what you're trying to do, anyways.
adam.On 15/02/2017 03:47:39, Dan Letkeman <danletkeman@gmail.com> wrote:
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/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_______________________________________________ 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