[CentOS] Cacti/snmp question

Mon Jun 14 20:38:17 UTC 2010
Mathew S. McCarrell <mccarrms at gmail.com>

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-0005.html>