place snmp_tcp_conns.sh to <path_cacti>/scripts
import template, you will get graph for both port 80 tcp and all tcp connections (as example)
I got an idea from this post: http://forums.cacti.net/viewtopic.php?t=9097
I added to data input method snmp_community and snmp_host input fields, which by default will got from per-host device configuration.
works fine on win32 and unix(net/snmp) box w/o any changes.
Active TCP connections
Moderators: Developers, Moderators
Active TCP connections
- Attachments
-
- active_tcp_conns.rar
- (2.46 KiB) Downloaded 736 times
Re: Active TCP connections
i config this script that you saidtigra wrote:place snmp_tcp_conns.sh to <path_cacti>/scripts
import template, you will get graph for both port 80 tcp and all tcp connections (as example)
I got an idea from this post: http://forums.cacti.net/viewtopic.php?t=9097
I added to data input method snmp_community and snmp_host input fields, which by default will got from per-host device configuration.
works fine on win32 and unix(net/snmp) box w/o any changes.
Data Source Debug
/usr/local/rrdtool/bin/rrdtool create \
/www/htdocs/cacti/rra/219_235_226_34www_tcp_conns_43.rrd \
--step 300 \
DS:tcp_conns:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
but why no drawing?please tell me,thx
Who is online
Users browsing this forum: No registered users and 3 guests