Hi Fabien,

What version are you running? You can confirm this with a 'nfacctd -V';
the feature was added in 1.7.0 (that is, master code on GitHub). I can
also confirm you, on your original question, that an atoi() is performed
on the input value - so you should express values in decimal.

Paolo

On Sun, Sep 24, 2017 at 10:28:22PM +0200, Fabien VINCENT wrote:
> Le 2017-09-22 15:23, Fabien VINCENT a écrit :
> 
> > Hi, 
> > 
> > I'm looking for some examples around fwdstatus on pretag 
> > 
> > _'fwdstatus' MATCH: In NFv9/IPFIX this is compared against IE #89; see 
> > https://www.iana.org/assignments/ipfix/ipfix.xhtml for the specific 
> > semantics of the field and some examples._ 
> > 
> > How to use it ? I was looking to do king of pretag like 
> > 
> > set_tag=0 fwdstatus=00b 
> > 
> > set_tag=1 fwdstatus=01b 
> > 
> > set_tag=2 fwdstatus=10b 
> > 
> > Is it the way of dealing with this parameter ? 
> > 
> > -- 
> > 
> > FABIEN VINCENT 
> > _______________________________________________
> > pmacct-discussion mailing list
> > http://www.pmacct.net/#mailinglists
> 
> Is the option available ? 
> Sep 24 22:30:13 INFO ( default/core ): Trying to (re)load map:
> /etc/pmacct/nfacctd.pretag.map
> Sep 24 22:30:13 ERROR ( default/core ): unknown key 'fwdstatus' at line
> 1 in map '/etc/pmacct/nfacctd.pretag.map'. Ignored.
> Sep 24 22:30:13 ERROR ( default/core ): unknown key 'fwdstatus' at line
> 2 in map '/etc/pmacct/nfacctd.pretag.map'. Ignored. 
> 
> [22:30 root@netflows pmacct-master] > cat /etc/pmacct/nfacctd.pretag.map
> set_tag=1 fwdstatus=65
> set_tag=2 fwdstatus=138
> 
> -- 
> 
> FABIEN VINCENT
> -------------------------------------------------------------------

> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to