Hi there,
for some reason my cacti install con RHEL 6.6 doesn't create RRD; looks like a creation problem because when I create it manually then they are updated correctly.
Cacti version: 0.8.8h
This is an example on what I find in the cacti.log:
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwAcceptBytesIn, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.7.1.0, output: 0
03/03/2017 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/firewall_rejected_19.rrd --template rejected 1488536401:0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwAcceptBytesOut, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.8.1.0, output: 0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwAcceptPcktsIn, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.5.1.0, output: 0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwAcceptPcktsOut, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.6.1.0, output: 0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwDropPcktsIn, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.9.1.0, output: 886
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwDropPcktsOut, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.10.1.0, output: 3
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwLogIn, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.13.1.0, output: 866
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwLogOut, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.14.1.0, output: 1
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwRejectPcktsIn, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.11.1.0, output: 0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwRejectPcktsOut, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.12.1.0, output: 0
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwUnkn1, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.3.1.0, output: 886
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v2: 192.168.1.241, dsname: fwUnkn2, oid: .1.3.6.1.4.1.2620.1.1.25.5.1.4.1.0, output: 3
03/03/2017 11:20:01 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 20.
BR,
Rick
rrd creation
Moderators: Developers, Moderators
Re: rrd creation
This is another example turning on the debug in the graph management:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='LODABALANCER-RDV-SRV-C - CPU Usage' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='percent' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_idle_165.rrd':'cpu_idle':AVERAGE \
DEF:b='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_system_167.rrd':'cpu_system':AVERAGE \
DEF:c='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_user_168.rrd':'cpu_user':AVERAGE \
DEF:d='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_nice_166.rrd':'cpu_nice':AVERAGE \
CDEF:cdefb='b,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefg='c,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefbb='d,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefbg='TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,a,-,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
COMMENT:' ' \
AREA:cdefb#FF0000FF:'System' \
GPRINT:cdefb:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefb:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefb:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefb:MAX:'Max\:%6.2lf%%\n' \
AREA:cdefg#0000FFFF:'User':STACK \
GPRINT:cdefg:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefg:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefg:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefg:MAX:'Max\:%6.2lf%%\n' \
AREA:cdefbb#00FF00FF:'Nice':STACK \
GPRINT:cdefbb:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefbb:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefbb:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefbb:MAX:'Max\:%6.2lf%%\n' \
LINE1:cdefbg#000000FF:'Total Usage' \
GPRINT:cdefbg:LAST:'Last\:%6.2lf%%' \
GPRINT:cdefbg:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefbg:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefbg:MAX:'Max\:%6.2lf%%\n'
RRDTool Says:
ERROR: opening '/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_idle_165.rrd': No such file or directory
Looks like, for some reasons the file wasn't be created at the beginning.
Turning on the "Data Source Debug Mode" doesn't show the rrdtool creat command...
Any way to force the creation?
Many thanks in advance
Rick
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='LODABALANCER-RDV-SRV-C - CPU Usage' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='percent' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_idle_165.rrd':'cpu_idle':AVERAGE \
DEF:b='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_system_167.rrd':'cpu_system':AVERAGE \
DEF:c='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_user_168.rrd':'cpu_user':AVERAGE \
DEF:d='/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_nice_166.rrd':'cpu_nice':AVERAGE \
CDEF:cdefb='b,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefg='c,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefbb='d,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
CDEF:cdefbg='TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,a,-,100,*,TIME,1488713264,GT,b,b,UN,0,b,IF,IF,TIME,1488713264,GT,c,c,UN,0,c,IF,IF,TIME,1488713264,GT,d,d,UN,0,d,IF,IF,TIME,1488713264,GT,a,a,UN,0,a,IF,IF,+,+,+,/' \
COMMENT:' ' \
AREA:cdefb#FF0000FF:'System' \
GPRINT:cdefb:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefb:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefb:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefb:MAX:'Max\:%6.2lf%%\n' \
AREA:cdefg#0000FFFF:'User':STACK \
GPRINT:cdefg:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefg:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefg:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefg:MAX:'Max\:%6.2lf%%\n' \
AREA:cdefbb#00FF00FF:'Nice':STACK \
GPRINT:cdefbb:LAST:' Last\:%6.2lf%%' \
GPRINT:cdefbb:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefbb:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefbb:MAX:'Max\:%6.2lf%%\n' \
LINE1:cdefbg#000000FF:'Total Usage' \
GPRINT:cdefbg:LAST:'Last\:%6.2lf%%' \
GPRINT:cdefbg:MIN:'Min\:%6.2lf%%' \
GPRINT:cdefbg:AVERAGE:'Avg\:%6.2lf%%' \
GPRINT:cdefbg:MAX:'Max\:%6.2lf%%\n'
RRDTool Says:
ERROR: opening '/usr/share/cacti/rra/loadbalancer-rdv-srv-c_cpu_idle_165.rrd': No such file or directory
Looks like, for some reasons the file wasn't be created at the beginning.
Turning on the "Data Source Debug Mode" doesn't show the rrdtool creat command...
Any way to force the creation?
Many thanks in advance
Rick
Re: rrd creation
Is your permission set correctly on the rra folder so that the poller user can write to it?
Who is online
Users browsing this forum: No registered users and 6 guests