getting red crosees in place of graph.
Moderators: Developers, Moderators
getting red crosees in place of graph.
I installed a cacti-0.8.7b on my rhel4 machine I checked in System utilitys --> Technical support everything is showing fine.I turned on the graph debug mode and i am getting
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/cisco-router_traffic_in_36.rrd': No such file or directory
I also upgraded my rrdtool to 1.2.27
I tried the command /usr/bin/php -q /var/www/html/cacti/cmd.php and it does not give any output or any error.Screenshot of the same is attached Please suggest.
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/cisco-router_traffic_in_36.rrd': No such file or directory
I also upgraded my rrdtool to 1.2.27
I tried the command /usr/bin/php -q /var/www/html/cacti/cmd.php and it does not give any output or any error.Screenshot of the same is attached Please suggest.
- Attachments
-
- graph.JPG (109.04 KiB) Viewed 1743 times
that is showing up.
I checked that and it showing up. Its also attached here.If this is not a correct screen please tell me exact menu and tab name.
- Attachments
-
- error2.JPG (133.57 KiB) Viewed 1717 times
thanks for your reply
Thanks for your reply.After running commands from debug mode of I am getting graph but it is not with data as attached in snapshot. I run command as below.
[root@rhelnoc bin]# /usr/local/rrdtool-1.2.27/bin/rrdtool create \
> /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd \
> --step 300 \
> DS:traffic_in:COUNTER:600:0:10000000 \
> DS:traffic_out:COUNTER:600:0:10000000 \
> 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 \
>
and then
[root@rhelnoc bin]# /usr/local/rrdtool-1.2.27/bin/rrdtool graph - \
> --imgformat=PNG \
> --start=-86400 \
> --end=-300 \
> --title="Cisco-Router - Traffic - Et1/3" \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit=0 \
> --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/rra/cisco-router_traffic_in_37.rrd":traffic_out:AVERAGE \
> CDEF:cdefa=a,8,* \
> CDEF:cdeff=a,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" \
> COMMENT:"Total In\: 0 bytes\n" \
> LINE1:cdeff#002A97FF:"Outbound" \
> GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
> GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
> GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
> COMMENT:"Total Out\: 0 bytes"
after running above command i am getting below snapshot
[root@rhelnoc bin]# /usr/local/rrdtool-1.2.27/bin/rrdtool create \
> /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd \
> --step 300 \
> DS:traffic_in:COUNTER:600:0:10000000 \
> DS:traffic_out:COUNTER:600:0:10000000 \
> 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 \
>
and then
[root@rhelnoc bin]# /usr/local/rrdtool-1.2.27/bin/rrdtool graph - \
> --imgformat=PNG \
> --start=-86400 \
> --end=-300 \
> --title="Cisco-Router - Traffic - Et1/3" \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit=0 \
> --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/rra/cisco-router_traffic_in_37.rrd":traffic_out:AVERAGE \
> CDEF:cdefa=a,8,* \
> CDEF:cdeff=a,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" \
> COMMENT:"Total In\: 0 bytes\n" \
> LINE1:cdeff#002A97FF:"Outbound" \
> GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
> GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
> GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
> COMMENT:"Total Out\: 0 bytes"
after running above command i am getting below snapshot
- Attachments
-
- graph3.JPG (55.81 KiB) Viewed 1666 times
hi
Thanks for your reply my rrd tool is already set to 1.2.x as shown in below snapshot. I also discovered log files as below
My cacti logfile is as below
04/21/2008 01:20:43 AM - CMDPHP: Poller[0] Time: 2.0422 s, Theads: N/A, Hosts: 1
04/21/2008 12:55:44 AM - CMDPHP: Poller[0] Time: 2.0739 s, Theads: N/A, Hosts: 1
04/21/2008 12:30:05 AM - CMDPHP: Poller[0] Time: 0.2736 s, Theads: N/A, Hosts: 1
04/21/2008 12:05:02 AM - CMDPHP: Poller[0] Time: 0.3621 s, Theads: N/A, Hosts: 1
04/20/2008 11:25:02 PM - CMDPHP: Poller[0] Time: 0.2338 s, Theads: N/A, Hosts: 1
04/20/2008 11:00:02 PM - CMDPHP: Poller[0] Time: 0.2323 s, Theads: N/A, Hosts: 1
04/20/2008 10:35:03 PM - CMDPHP: Poller[0] Time: 0.3790 s, Theads: N/A, Hosts: 1
04/20/2008 10:10:04 PM - CMDPHP: Poller[0] Time: 0.2660 s, Theads: N/A, Hosts: 1
04/20/2008 09:45:03 PM - CMDPHP: Poller[0] Time: 0.3283 s, Theads: N/A, Hosts: 1
04/20/2008 09:20:01 PM - CMDPHP: Poller[0] Time: 0.2014 s, Theads: N/A, Hosts: 1
04/20/2008 08:55:08 PM - CMDPHP: Poller[0] Time: 0.7251 s, Theads: N/A, Hosts: 1
04/20/2008 08:30:03 PM - CMDPHP: Poller[0] Time: 0.1837 s, Theads: N/A, Hosts: 1
04/20/2008 08:20:02 PM - CMDPHP: Poller[0] Time: 0.2181 s, Theads: N/A, Hosts: 1
My polar cash log output
<< Previous Showing Rows 1 to 2 of 2 [1] Next >>
Data Source Name** Details
Cisco-Router - Traffic - 59.160.224.33 - Et1/3 SNMP Version: 2, Community: indscape, OID: .1.3.6.1.2.1.2.2.1.16.7
RRD: /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd
Cisco-Router - Traffic - 59.160.224.33 - Et1/3 SNMP Version: 2, Community: indscape, OID: .1.3.6.1.2.1.2.2.1.10.7
RRD: /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd
My SNMP Cash log
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 8 , Field Name: ifAlias , Field Value:
OID: .1.3.6.1.2.1.31.1.1.1.18.8
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 7 , Field Name: ifAlias , Field Value: VSNL DATA Gateway
OID: .1.3.6.1.2.1.31.1.1.1.18.7
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 6 , Field Name: ifAlias , Field Value: Upstream interface for voice network
OID: .1.3.6.1.2.1.31.1.1.1.18.6
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 5 , Field Name: ifAlias , Field Value: Upstream interface for data network.
OID: .1.3.6.1.2.1.31.1.1.1.18.5
I think it is normal please suggest if any thing else i have to check.
My cacti logfile is as below
04/21/2008 01:20:43 AM - CMDPHP: Poller[0] Time: 2.0422 s, Theads: N/A, Hosts: 1
04/21/2008 12:55:44 AM - CMDPHP: Poller[0] Time: 2.0739 s, Theads: N/A, Hosts: 1
04/21/2008 12:30:05 AM - CMDPHP: Poller[0] Time: 0.2736 s, Theads: N/A, Hosts: 1
04/21/2008 12:05:02 AM - CMDPHP: Poller[0] Time: 0.3621 s, Theads: N/A, Hosts: 1
04/20/2008 11:25:02 PM - CMDPHP: Poller[0] Time: 0.2338 s, Theads: N/A, Hosts: 1
04/20/2008 11:00:02 PM - CMDPHP: Poller[0] Time: 0.2323 s, Theads: N/A, Hosts: 1
04/20/2008 10:35:03 PM - CMDPHP: Poller[0] Time: 0.3790 s, Theads: N/A, Hosts: 1
04/20/2008 10:10:04 PM - CMDPHP: Poller[0] Time: 0.2660 s, Theads: N/A, Hosts: 1
04/20/2008 09:45:03 PM - CMDPHP: Poller[0] Time: 0.3283 s, Theads: N/A, Hosts: 1
04/20/2008 09:20:01 PM - CMDPHP: Poller[0] Time: 0.2014 s, Theads: N/A, Hosts: 1
04/20/2008 08:55:08 PM - CMDPHP: Poller[0] Time: 0.7251 s, Theads: N/A, Hosts: 1
04/20/2008 08:30:03 PM - CMDPHP: Poller[0] Time: 0.1837 s, Theads: N/A, Hosts: 1
04/20/2008 08:20:02 PM - CMDPHP: Poller[0] Time: 0.2181 s, Theads: N/A, Hosts: 1
My polar cash log output
<< Previous Showing Rows 1 to 2 of 2 [1] Next >>
Data Source Name** Details
Cisco-Router - Traffic - 59.160.224.33 - Et1/3 SNMP Version: 2, Community: indscape, OID: .1.3.6.1.2.1.2.2.1.16.7
RRD: /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd
Cisco-Router - Traffic - 59.160.224.33 - Et1/3 SNMP Version: 2, Community: indscape, OID: .1.3.6.1.2.1.2.2.1.10.7
RRD: /var/www/html/cacti/rra/cisco-router_traffic_in_37.rrd
My SNMP Cash log
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 8 , Field Name: ifAlias , Field Value:
OID: .1.3.6.1.2.1.31.1.1.1.18.8
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 7 , Field Name: ifAlias , Field Value: VSNL DATA Gateway
OID: .1.3.6.1.2.1.31.1.1.1.18.7
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 6 , Field Name: ifAlias , Field Value: Upstream interface for voice network
OID: .1.3.6.1.2.1.31.1.1.1.18.6
Host: Cisco-Router , SNMP Query: SNMP - Interface Statistics
Index: 5 , Field Name: ifAlias , Field Value: Upstream interface for data network.
OID: .1.3.6.1.2.1.31.1.1.1.18.5
I think it is normal please suggest if any thing else i have to check.
- Attachments
-
- error3.JPG (142.16 KiB) Viewed 1608 times
Who is online
Users browsing this forum: No registered users and 1 guest