Hello people. I am getting zeroes in my rrd file ( found out by doing a rrdtool info <rrdfile>)and as a consequence, i am not getting any graphs being plotted. Now I created a error log for the flowscan service in the /var/log folder and if I check this error log, I get the following error messages
"sleep 300....
Use of uninitialized value in numeric gt (>) at /usr/share/perl5/HTML/Table.pm line 1684.
Use of uninitialized value in numeric gt (>) at /usr/share/perl5/HTML/Table.pm line 1684.
Use of uninitialized value in numeric gt (>) at /usr/share/perl5/HTML/Table.pm line 1684."
If i do a "ps -ef | grep flowscan", i get the following:
root 1335 1 0 Nov12 ? 00:00:28 /usr/bin/perl /usr/bin/flowscan
So you can see flowscan is running as a process.
If I do a "emacs /var/logs/messages, I can see the following:
Nov 13 08:45:00 localhost flow-capture[1117]: STAT: now=1194972300 startup=1194884906 src_ip=172.16.1.1 dst_ip=172.16.1.40 d_ver=5 pkts=8880 flows=220362 lo
st=0 reset=0 filter_drops=0
Nov 13 08:50:00 localhost flow-capture[1117]: STAT: now=1194972600 startup=1194884906 src_ip=172.16.1.1 dst_ip=172.16.1.40 d_ver=5 pkts=8923 flows=221652 lo
st=0 reset=0 filter_drops=0
Nov 13 08:55:00 localhost flow-capture[1117]: STAT: now=1194972900 startup=1194884906 src_ip=172.16.1.1 dst_ip=172.16.1.40 d_ver=5 pkts=8969 flows=223032 lo
st=0 reset=0 filter_drops=0
So the collector (my debian etch server) is seeing the flows from the router.
I have tested snmp to see if it was properly installed on the server and it is:
snmpwalk -c public -v1 -On 172.16.1.1 udp | more
.1.3.6.1.2.1.7.1.0 = Counter32: 15643753
.1.3.6.1.2.1.7.2.0 = Counter32: 1168400
.1.3.6.1.2.1.7.3.0 = Counter32: 0
.1.3.6.1.2.1.7.4.0 = Counter32: 1985483
.1.3.6.1.2.1.7.5.1.1.172.16.1.1.161 = IpAddress: 172.16.1.1
Another thing I noticed is that I seem to be getting snmp errors when I observe the cacti.log file, here is an extract:
11/13/2007 09:00:03 AM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result:
11/13/2007 09:00:03 AM - CMDPHP: Poller[0] Host[2] DS[14] WARNING: Result from SNMP not valid. Partial Result:
11/13/2007 09:00:03 AM - CMDPHP: Poller[0] Host[2] DS[15] WARNING: Result from SNMP not valid. Partial Result:
11/13/2007 09:00:03 AM - SYSTEM STATS: Time:1.0853 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:12
The raw flow file are being created alongside the "tmp" flow file but still the rrds all have 0's or NaN.
HELP!!!!
Thanks.
rrd files not updating with values from flowscan/CUFlow
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests