Cacti- add new device graph doesnt work
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Fri Feb 26, 2016 3:48 am
Cacti- add new device graph doesnt work
Hello all,
I am new to cacti previously managed by someone else. the issue i have is when i add new device the graph is not recording. But all the old devices are recording perfectly. i tried to activate debug mode and see the result below:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='OrionCom - KANNAN Charan - Traffic - eth0/2' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1560.rrd':'traffic_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1560.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
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:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
OK
Could someone please help me to find a solution. i tried to google but i end up not finding a solution.
THanks in advance.
I am new to cacti previously managed by someone else. the issue i have is when i add new device the graph is not recording. But all the old devices are recording perfectly. i tried to activate debug mode and see the result below:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='OrionCom - KANNAN Charan - Traffic - eth0/2' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1560.rrd':'traffic_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1560.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
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:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
OK
Could someone please help me to find a solution. i tried to google but i end up not finding a solution.
THanks in advance.
Re: Cacti- add new device graph doesnt work
What is the status of the host under the device screen? Is it up?
What does cacti.log say?
What does cacti.log say?
-
- Posts: 8
- Joined: Fri Feb 26, 2016 3:48 am
Re: Cacti- add new device graph doesnt work
hello micke2k,
the status is showing as UP.
where do i find the cacti.log..???
if you are refering to the path. it shows all files found. hav e attached this here.
the status is showing as UP.
where do i find the cacti.log..???
if you are refering to the path. it shows all files found. hav e attached this here.
Re: Cacti- add new device graph doesnt work
System utilities -> show cacti log.
Set logging to high under settings.
Can you show a printscreen of the graph?
Set logging to high under settings.
Can you show a printscreen of the graph?
-
- Posts: 8
- Joined: Fri Feb 26, 2016 3:48 am
Re: Cacti- add new device graph doesnt work
hello micke2k,
Please see the attachment which you wanted.
THanks
Please see the attachment which you wanted.
THanks
- Attachments
-
- Graph
- Graph.PNG (90.61 KiB) Viewed 1170 times
-
- Few information on the log
- Cacti-log.PNG (68.14 KiB) Viewed 1170 times
Re: Cacti- add new device graph doesnt work
Copy the full "/usr/bin/rrdtool update" line and run in from cli. what happens?
Check everything in here aswell: http://forums.cacti.net/about15136.html
Check everything in here aswell: http://forums.cacti.net/about15136.html
-
- Posts: 8
- Joined: Fri Feb 26, 2016 3:48 am
Re: Cacti- add new device graph doesnt work
hello mike,
Sorry for the late reply. it still doesnt work. when i try to update the rrdtool :
RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jan 2 2014 19:43:03
Usage: rrdtool [options] command command_options
* update - update an RRD
rrdtool update filename
[--template|-t ds-name:ds-name:...]
[--daemon <address>]
time|N:value[:value...]
at-time@value[:value...]
[ time:value[:value...] ..]
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
And also when i run the debug now it shows differently:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='OrionCom - KANNAN Charan - Traffic - eth0/2' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd':'traffic_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
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:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd': No such file or directory
Sorry for the late reply. it still doesnt work. when i try to update the rrdtool :
RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jan 2 2014 19:43:03
Usage: rrdtool [options] command command_options
* update - update an RRD
rrdtool update filename
[--template|-t ds-name:ds-name:...]
[--daemon <address>]
time|N:value[:value...]
at-time@value[:value...]
[ time:value[:value...] ..]
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
And also when i run the debug now it shows differently:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='OrionCom - KANNAN Charan - Traffic - eth0/2' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd':'traffic_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
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:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/orioncom_-_kannan_charan_traffic_in_1580.rrd': No such file or directory
Re: Cacti- add new device graph doesnt work
is there any files in the folder? /var/lib/cacti/rra/
Only old ones i guess?
Whats the permissions on the folder? Running SElinux on centos?
Only old ones i guess?
Whats the permissions on the folder? Running SElinux on centos?
-
- Posts: 8
- Joined: Fri Feb 26, 2016 3:48 am
Re: Cacti- add new device graph doesnt work
Hello Mike,
the permission on the folder rra is full access.
i am using ubuntu 14.04.
the permission on the folder rra is full access.
i am using ubuntu 14.04.
- Attachments
-
- Permission.PNG (82.26 KiB) Viewed 1079 times
Re: Cacti- add new device graph doesnt work
Is the file created?charan2016 wrote:Hello Mike,
the permission on the folder rra is full access.
i am using ubuntu 14.04.
Look in cacti.log after a debug run for "rrtool create graphname". Try to run that command.
Who is online
Users browsing this forum: No registered users and 1 guest