"RRD does not exist" until saved in graph management
Moderators: Developers, Moderators
"RRD does not exist" until saved in graph management
After my upgrade to 0.8.8a, a large number of my graphs show as "RRD does not exist" when I bring them up in graph management. I make no changes, click save anyway, and when I bring the management page back up the graph loads normally, and is not missing data.
Cacti Version 0.8.8a
Cacti OS win32
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.9
Cacti Version 0.8.8a
Cacti OS win32
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.9
Re: "RRD does not exist" until saved in graph management
Screenshots and graph debug output of both scenarios described please.
| 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 |
Re: "RRD does not exist" until saved in graph management
I appreciate the help, BSOD, I normally have at least a clue where to start... seems permissions are fine, and the RRD file does exist. Also, Weathermap can generate maps with the latest data from the RRD. I can't find anything in logs that appears relevant to me.BSOD2600 wrote:Screenshots and graph debug output of both scenarios described please.
Graph Management before I click "save", with graph debug on:
http://i.imgur.com/OyI1T.png
Graph Management after I click "save", with graph debug on:
http://i.imgur.com/0q0T2.png
Re: "RRD does not exist" until saved in graph management
You're really using rrdtool 1.2 and not 1.4?
What are the steps to repro this bug?
What are the steps to repro this bug?
| 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 |
Re: "RRD does not exist" until saved in graph management
Yup, RRDTool version is at 1.2.30.0... and I'm now looking for a 1.4.x in windows flavor.BSOD2600 wrote:You're really using rrdtool 1.2 and not 1.4?
What are the steps to repro this bug?
History:
I updated to .8.8a, and noticed several of the graphs that were linked to in weathermap were coming up as RRD does not exist. I, in once case, noticed the data concerning the outbound datasource was empty and the RRD does not exist image was up... so I corrected the entry and saved the changes. That fixed it.
Soon after, I found another RRD DNE image and it's outbound datasouce was ok. I clicked save anyway and when I reloaded the page the graph was there with no missing data. It is reproducible for me for any network graph that currently displays the RRD Does Not Exist image.
Steps to reproduce:
Once a graph image with "RRD Does Not Exist" is found, I find it in graph management, click save, and reload the page. It has worked for me 100% of the time.
Re: "RRD does not exist" until saved in graph management
Sadly no one in the community has maintained a win32 build since 1.2.x. A special win32 build of rrdtool 1.4.3 is included with the Windows installer though.MU-IT wrote:Yup, RRDTool version is at 1.2.30.0... and I'm now looking for a 1.4.x in windows flavor.BSOD2600 wrote:You're really using rrdtool 1.2 and not 1.4?
What are the steps to repro this bug?
Are you certain this isn't a weathermap bug? None of the traffic graphs in my 0.8.8a installation are having this issue.MU-IT wrote:I updated to .8.8a, and noticed several of the graphs that were linked to in weathermap were coming up as RRD does not exist.
Right, but how does one end up with the "RRD Does Not Exist" situation to begin with?MU-IT wrote:Steps to reproduce:
Once a graph image with "RRD Does Not Exist" is found, I find it in graph management, click save, and reload the page. It has worked for me 100% of the time.
| 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 |
Re: "RRD does not exist" until saved in graph management
I haven't yet updated the RRD tool. Is this really likely to be the issue? I'm honestly a little afraid of toying with it.BSOD2600 wrote:Sadly no one in the community has maintained a win32 build since 1.2.x. A special win32 build of rrdtool 1.4.3 is included with the Windows installer though.MU-IT wrote:Yup, RRDTool version is at 1.2.30.0... and I'm now looking for a 1.4.x in windows flavor.BSOD2600 wrote:You're really using rrdtool 1.2 and not 1.4?
What are the steps to repro this bug?
Are you certain this isn't a weathermap bug? None of the traffic graphs in my 0.8.8a installation are having this issue.MU-IT wrote:I updated to .8.8a, and noticed several of the graphs that were linked to in weathermap were coming up as RRD does not exist.
Right, but how does one end up with the "RRD Does Not Exist" situation to begin with?MU-IT wrote:Steps to reproduce:
Once a graph image with "RRD Does Not Exist" is found, I find it in graph management, click save, and reload the page. It has worked for me 100% of the time.
I am certain this isn't a weathermap bug, RRD's not linked in weathermap are behaving this way, as well. When i go through the saving process in graph management, the RRDs work in weathermap again. Same for RRDs not in weathermap... i just noticed the issue via weathermap, is all.
I've compared a working rrd file to a not-working RRD file and can see no issues with permissions. I also can't see where anything changes when comparing the files before/after fixing them.
I really appreciate your insight and help you give us all BSOD.
Re: "RRD does not exist" until saved in graph management
Are you able to capture this error occurring with sysinternals process monitor?
It's odd that one moment you get the "RRD Does Not Exist" error, and then later it works. Sure your antivirus/other isn't at fault?
It's odd that one moment you get the "RRD Does Not Exist" error, and then later it works. Sure your antivirus/other isn't at fault?
| 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 |
Re: "RRD does not exist" until saved in graph management
I don't see anything obvious in procmon.. apparently php.exe is looking all over for cmd.exe, which is weird, but unrelated.BSOD2600 wrote:Are you able to capture this error occurring with sysinternals process monitor?
It's odd that one moment you get the "RRD Does Not Exist" error, and then later it works. Sure your antivirus/other isn't at fault?
I have a hunch that it's database related, and whatever magic is being done by clicking "save" in the graph management re-establishes some entry that's gone amok in the DB.
Re: "RRD does not exist" until saved in graph management
php.exe launches cmd.exe, which in tern launches rrdtool.exe (and any other script processes). This is all done under the web server's service account. If cmd.exe is denied launching, then all of cacti's processes break down.
| 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 |
Re: "RRD does not exist" until saved in graph management
I've verified permissions are correct per the how-tos in your sig. Since the graphs are shown after I click the save button in graph management, and they have valid data from before I clicked save, I assume that the rrdtool was able to do its job.BSOD2600 wrote:php.exe launches cmd.exe, which in tern launches rrdtool.exe (and any other script processes). This is all done under the web server's service account. If cmd.exe is denied launching, then all of cacti's processes break down.
it doesn't seem to be a database corruption, I run the usual "mysqlcheck -orc" daily on all databases via scheduled task. The log I pipe it to doesn't show any errors/warnings/etc.
Re: "RRD does not exist" until saved in graph management
Are you able to repro this issue on demand now? if so, what are the steps? Have you ruled out Weathermap is not the culprit by disabling/uninstalling the plugin?
| 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 |
-
- Posts: 7
- Joined: Sun Feb 16, 2014 9:10 pm
Re: "RRD does not exist" until saved in graph management
Sorry to resurrect an old post but I have the same issue with my graphs displaying "RRD File Does Not Exist" even though they files actually do exist. I am not using the Weathermap. What seems to have triggered it was changing the graph template on my existing graphs (they still displayed correctly after this change) and then changing the graph template back to what it was. It was after this second change that they all started the RRD file does not exist thing. I can get the graphs to display as stated above by going in to each graph and hitting the save button. I do not have to turn on graph debugging, just the clicking save is enough. Hoping there is a quicker way to fix two hundred plus graphs rather than going into each one individually. Any suggestions?
Re: "RRD does not exist" until saved in graph management
screenshots and graph debug output please. cacti and rrdtool version 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 |
-
- Posts: 7
- Joined: Sun Feb 16, 2014 9:10 pm
Re: "RRD does not exist" until saved in graph management
Here you go:
Cacti is 8.8A
RRDTool is 1.4.5
Cacti is 8.8A
RRDTool is 1.4.5
- Attachments
-
- RRD File Missing with Debug.jpg (74.01 KiB) Viewed 4028 times
Who is online
Users browsing this forum: No registered users and 0 guests