Hello,
At first, Thank you for dealing, We are using a cacti 0.8.8h on our network, and with cli command or commands, I want to find which interface is associated to which rrd's? Is there any way to do this? Thanks for reply,
Example: I want to find the information of this line "DEF:a='/var/www/html/cacti-0.8.8h/rra/XXXXXX_sw_traffic_in_18058.rrd':'traffic_out':"
/usr/bin/rrdtool graph - \ --imgformat=PNG \ --start='1543519072' \ --end='1543605472' \ --title='XXXXXX' \ --rigid \ --base='1000' \ --height='120' \ --width='500' \ --alt-autoscale-max \ --lower-limit='0' \ COMMENT:"From 2018/11/29 22\:17\:52 To 2018/11/30 22\:17\:52\c" \ COMMENT:" \n" \ --vertical-label='bits per second' \ --slope-mode \ --font TITLE:12: \ --font AXIS:8: \ --font LEGEND:10: \ --font UNIT:8: \ DEF:a='/var/www/html/cacti-0.8.8h/rra/XXXXXX_sw_traffic_in_18058.rrd':'traffic_out':AVERAGE \ DEF:b='/var/www/html/cacti-0.8.8h/rra/XXXXXX_sw_traffic_in_18058.rrd':'traffic_in':AVERAGE \ CDEF:cdefa='a,8,*' \ CDEF:cdefe='b,8,*' \ AREA:cdefa#00CF00FF:'Downlink' \ GPRINT:cdefa:LAST:'Current\:%8.2lf %s' \ GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \ LINE1:cdefe#002A97FF:'Uplink' \ GPRINT:cdefe:LAST:' Current\:%8.2lf %s' \ GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \ GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
Sincerely,
|