Hi, Trying to follow the recipe at http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x Which has a bit of an update for 5.x, but no joy. Anyone know what this from Cacti should suggest? Data Query Debug Information + Running data query [9]. + Found type = '6 '[script query]. + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + XML file parsed ok. + Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: index' + Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: query index' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' The problem is that's returning no information to Cacti to any of the SNMP queries. My whole goal here is to get something working to graph CPU core use on a handful of systems. Or is there a better tool than Cacti (or better documented - hopefully in the form of simple recipe rather than many haphazard - often out-of-date - pages of RTFM)? Cacti admits to serious security flaws, not that this'll go on the public net, but I'd be happier to run something safer nontheless. Thanks, Whit
On Mon, Jun 14, 2010 at 4:29 PM, Whit Blauvelt <whit at transpect.com> wrote:> Hi, > > Trying to follow the recipe at > > http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x > > Which has a bit of an update for 5.x, but no joy. > > Anyone know what this from Cacti should suggest? > > Data Query Debug Information > + Running data query [9]. > + Found type = '6 '[script query]. > + Found data query XML file at > '/var/www/cacti/resource/script_server/host_cpu.xml' > + XML file parsed ok. > + Executing script for list of indexes '/usr/bin/php -q > /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 > 2:161:500:1:10:public:::MD5::DES: index' > + Executing script query '/usr/bin/php -q > /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 > 2:161:500:1:10:public:::MD5::DES: query index' > + Found data query XML file at > '/var/www/cacti/resource/script_server/host_cpu.xml' > + Found data query XML file at > '/var/www/cacti/resource/script_server/host_cpu.xml' > + Found data query XML file at > '/var/www/cacti/resource/script_server/host_cpu.xml' > > The problem is that's returning no information to Cacti to any of the SNMP > queries. > > My whole goal here is to get something working to graph CPU core use on a > handful of systems. > > Or is there a better tool than Cacti (or better documented - hopefully in > the form of simple recipe rather than many haphazard - often out-of-date - > pages of RTFM)? Cacti admits to serious security flaws, not that this'll go > on the public net, but I'd be happier to run something safer nontheless. > > Thanks, > Whit > >I don't have an exact answer for you but you may find this tutorial useful. http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5 <http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5>You may find this information useful as well, even if it's specific to the environment it's used in. http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP <http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP> HTH, Matt -- Mathew S. McCarrell Clarkson University '10 mccarrms at gmail.com mccarrms at clarkson.edu 1-518-314-9214 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100614/bf1ef234/attachment-0001.html>
Am 14.06.2010 22:29, schrieb Whit Blauvelt:> The problem is that's returning no information to Cacti to any of the SNMP queries. > > My whole goal here is to get something working to graph CPU core use on a > handful of systems. > > Or is there a better tool than Cacti (or better documented - hopefully in > the form of simple recipe rather than many haphazard - often out-of-date - > pages of RTFM)? Cacti admits to serious security flaws, not that this'll go > on the public net, but I'd be happier to run something safer nontheless.You can try Munin for this. regards, Detlef
On 6/14/2010 3:29 PM, Whit Blauvelt wrote:> Hi, > > Trying to follow the recipe at > > http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x > > Which has a bit of an update for 5.x, but no joy. > > Anyone know what this from Cacti should suggest? > > Data Query Debug Information > + Running data query [9]. > + Found type = '6 '[script query]. > + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' > + XML file parsed ok. > + Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: index' > + Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: query index' > + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' > + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' > + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' > > The problem is that's returning no information to Cacti to any of the SNMP queries. > > My whole goal here is to get something working to graph CPU core use on a > handful of systems. > > Or is there a better tool than Cacti (or better documented - hopefully in > the form of simple recipe rather than many haphazard - often out-of-date - > pages of RTFM)? Cacti admits to serious security flaws, not that this'll go > on the public net, but I'd be happier to run something safer nontheless.I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. And I think your SNMP server setup is the real problem. Do you get a response with snmpwalk using the same community name? -- Les Mikesell lesmikesell at gmail.com
On Mon, Jun 14, 2010 at 04:38:17PM -0400, Mathew S. McCarrell wrote:> I don't have an exact answer for you but you may find this tutorial > useful. > http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5Thanks. That summarizes nicely the steps I've taken. It's a bit better put together that the several sets of instructions I was working from. The steps it shows are exactly what I ended up doing though.> You may find this information useful as well, even if it's specific to the > environment it's used in. > http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMPShould be useful when I extend our Nagios monitoring to include snmp data. We're using Nagios extensively, but it doesn't seem suited to the sort of load graphing we need for our CPU cores - or if it is it's a side of Nagios I'm unfamiliar with (which could be, it's nicely extensible). Whit