I haven't added any graphs to Cacti in a month or two, but now when I try to add a new graph, there is no graph generated. When I look at the data source I see the following. Any ideas where I should start to fix this? All of my current graphs are still updating correctly, so I'm pretty sure it's not a permissions problem. I'm just not sure what I screwed up!
I am presenting my Master's thesis next week and a large portion of it involves how I utilized Cacti to monitor the network where I work, so I would LOVE (to say the least) to have this working for my presentation! Please help!
CANNOT FIND DATA SOURCE: /www/htdocs/cacti///rra/155_138_96_2__traf_.rrd
/usr/local/cactisetup/rrdtool/src/rrdtool create \
/www/htdocs/cacti///rra/155_138_96_2__traf_.rrd \
--step 300 \
DS:155_138_96_2__traf_:COUNTER:600:0:100000000 \
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 \
No longer creating graphs? CANNOT FIND DATA SOURCE:
Moderators: Developers, Moderators
No longer creating graphs? CANNOT FIND DATA SOURCE:
Matt Sommer, CCNA
Saginaw Valley State University, IT Services
University Center, MI
Saginaw Valley State University, IT Services
University Center, MI
In addition...
Oh, I don't see any errors when I run cmd.php from the command line either. ?? Is there another step I could use to further trouble-shoot this? I'm open to suggestions.
Also, worst case scenario time:
If I cannot get this working correctly in the next few days, how difficult is it to create a new installation of Cacti and import my current database?
Also, worst case scenario time:
If I cannot get this working correctly in the next few days, how difficult is it to create a new installation of Cacti and import my current database?
Matt Sommer, CCNA
Saginaw Valley State University, IT Services
University Center, MI
Saginaw Valley State University, IT Services
University Center, MI
Can you see if " /www/htdocs/cacti///rra/155_138_96_2__traf_.rrd" exists? You may want to check your cacti settings for the rra path. You have triple "/" in there. I know this is not normally a problem. Also, check to see if rra/ and log/ has the proper permissions. I've had that before.
Good luck!
-Mike
Good luck!
-Mike
No .rrd, no graphy
Thanks Mike,
No, "/www/htdocs/cacti///rra/155_138_96_2__traf.rrd" does not exist. I'm certain that's where the problem lies, but I'm not sure why the .rrd is not being created in the first place. I'm going to check out your other suggestions and get back with you.
-Matt
No, "/www/htdocs/cacti///rra/155_138_96_2__traf.rrd" does not exist. I'm certain that's where the problem lies, but I'm not sure why the .rrd is not being created in the first place. I'm going to check out your other suggestions and get back with you.
-Matt
Strider wrote:Can you see if " /www/htdocs/cacti///rra/155_138_96_2__traf_.rrd" exists? You may want to check your cacti settings for the rra path. You have triple "/" in there. I know this is not normally a problem. Also, check to see if rra/ and log/ has the proper permissions. I've had that before.
Good luck!
-Mike
Matt Sommer, CCNA
Saginaw Valley State University, IT Services
University Center, MI
Saginaw Valley State University, IT Services
University Center, MI
OK I'm WORKING!!!!!
OK, I'm still not sure exactly what was happening, but I'll give you all the info I have and see if you guys have any thoughts on why new graphs were not being created.
I found out that the cmd.php process was taking over 5 minutes to complete. So, my guess is that while the previous process was running, it locks the .rrd files or maybe the whole /rra directory until it is finished?
All I did to get it to start working is play around with the permissions a little (don't think that was it because everything had been set OK initially, I just changed them and changed 'em back).
I did delete 100+ data sources that I really didn't need. I also found that 4 of the data sources were referring to a switch that had been removed from the network and was causing some major delays while waiting for a timeout when cmd.php was run.
If the cmd.php process is taking longer than 5 minutes to run, is this one of the problems that would manifest itself?? I'm interested in your thoughts on this--obviously, I'm no expert.
Thanks Striker for your input. It got me going in the right direction.
-Matt
Matt Sommer, CCNA
Saginaw Valley State University, IT Services
University Center, MI
Saginaw Valley State University, IT Services
University Center, MI
Who is online
Users browsing this forum: No registered users and 8 guests