HELP: A Few Different Issues
Moderators: Developers, Moderators
HELP: A Few Different Issues
Hello all. I have been a user of cacti for probably two years now. Though I don't constantly run it, I have never had this many problems with setting it up before. I am not sure if it is my server where cacti is located or if it is SNMP on my remote servers. In short, here is what is going on.
I install cacti using the documentation here http://www.cacti.net/downloads/docs/htm ... _unix.html. I have never had an issue with these instructions until now. After I get it installed and running, I go to setup the another machine besides the local host machine. All of my templates work such as memory usage, ping latency and so on but the one that doesn't is the SNMP Interface Statistics. The Preview Graphs aren't getting built.
Other times, no graphs get built at all. The RRA files are being generated, yet no graphs are being generated. Any help is appreciated.
Distro: F7 (Fedora)
Daemons: Apache 2.2.4, PHP 5.2.2 (php-snmp is installed), MySQL is running on a remote server
Thanks again!
I install cacti using the documentation here http://www.cacti.net/downloads/docs/htm ... _unix.html. I have never had an issue with these instructions until now. After I get it installed and running, I go to setup the another machine besides the local host machine. All of my templates work such as memory usage, ping latency and so on but the one that doesn't is the SNMP Interface Statistics. The Preview Graphs aren't getting built.
Other times, no graphs get built at all. The RRA files are being generated, yet no graphs are being generated. Any help is appreciated.
Distro: F7 (Fedora)
Daemons: Apache 2.2.4, PHP 5.2.2 (php-snmp is installed), MySQL is running on a remote server
Thanks again!
Ok, so I looked a little further into the problem and once again, started from scratch. I installed the later version (0.8.6j) and then patched it with all of the patches. Then I added one server to it. Still same problems, plus more.
After the patches, the tree view had no servers in it at all. The preview graphs were generated but there was no data in them.
Any ideas now?
After the patches, the tree view had no servers in it at all. The preview graphs were generated but there was no data in them.
Any ideas now?
verify you set the rrdtool to the correct version # in your settings.dinux wrote:Funny thing... all I did was upgraded from 0.8.6h to 0.8.6j. No patches or anything until I noticed that the Unix Ping Latency graphs were there but there was no data in them in. Then I tried using the patch and that didn't work either.
Any other ideas?
My problem too...where's the graphs!?
Hi guys!
My reply unfortunately does not have any answers but rather more questions
I'm jumping onto the bandwagon as I'm running into the same problem!
Running 0.8.6j on Fedora core 6
php-5.1.6-3.6.fc6
mysql-5.0.22-2.1
httpd-2.2.3-5
net-snmp-5.3.1-15.fc6
net-snmp-utils-5.3.1-15.fc6
I am a first timer with cacti and am NEARLY NEARLY there....
I am able to connect (127.0.0.1) and query snmp on the local linux box that is running cacti....returns data and the graphs are running....only when I go to view the graphs through my browser there's nothing to be seen.....a page of whitespace and if viewed though IE6 (uuugh), good ol red x's ? ?
Any idea's to help us out!?
Thanks
JON
My reply unfortunately does not have any answers but rather more questions
I'm jumping onto the bandwagon as I'm running into the same problem!
Running 0.8.6j on Fedora core 6
php-5.1.6-3.6.fc6
mysql-5.0.22-2.1
httpd-2.2.3-5
net-snmp-5.3.1-15.fc6
net-snmp-utils-5.3.1-15.fc6
I am a first timer with cacti and am NEARLY NEARLY there....
I am able to connect (127.0.0.1) and query snmp on the local linux box that is running cacti....returns data and the graphs are running....only when I go to view the graphs through my browser there's nothing to be seen.....a page of whitespace and if viewed though IE6 (uuugh), good ol red x's ? ?
Any idea's to help us out!?
Thanks
JON
Hi gandalf, thanks for the reply!
I have tried running cacti with both rrdtool versions set?
At the moment I have RRDTool version 1.2.x set?
I have been receiving assistance from another cacti forum member who was trying to help...
Here is the exact breakdown as I e-mailed to him...
..my reply
TIA
JON
I have tried running cacti with both rrdtool versions set?
At the moment I have RRDTool version 1.2.x set?
I have been receiving assistance from another cacti forum member who was trying to help...
Here is the exact breakdown as I e-mailed to him...
He came back and asked whether I could see anything if I were to click on the red cross (x)I have am logging to cacti.log under DEBUG mode and it's nice and verbose....when viewed through the cacti browser I see that it also displays the data in a nicely readable and colour coded format. Tailing the file I cannot see any errors being logged...SQL calls etc are all occuring with no sign of error?
I am receiving data through the stdout on the screen however?? When I go to view the graphs through my browser I notice that the following is pumped through stdout...
...that output is displayed on the cacti server console screen as each respective graph is "viewed"...or at least when I try and view a graphs through my browser? ?Code: Select all
audit(1186754911.455:48): avc: denied {execute} for pid=3493 comm="httpd" name="bash" dev=dm-0 ino=2457630 scontext=root:system_r:httpd_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
Any ideas I would be very grateful!
TIA
JON
..my reply
I appreciate your time, sorry, if I'm overwhelming you but aside from researching and researching I'm running out of options!Hi,
Unfortunately not
When I click on the graph I can see that cacti takes one to a sort of history section whereby it displays that particular graphs history over the past week, month etc...
Only as each graph "populates" itself on the screen i see the stdout on the cacti box streaming these avc: denied {execute} type listings and the browser then returns the red X. The typical error in IE when it cannot link to a jpg for instance ? ?
Something in this code appears to be blocking/denying the building of the graphs for my browser? Do you know if the graphs are built dynamically when one tries to view them through their browser?? If so, it appears as though httpd is being "BLOCKED" from building/serving the data? ?
I'm flying off theories here...again as I mentioned, I'm still kinda new to the cacti way of doing things!
Thanks
JON
TIA
JON
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
That's obviously SELinux enabled. Either change the rules or-what-the-hell-the-stuff-is-called-there or deactivate itav8orjon wrote:Code: Select all
audit(1186754911.455:48): avc: denied {execute} for pid=3493 comm="httpd" name="bash" dev=dm-0 ino=2457630 scontext=root:system_r:httpd_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest