Not getting Graphs & not Text display
Moderators: Developers, Moderators
Not getting Graphs & not Text display
I'm having a problem getting my graphs to show up in all cases. I can look at the router and of the 4 graphs I ask it to display maybe only two will show.
So in an effort to fix this I loaded RRD 1.2.9. (This is when I lost the text display). So I found a post dealing with the no text issue but have not gotten it to fix my problems. In the post it states that I need to setup a path to a windows font that I did but not to the font that's listed in the post. So I must have some other issues. Where would be a good starting point to find my problem? Shall I roll back to the previous version of RRD and try to resolve the missing graph issue or push onward on the path I'm currently on.
Thanks for any assistance
So in an effort to fix this I loaded RRD 1.2.9. (This is when I lost the text display). So I found a post dealing with the no text issue but have not gotten it to fix my problems. In the post it states that I need to setup a path to a windows font that I did but not to the font that's listed in the post. So I must have some other issues. Where would be a good starting point to find my problem? Shall I roll back to the previous version of RRD and try to resolve the missing graph issue or push onward on the path I'm currently on.
Thanks for any assistance
1) If you go back to rrdtool 1.0.x, do the graphs appear fine?
2) Did you set the RRD_DEFAULT_FONT variable?
3) Did you specify the full path to the font in Cacti?
4) What cacti version? Did you apply the rrdtool 1.2 patch?
2) Did you set the RRD_DEFAULT_FONT variable?
3) Did you specify the full path to the font in Cacti?
4) What cacti version? Did you apply the rrdtool 1.2 patch?
| 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 |
I managed to get the text on the graphs to show now. But I'm still not getting all of the graphs to build. Should I install the patches?
And If so how do I load it? I tried running the command wget from the command line but it can't find the command wget. Is that a perl command?
Thanks for answering my post.
And If so how do I load it? I tried running the command wget from the command line but it can't find the command wget. Is that a perl command?
Thanks for answering my post.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
BSOD,
This sounds very familiar. I have seen other users who's IIS config is just not working as it should with some devices. Can't explain it at all. Graph Debug just locks up from Graph Management as well. That said, the only server platform that I have seen it on is W2003 server and not W2K.
Oh, by the way, you seemed to have gained a new Title in life. Congrats!!!
Larry
This sounds very familiar. I have seen other users who's IIS config is just not working as it should with some devices. Can't explain it at all. Graph Debug just locks up from Graph Management as well. That said, the only server platform that I have seen it on is W2003 server and not W2K.
Oh, by the way, you seemed to have gained a new Title in life. Congrats!!!
Larry
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?
kdsm: wget is part of cygwin. Run the setup and look for the component to install. Alternatively, you can install the precompiled patches too. http://www.cacti.net/downloads/patches/ ... e-patched/
Turn on logging of Web RRD Graph Syntax temporarily. Then view the graph(s) which do not work. Look in the log file for what the syntax cacti was trying to send to rrdtool. Manually run the same command; does it work? When it does not work with Cacti, does the CPU usage jump up?
Does going back to graphing with rrdtool 1.0.49 work (it won't if the rrd files where initially created with rrdtool 1.2.x) ?
TheWitness: gracias senor I'm working in different states on the weekends now, so not around as much...
Turn on logging of Web RRD Graph Syntax temporarily. Then view the graph(s) which do not work. Look in the log file for what the syntax cacti was trying to send to rrdtool. Manually run the same command; does it work? When it does not work with Cacti, does the CPU usage jump up?
Does going back to graphing with rrdtool 1.0.49 work (it won't if the rrd files where initially created with rrdtool 1.2.x) ?
TheWitness: gracias senor I'm working in different states on the weekends now, so not around as much...
| 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 |
Thanks for your input.
I decieded to delete all the data input and build one new just to make sure that the graphs were created under the same versions.
Nothing changed there. So, I installed the patches and I get this error message when I try logging in.
Warning: main(c:\inetpub\wwwroot\cacti\include/config_settings.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\cacti\include\config.php on line 108
Warning: main(): Failed opening 'c:\inetpub\wwwroot\cacti\include/config_settings.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\cacti\include\config.php on line 108
There's also an error when I run the polling from a command line.
It reads
C:\Inetpub\wwwroot\cacti>c:\php\php.exe c:\inetpub\wwwroot\cacti\poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.10
<br />
<b>Warning</b>: main(c:\inetpub\wwwroot\cacti\include/config_settings.php): failed
to open stream: No such file or directory in <b>c:\inetpub\wwwroot\cacti\include\c
onfig.php</b> on line <b>109</b><br />
<br />
<b>Warning</b>: main(): Failed opening 'c:\inetpub\wwwroot\cacti\include/config_se
ttings.php' for inclusion (include_path='.;c:\php4\pear') in <b>c:\inetpub\wwwroot\
cacti\include\config.php</b> on line <b>109</b><br />
There are no items in your poller cache or polling is disabled. Make sure you have
at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
I think I may roll the patches back and do your idea about turning on logging. But, could you tell me what I did wrong on the patches?
I decieded to delete all the data input and build one new just to make sure that the graphs were created under the same versions.
Nothing changed there. So, I installed the patches and I get this error message when I try logging in.
Warning: main(c:\inetpub\wwwroot\cacti\include/config_settings.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\cacti\include\config.php on line 108
Warning: main(): Failed opening 'c:\inetpub\wwwroot\cacti\include/config_settings.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\cacti\include\config.php on line 108
There's also an error when I run the polling from a command line.
It reads
C:\Inetpub\wwwroot\cacti>c:\php\php.exe c:\inetpub\wwwroot\cacti\poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.10
<br />
<b>Warning</b>: main(c:\inetpub\wwwroot\cacti\include/config_settings.php): failed
to open stream: No such file or directory in <b>c:\inetpub\wwwroot\cacti\include\c
onfig.php</b> on line <b>109</b><br />
<br />
<b>Warning</b>: main(): Failed opening 'c:\inetpub\wwwroot\cacti\include/config_se
ttings.php' for inclusion (include_path='.;c:\php4\pear') in <b>c:\inetpub\wwwroot\
cacti\include\config.php</b> on line <b>109</b><br />
There are no items in your poller cache or polling is disabled. Make sure you have
at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
I think I may roll the patches back and do your idea about turning on logging. But, could you tell me what I did wrong on the patches?
How did you install the patches? Which ones did you attempt to install? Used the pre-patched files and overwrote your existing ones? Used the wget method (I would suggest this method)?
The new files have the correct user permissions?
Rolling back to original cacti 0.8.6d files, do the error messages go away?
The new files have the correct user permissions?
Rolling back to original cacti 0.8.6d files, do the error messages go away?
| 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 |
If I roll back the error messages do go away.
The way I did it was cut a past the text off the download web site to a text file on my server. Rename it to the php extension and moved them into there respetive diretories. The files I copied in were cmd.php, config_settings.php poller.php & rrd.php.
I would be happy to try wget if there's a document I can read to show me what is needed and how to do it.
OH, and the secury is granted at the folder level so the files should have the needed permissions.
Thanks for hanging in there with me on this one.
The way I did it was cut a past the text off the download web site to a text file on my server. Rename it to the php extension and moved them into there respetive diretories. The files I copied in were cmd.php, config_settings.php poller.php & rrd.php.
I would be happy to try wget if there's a document I can read to show me what is needed and how to do it.
OH, and the secury is granted at the folder level so the files should have the needed permissions.
Thanks for hanging in there with me on this one.
Ahh, so you didn't properly patch the files. The .patch file is not the complete file, just the additional lines that need to be added/removed. wget can be found in the cygwin setup. I believe you'll need another program too.
| 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 |
But isn't the files at http://www.cacti.net/downloads/patches/ ... e-patched/ the complete file? That's what I tried copying to my server.
Anyway I loaded just wget off there web page and have tried to download those files from the download site but it just ends with a failed message.
We are behind a firewall but I've configured the wgetrc file (config) to allow for that. Will cygwin offer more to this process?
Lost in the cacti maze.....
Anyway I loaded just wget off there web page and have tried to download those files from the download site but it just ends with a failed message.
We are behind a firewall but I've configured the wgetrc file (config) to allow for that. Will cygwin offer more to this process?
Lost in the cacti maze.....
Yes, the files from that portion of the site are the full thing.
Yes, you must use the wget and patch, from cygwin. The standard binarys from any linux distro will not work.
Fire up cygwin setup. Change the view to Full. Install patch and wget. Then try the instructions on http://www.cacti.net/download_patches.p ... ion=0.8.6d.
One could bypass all this patching with just upgrading to cacti 0.8.6e too...
Yes, you must use the wget and patch, from cygwin. The standard binarys from any linux distro will not work.
Fire up cygwin setup. Change the view to Full. Install patch and wget. Then try the instructions on http://www.cacti.net/download_patches.p ... ion=0.8.6d.
One could bypass all this patching with just upgrading to cacti 0.8.6e too...
| 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 |
I made the update to 0.8.6e without any major issues. But, I'm still not getting graphs generated for traffic.
I did find this message in the log file
06/24/2005 09:07:09 AM - SYSTEM STATS: Time: 8.1730 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 101, RRDs Processed 53
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[901] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[901] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[902] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[902] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[906] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[906] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[907] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[907] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:04 AM - SYSTEM STATS: Time: 4.1463 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 101, RRDs Processed 53
So I guess the snmp is not getting everyting it needs.
I'm using net-snmp 5.2.1 and have the path set up as follow in settings.
c:\net-snmp\bin\snmpwalk.exe
c:\net-snmp\bin\snmpget.exe
What elses should I look at to resolve this last issue?
thanks for your help
I did find this message in the log file
06/24/2005 09:07:09 AM - SYSTEM STATS: Time: 8.1730 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 101, RRDs Processed 53
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[901] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[901] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[902] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[902] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[906] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[906] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[907] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:01 AM - CMDPHP: Poller[0] Host[34] DS[907] WARNING: Result from SNMP not valid. Partial Result:
06/24/2005 09:12:04 AM - SYSTEM STATS: Time: 4.1463 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 101, RRDs Processed 53
So I guess the snmp is not getting everyting it needs.
I'm using net-snmp 5.2.1 and have the path set up as follow in settings.
c:\net-snmp\bin\snmpwalk.exe
c:\net-snmp\bin\snmpget.exe
What elses should I look at to resolve this last issue?
thanks for your help
Who is online
Users browsing this forum: No registered users and 0 guests