Cacti poller ?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

droid
Posts: 1
Joined: Mon Jan 30, 2006 6:28 am

Another Benchmark

Post by droid »

We use CACTI to poll some 170+ servers.
Average of about 15 graphs per machine.

We started using cactid once the cmd.php poller started taking too long (250+ sec).

So... here's a benchmark for you:

01/30/2006 02:22:46 PM - SYSTEM STATS: Time: 111.2935 s, Method: cactid, Processes: 1, Threads: 20, Hosts: 176, Hosts/Process: 176

Machine is running Debian stable, NET SNMP 5.1.2-6.1
HW: IBM x335 - 1x Xeon 2.4 Ghz, 1GB RAM

Cacti is one f**ing great tool to work with.
It dazzles all of our clients with amazing graphs and leaves them speachless while they scrible the sums on the cheques ;)

Thanks for this great tool, guys!
zheka
Posts: 44
Joined: Tue May 23, 2006 11:52 am

Post by zheka »

TheWitness wrote:Your cacti.log file is too big. Please implement management such as logrot. Also, to get rid of the net-snmp message, please upgrade to 5.2.x.

TheWitness
Hi dude!!!

Sorry to bring up this subject again, but after upgrading to net-snmp-5.2.1.2-fc4.1 I still have this errors:

No log handling enabled - turning on stderr logging
read_config_store open failure on /var/net-snmp/cactid.conf
read_config_store open failure on /var/net-snmp/cactid.conf
read_config_store open failure on /var/net-snmp/cactid.conf

And somehow I can't have cactid run from crontab:

*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/web/poller.php > /dev/null 2>&1
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Interesting, Cactid 0.8.6i should be released soon. Let's see if that has any affect. Oh, and if you create that file and give the poller user permission to update it, does the problem go away?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
craigmock
Posts: 9
Joined: Tue Jul 01, 2003 3:39 pm

Post by craigmock »

Try doing the following:


mkdir /var/net-snmp/
cp /etc/cactid.conf /var/net-snmp/cactid.conf
chown -R cactiuser /var/net-snmp
chgrp -R cactiuser /var/net-snmp

Then comment out the database and user info in the top part.

Then run your poller as cactiuser via CLI.

Error went away for me.
Craig Mock
tincircus
Posts: 1
Joined: Tue Jun 12, 2007 2:16 pm

...almost there...

Post by tincircus »

TheWitness -
I am a long time Cacti user and a huge fan - I can't count the hours you have saved me.

I am in a position now where, for unrelated reasons, I cannot allow the cacti user writeable access to /var/net-snmp.

I know what the fix is based on the comments here and this error:
Cannot rename /var/net-snmp/cactid.conf to /var/net-snmp/cactid.0.conf

...but I can't seem to find out
1) What the purpose is behind touching /var/net-snmp when I have specified the config file on the command line.
2) What I can do to work around my current limitation (ie. point cactid somewhere that I have control over)

Thanks -
Post Reply

Who is online

Users browsing this forum: anwaraahmad1 and 0 guests