Subject: Rare project developers
List archive
- From: mc36 <>
- To: Carmen Misa Moreira <>
- Cc:
- Subject: Re: [rare-dev] acls in table format instead of text
- Date: Wed, 16 Mar 2022 09:58:09 +0100
hi,
On 3/16/22 09:35, Carmen Misa Moreira wrote:
Hi Csaba,okkk...
Thank you I have just executed 'flash upgrade' but it takes some time.
One question, in the past for the byte and packets counters they needed to beinstead look at this one:
exported like here:
http://sources.freertr.net/misc/sensor/iface-byte.txt
http://sources.freertr.net/misc/sensor/traffic.txt
it have an example on how to split the sw/hw counters....
With this 'sensor' you create the tables and you define the command, for example, 'sho inter hwsumm' but now the command already exists 'show access-list nat4'. Thus, do I need the follow the same process and create the sensors or is different? Maybe is only needed to export the 'show access-list nat4' in 'server prometheus pr' without creating the sensor.so first you need to create the sensor definition....
then you have to verify if it executes correctly and reports the needed counters:
"sho sens acls"
then you'll have to mention it in the serv prom config of yours....
then you'll have to check if your prometheus server if still keeps your
endpoint...
(prom could drop the endpoint if format error happens in the reports)
finally please send the file / create the patch / raise a pullreq @ github /
whatever you prefer...
thanks,
cs
Best regards,
Carmen Misa
On 15.03.22 18:51, mc36 wrote:
hi,
fortunately the last piece arrived for the puzzle with this change:
https://github.com/mc36/freeRouter/commit/b9497927f6921d691fb212ad6ac6c2500ad65be5
now i see this:
mchome#show access-list nat4
seq txb txp rxb rxp last
timout cfg
10 0+0 0+0 286618+225726 2450+1499 00:00:00 00:00:00 deny all
10.0.0.0 255.0.0.0 all 10.0.0.0 255.0.0.0 all
20 0+0 0+0 13032+6396 251+123 00:00:03 00:00:00
deny all any all 224.0.0.0 240.0.0.0 all
30 0+0 0+0 105389+107208 1440+1443 00:00:00 00:00:00 permit all
10.0.0.0 255.0.0.0 all any all
mchome#
it'll be easily exportable via anything... :)
regards,
cs
- [rare-dev] acls in table format instead of text, mc36, 03/15/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, mc36, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, mc36, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, mc36, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, mc36, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, mc36, 03/16/2022
- Re: [rare-dev] acls in table format instead of text, Carmen Misa Moreira, 03/16/2022
Archive powered by MHonArc 2.6.19.