When adding the "set system flow-accounting disable-imt" statement to the flow accounting configuration, the IMT plugin is still configured. It appears that the 'disable-imt' portion of the configuration tree is not getting defined. To check this, I added "print $config->returnValue('disable-imt');" below line 289 of the /opt/vyatta/sbin/vyatta-netflow.pl script and the removed and readded my flow accounting configuration. I received an error on the cli saying "Use of uninitialized value in print at /opt/vyatta/sbin/vyatta-netflow.pl line 290."
Description
Description
Details
Details
- Version
- 1.1.8
Event Timeline
Comment Actions
Tested on the latest 1.2.0-rc4 and it appears that the memory plugin is still enabled.
I'm using the following configuration:
set system flow-accounting disable-imt set system flow-accounting interface 'eth0' set system flow-accounting netflow sampling-rate '1' set system flow-accounting netflow server x.x.x.x port '2556' set system flow-accounting netflow version '9' set system flow-accounting syslog-facility 'daemon'
I see the following in my process list:
root@vyos:~# ps auxwww | grep uacct root 8783 0.0 2.8 115508 29528 ? Ss 23:38 0:00 uacctd: Core Process [default] root 8785 0.0 1.4 109820 15000 ? S 23:38 0:00 uacctd: IMT Plugin [default_memory] root 8786 0.0 0.5 100572 6100 ? S 23:38 0:00 uacctd: Netflow Probe Plugin [default_nfprobe]
And the following plugins are enabled in my uacctd configuration:
root@vyos:~# grep plugins /etc/pmacct/uacctd.conf plugins: memory,nfprobe