Last obstacle I think
Moderators: Developers, Moderators
Last obstacle I think
What I really think the data is not being fed into the rrd as a result no graphs . However please what the best can be done in this case? heres the graph error
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Logged in Users' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='users' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/cacti/rra/localhost_users_6.rrd":'users':AVERAGE \
AREA:a#4668E4FF:"Users" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_users_6.rrd': No such file or directory
Also the status of the added devices shows unknown. Please help me with it asap
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Logged in Users' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='users' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/cacti/rra/localhost_users_6.rrd":'users':AVERAGE \
AREA:a#4668E4FF:"Users" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_users_6.rrd': No such file or directory
Also the status of the added devices shows unknown. Please help me with it asap
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Last obstacle I think
Please check bug 2229
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Last obstacle I think
i am extremely sorry for giving u trouble .Actually I am quite new to cacti further for the bug reciprocated I didnot get anything worth to start with. Further I came across that even the cacti log files are completely empty.
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Last obstacle I think
Did you refresh the poller cache? Did that help?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Last obstacle I think
nopes..!! it appears empty still...!! for data source debug mode I am getng this
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti/rra/localhost_load_1min_5.rrd \
--step 300 \
DS:load_1min:GAUGE:600:0:500 \
DS:load_5min:GAUGE:600:0:500 \
DS:load_15min:GAUGE:600:0:500 \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
how to know whether its recieving the data traps also??? cacti log file empty.....status of devices says unknown yet it pings and shows the snmp also working fine..... yet graph debug mode gives this..
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Load Average' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--units-exponent='0' \
--vertical-label='processes in the run queue' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE \
DEF:c="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE \
CDEF:cdefg='TIME,1339995235,GT,a,a,UN,0,a,IF,IF,TIME,1339995235,GT,b,b,UN,0,b,IF,IF,TIME,1339995235,GT,c,c,UN,0,c,IF,IF,+,+' \
AREA:a#EACC00FF:"1 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:b#EA8F00FF:"5 Minute Average":STACK \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:c#FF0000FF:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000FF:""
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
kindly help..!!!!
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti/rra/localhost_load_1min_5.rrd \
--step 300 \
DS:load_1min:GAUGE:600:0:500 \
DS:load_5min:GAUGE:600:0:500 \
DS:load_15min:GAUGE:600:0:500 \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
how to know whether its recieving the data traps also??? cacti log file empty.....status of devices says unknown yet it pings and shows the snmp also working fine..... yet graph debug mode gives this..
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Load Average' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--units-exponent='0' \
--vertical-label='processes in the run queue' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE \
DEF:c="/var/www/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE \
CDEF:cdefg='TIME,1339995235,GT,a,a,UN,0,a,IF,IF,TIME,1339995235,GT,b,b,UN,0,b,IF,IF,TIME,1339995235,GT,c,c,UN,0,c,IF,IF,+,+' \
AREA:a#EACC00FF:"1 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:b#EA8F00FF:"5 Minute Average":STACK \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:c#FF0000FF:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000FF:""
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
kindly help..!!!!
Re: Last obstacle I think
Hi,
Have run into this on several occasions and here's some of the fixes that work depending on the situation:
- Restart SNMP on the device
- Check that you can poll another graph on the server - if so, try doing a debug query on that
- Do a snmpwalk from the Cacti server on the device and confirm that you can get to it
- Check the OS version on the device against the other versions for devices you poll - i've had specific devices that wouldn't work in Cacti until they were on a later device version. This was an issue with the Device's SNMP stack
Hope this helps
Have run into this on several occasions and here's some of the fixes that work depending on the situation:
- Restart SNMP on the device
- Check that you can poll another graph on the server - if so, try doing a debug query on that
- Do a snmpwalk from the Cacti server on the device and confirm that you can get to it
- Check the OS version on the device against the other versions for devices you poll - i've had specific devices that wouldn't work in Cacti until they were on a later device version. This was an issue with the Device's SNMP stack
Hope this helps
-
- Posts: 4
- Joined: Mon Jun 18, 2012 6:32 am
Re: Last obstacle I think
The error already gives it away a little. The permissions for the user running Cacti are not set correct. Please check whether there is a .rrd file in the location the error specifies. I guess there is not.
Please adjust the permissions or create the file manually.
Code: Select all
ERROR: opening '/var/www/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
Please adjust the permissions or create the file manually.
Re: Last obstacle I think
I've seen this happen when the permissions on one NTFS folder are exactly the same as other ones and this was fixed through a combination of the suggestions I made above. That said, fully agree with checking the permissions.
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Last obstacle I think
Probably a very stupid question, but did you actually create a cron job to run the poller?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 1 guest