[Solved] Cacti displaying data for the wrong host.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ajmarsh
Posts: 1
Joined: Wed Jun 02, 2010 1:44 pm

[Solved] Cacti displaying data for the wrong host.

Post by ajmarsh »

I recently installed cacti (cacti-0.8.7e-3.el5.rf) on my centos 5 x86_64 box. Lets call this machine server1. Set up MySQL db, installed net-snmp etc and everything was great. Cacti shows accurate load/memory/user info for server1.

So next I wanted to add server2. I went to the "devices" section and added it. Then I added some graphs being careful to select server2 as the host. Everything looked good at first until I realized all of the data displayed for server2 was actually from server1. Then I added server3 and it's the same thing.

All 3 boxes are running centos 5. SNMP is installed and seems to be configured correctly. IE they respond to snmpwalk -v 1 -c cacti server2....

What am I doing wrong here? Thanks in advance for any help you can provide.
Last edited by ajmarsh on Thu Jun 03, 2010 8:10 am, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

If the graph template starts 'Unix...' then it is running a script on the Cacti server. It will never report data for another host.

You need to use the ucd/net-snmp or HOST-MIB templates to collect data from other hosts.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests