Hello,
Based on my research on this board i believe i'm experiencing the internal vs ucd-snmp problem.
I was able to get cacti0.6.8 working by changing the following code in the config.php.
$config["php_snmp_support"] = function_exists("snmpget");
to
$config["php_snmp_support"] = false;
However, i can't graph any other snmp data except my router interfaces. I'm trying to pull MB available from an IIS web server. I can snmpwalk it and get a valid return value but, not when attempting to let Cacti graph it. Does this have something to do with what i've commented out? Any idea?
The other problem i have is creating RRD files. I can copy the code to the command line and create them manually and then refresh the Cacti console and they'll be their but, i can't create them through the console. Any idea?
Thanks again for your efforts and generosity.
Brandon
Internal SNMP vs UCD-SNMP
Moderators: Developers, Moderators
It is quite possible that you are experiencing an internal vs. external SNMP problem. PHP's internal SNMP is really all over the place when it comes to unifying its output. Therefore I have to parse through all of it and try to get only a number back.
A few things to try though:
1) Make sure "update" logging is turned on and turn back on "internal SNMP support", then watch the log and see what kind of data cacti is feeding to the .rrd file.
2) Perhaps your "internal SNMP support" is broken. I think this was the case for SuSE 7.3 (I think). You could try recompliling a new PHP binary if that is the case.
I am not sure what you mean by "creating .rrd files from the console", because they should never be directly created from the console. The .rrd files are created when 'cmd.php' runs every five minutes. If the .rrd files only create when you run the command at the command line, check the user 'cmd.php' is running as to make sure it has write access to cacti's 'rra/' subdirectory.
-Ian
A few things to try though:
1) Make sure "update" logging is turned on and turn back on "internal SNMP support", then watch the log and see what kind of data cacti is feeding to the .rrd file.
2) Perhaps your "internal SNMP support" is broken. I think this was the case for SuSE 7.3 (I think). You could try recompliling a new PHP binary if that is the case.
I am not sure what you mean by "creating .rrd files from the console", because they should never be directly created from the console. The .rrd files are created when 'cmd.php' runs every five minutes. If the .rrd files only create when you run the command at the command line, check the user 'cmd.php' is running as to make sure it has write access to cacti's 'rra/' subdirectory.
-Ian
Who is online
Users browsing this forum: No registered users and 2 guests