Graphs not appearing
Moderators: Developers, Moderators
Graphs not appearing
Hi,
Just installed and configured cacti (latest version) along with other appropriate software such as net-snmp/php etc. I have created a new device to monitor, and cacti reads the SNMP info from it ok, however it does not create any images when i go to view the graphs - see attached picture.
Thanks
Just installed and configured cacti (latest version) along with other appropriate software such as net-snmp/php etc. I have created a new device to monitor, and cacti reads the SNMP info from it ok, however it does not create any images when i go to view the graphs - see attached picture.
Thanks
- Attachments
-
- cacti.jpg (132.3 KiB) Viewed 2480 times
seem to have found something which may be causing it, part is in bold
where it lists c:\:\files etc, obviously seems wrong..how change i change this setting?
Code: Select all
C:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-604800 \
--end=-1800 \
--title="localhost - Used Space - A:" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
[b]DEF:a="c\:\files\dev\cacti/rra/localhost_hdd_total_10.rrd":hdd_total:AVERAGE \
DEF:b="c\:\files\dev\cacti/rra/localhost_hdd_total_10.rrd":hdd_used:AVERAGE \[/b]
AREA:a#002A97:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
where it lists c:\:\files etc, obviously seems wrong..how change i change this setting?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The default templates are for unix/linux machines. You need to 1) enable snmp on your Windoz box 2) Delete the localhost device 3) Add a new device utilizing snmp with host template "Windoz" 4) Create graphs.
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?
Have done, i can query it without an issue.1) enable snmp on your Windoz box
Have done.2) Delete the localhost device
Have done.3) Add a new device utilizing snmp with host template "Windoz"
Have done.4) Create graph
There is no errors/problems throughout the whole process, everything appears to have worked until it comes to viewing the graphs..
The post where i pasted code, the real hostname was replaced with localhost for security reasons, sorry if that caused confusion, i am definitely querying a LAN address, not localhost.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Make sure your rrdtool version is correct: "Settings->General"
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?
Just to make things interesting, i installed and configured a new installation on a remote windows server 2003 box. followed the cacti.net install instructions, deleted localhost template, added a new device (which cacti retrieved the info from ok) told it to create the graphs, arranged them into the default tree. when viewing the graphs, they are listed, but there is no images to speak of, and nothing except .placeholder in c:/dev/www/cacti/rra/
either my config is screwed, or cacti has a nice big bug...suggestions are welcome
either my config is screwed, or cacti has a nice big bug...suggestions are welcome
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Goto Settings->General and set logging to Debug. Then, when your scheduled poller task runs next you should be information in the Log. Post that data.
Optionally, you can simply run the following sequences of commands from a command line:
php <path_cacti>/cmd.php
and
php <path_cacti>/poller.php
Please also insure that your have the correct Paths under Settings->Paths that include the entire path including the file name/extension.
If you are runninng PHP 5.x, make sure that your setting for the PHP Path is PHP-WIN.EXE.
Last thing, make sure that you have the correct PHP Extensions loaded:
PHP -M
MySQL
Sockets
SNMP
TheWitness
Optionally, you can simply run the following sequences of commands from a command line:
php <path_cacti>/cmd.php
and
php <path_cacti>/poller.php
Please also insure that your have the correct Paths under Settings->Paths that include the entire path including the file name/extension.
If you are runninng PHP 5.x, make sure that your setting for the PHP Path is PHP-WIN.EXE.
Last thing, make sure that you have the correct PHP Extensions loaded:
PHP -M
MySQL
Sockets
SNMP
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?
Having same problem
Hi guys, i'm having this problem in a FreeBSD Box.
Everything seems to be ok, but the graphs simply don't appear.
I instaled PHP, Mysql, net-snmp, rrdtool...
Now I'll check the modules as listed above, and then I'm thinking to reinstall PHP and RRDtool.
Thankx
Everything seems to be ok, but the graphs simply don't appear.
I instaled PHP, Mysql, net-snmp, rrdtool...
Now I'll check the modules as listed above, and then I'm thinking to reinstall PHP and RRDtool.
Thankx
<b>BSDSul</b>
<i>Jesus Christ, forever the Lord!</i><br \>
<i>FreeBSD, the true operating System!</i>
<i><b> Help the Pampa Republic to be independent!</i></b>
<i>Jesus Christ, forever the Lord!</i><br \>
<i>FreeBSD, the true operating System!</i>
<i><b> Help the Pampa Republic to be independent!</i></b>
Problem continue
Hi, the problem is still boring me, i recompile from source php 5.0.4, and in the modules section it appears all the needed modules, mysql, sockets, snmp... now i will update the rrdtool, i think that it is the font of my problems... by the way, how i do the test to see what rrdtoll is doing... rrdtool info did'nt work
<b>BSDSul</b>
<i>Jesus Christ, forever the Lord!</i><br \>
<i>FreeBSD, the true operating System!</i>
<i><b> Help the Pampa Republic to be independent!</i></b>
<i>Jesus Christ, forever the Lord!</i><br \>
<i>FreeBSD, the true operating System!</i>
<i><b> Help the Pampa Republic to be independent!</i></b>
Who is online
Users browsing this forum: No registered users and 2 guests