cannot see any graphics
Moderators: Developers, Moderators
cannot see any graphics
I have created many graphs but when i try to see it a cannto see anything. When I click the icon tool the message i see is the following:
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="caliope - Traffic - 172.26.0.1 (en1; Product: n)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Archivos de programa\Apache Group\Apache2\htdocs\cacti/rra/caliope_traffic_in_13.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Archivos de programa\Apache Group\Apache2\htdocs\cacti/rra/caliope_traffic_in_13.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="caliope - Traffic - 172.26.0.1 (en1; Product: n)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Archivos de programa\Apache Group\Apache2\htdocs\cacti/rra/caliope_traffic_in_13.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Archivos de programa\Apache Group\Apache2\htdocs\cacti/rra/caliope_traffic_in_13.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Cacti does not support filenames with spaces. Please move your web root to somewhere else. I suggest something like "C:/wwwroot/cacti"
TheWitneww
TheWitneww
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?
I have done what you have suggested to my and I have move the apache server to c:\apache\apache2 but it doesn´t work. The message now when I try to see the graph is somethin similar to what I posted. I can see somethin like a bug in the line DEF. If you see
DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_in:AVERAGE \
What about C\:\ ?
Can you help me with this ?
:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=1115278934 \
--end=1115365334 \
--title="caliope - Traffic - 128.0.3.1 (en0; Product: n)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/05/05 09:42:14 To 2005/05/06 09:42:14\c" \
COMMENT:"\n" \
--vertical-label="bits per second" \
DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
If you see the lines DEF I can see something like a bug:
DEF
DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_in:AVERAGE \
What about C\:\ ?
Can you help me with this ?
:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=1115278934 \
--end=1115365334 \
--title="caliope - Traffic - 128.0.3.1 (en0; Product: n)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/05/05 09:42:14 To 2005/05/06 09:42:14\c" \
COMMENT:"\n" \
--vertical-label="bits per second" \
DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache\Apache2\htdocs\cacti/rra/caliope_traffic_in_14.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
If you see the lines DEF I can see something like a bug:
DEF
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Pre-Checks:
1) Under Settings->Paths, please insure you are running c:\php\php-win.exe, if you are running PHP 5.x.
2) Make sure your poller is scheduled "c:\php\php.exe <path_cacti>\poller.php"
Debugging:
1) Set Logging level to DEBUG
2) Run "php.exe <path_cacti>/cmd.php" and review output
3) Run "php.exe <path_cacti>/poller.php" and review output
Post as you see fit.
TheWitness
1) Under Settings->Paths, please insure you are running c:\php\php-win.exe, if you are running PHP 5.x.
2) Make sure your poller is scheduled "c:\php\php.exe <path_cacti>\poller.php"
Debugging:
1) Set Logging level to DEBUG
2) Run "php.exe <path_cacti>/cmd.php" and review output
3) Run "php.exe <path_cacti>/poller.php" and review output
Post as you see fit.
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?
View the poller cache and look for what OID caliope_traffic_in_14.rrd is trying to poll. Manually verify it is valid with snmpget or getif. You might need to reindex the interfaces for that host. Go to the device and click on the little green circle next to snmp interface query.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
almost there
I have the same problems as above. I have found that puting the new cmd.php and the orig poller.php in the cacti dir will give some results if you run them by hand cmd first and then poller.
I also had caps in the schedule run command (C:\ not c:\)
Now if I run cmd.php and then poller.php I get updates to my rdd files. The poller.php still comes up with "Waiting on 2/2 pollers." after many "OK"s and I have to cancel it, but it puts new data into the files?????????????????
I also had caps in the schedule run command (C:\ not c:\)
Now if I run cmd.php and then poller.php I get updates to my rdd files. The poller.php still comes up with "Waiting on 2/2 pollers." after many "OK"s and I have to cancel it, but it puts new data into the files?????????????????
hellow....
what about if ive got this error
C:\>D:\webserver\php\php.exe D:\webserver\www\cacti\cmd.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Content-type: text/html
X-Powered-By: PHP/4.3.10
what about if ive got this error
C:\>D:\webserver\php\php.exe D:\webserver\www\cacti\cmd.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Content-type: text/html
X-Powered-By: PHP/4.3.10
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The error with the SNMP error messages can be solved two different ways:
1) Create the MIBDIRS environment variable and point it to the MIBS directory
2) Install Net SNMP (minus its agent) and poing the MIBDIRS variable at it's MIBS directory.
TheWitness
1) Create the MIBDIRS environment variable and point it to the MIBS directory
2) Install Net SNMP (minus its agent) and poing the MIBDIRS variable at it's MIBS directory.
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 2 guests