monitoring interfaces graph template problem.
Moderators: Developers, Moderators
monitoring interfaces graph template problem.
Hello
i am monitoring a esx server a rehl. all graphs work properly except when i try to monitor the traffic in the interfaces. I have tried to debug by turning debugging in graph management but to no avail.
there is an error yield by rrdtool :
ERROR: opening '/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd': No such file or directory
here is the full output of the error:
RRDTool Command:
/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title= Esx1 - Traffic - |query_ifAlias| |query_ifName|" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=-100 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd":traffic_in:AVERAGE \
DEF:b="/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,-8,* \
CDEF:cdeff=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" \
AREA:cdefe#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd': No such file or directory
what i am missing here in order to have the graphs working. i am totally at loss.
thank you very much for your help.
kind regards
Mario G.
i am monitoring a esx server a rehl. all graphs work properly except when i try to monitor the traffic in the interfaces. I have tried to debug by turning debugging in graph management but to no avail.
there is an error yield by rrdtool :
ERROR: opening '/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd': No such file or directory
here is the full output of the error:
RRDTool Command:
/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title= Esx1 - Traffic - |query_ifAlias| |query_ifName|" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=-100 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd":traffic_in:AVERAGE \
DEF:b="/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,-8,* \
CDEF:cdeff=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" \
AREA:cdefe#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd': No such file or directory
what i am missing here in order to have the graphs working. i am totally at loss.
thank you very much for your help.
kind regards
Mario G.
-
- Posts: 4
- Joined: Mon Mar 23, 2009 11:09 am
It may be an access problem.
If file exists on the server, try
#chmod 666 /opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd
If not, go to the Data Sources, chose your source, click Turn On Debug Mode (you will see the code you need to copy and paste as root on server with cacti).
It should help.
If file exists on the server, try
#chmod 666 /opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd
If not, go to the Data Sources, chose your source, click Turn On Debug Mode (you will see the code you need to copy and paste as root on server with cacti).
It should help.
hello
i followed your advice; i try to execute the command from the datasource debug on the cacti server:
/opt/csw/bin/rrdtool create \
/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:2:1008 \
RRA:AVERAGE:0.5:6:1488 \
RRA:AVERAGE:0.5:12:17520 \
RRA:MIN:0.5:1:600 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:2:1008 \
RRA:MAX:0.5:6:1488 \
RRA:MAX:0.5:12:17520 \
RRA:LAST:0.5:1:600 \
but i get an error thus the rrd file is not created.
ERROR: Duplicate DS name: traffic_in
thank you in advance for your help
Mario G.
i followed your advice; i try to execute the command from the datasource debug on the cacti server:
/opt/csw/bin/rrdtool create \
/opt/csw/apache/htdocs/cacti/rra/esx1_traffic_in_2277.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:2:1008 \
RRA:AVERAGE:0.5:6:1488 \
RRA:AVERAGE:0.5:12:17520 \
RRA:MIN:0.5:1:600 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:2:1008 \
RRA:MAX:0.5:6:1488 \
RRA:MAX:0.5:12:17520 \
RRA:LAST:0.5:1:600 \
but i get an error thus the rrd file is not created.
ERROR: Duplicate DS name: traffic_in
thank you in advance for your help
Mario G.
hello
thank you for your help.
do you have any idea how can i fix a data template? it's on xml; i can export data templates into xml or should I submit a bug to cacti?
there seems to be multiple DS but with some cisco router this work each ds isn't it for the type of graphs (1h, 1day; 1week, 1 month, etc..)
thank you for your help and time.
regards
Mario G.
thank you for your help.
do you have any idea how can i fix a data template? it's on xml; i can export data templates into xml or should I submit a bug to cacti?
there seems to be multiple DS but with some cisco router this work each ds isn't it for the type of graphs (1h, 1day; 1week, 1 month, etc..)
thank you for your help and time.
regards
Mario G.
permission question or http://forums.cacti.net/viewtopic.php?t ... ight=cisco
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What version of Cacti is this. I have not seen the duplicate data source issue in almost 2 years.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest