graphics for another linux Machines

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

Moderators: Developers, Moderators

Post Reply
seemantech
Posts: 5
Joined: Mon May 29, 2006 6:47 am

graphics for another linux Machines

Post by seemantech »

I don't speak english very well but I'll try to expose my problem.

Hello! I had instaled cacti 0.8.6 on my Debian Linux. It seems OK it graphes four cisco routers with satisfaction(very good). So I'd added another fifteen gateways linux(Debian too) on cacti. but it don't graph it right. all machines are being graphed local server macine.

All the graphics for the linux machines are equals to local linux server. I am using the host template "Local Linux Machine" for all linux devices.

Could i use another template?? Where is my mistake, and how to correct it?
--------------------------------------------------------------------------------------------------

In portuguese.

Ol
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You shouldn't use the Local Linux Machine Template. Please switch to sth like ucd/net SNMP Host. This is a good start for linux boxes. Pay attention to not get the SNMP error for those devices. You'll get this error if the target's snmpd isn't set up correctly
Reinhard
seemantech
Posts: 5
Joined: Mon May 29, 2006 6:47 am

thanks

Post by seemantech »

Thanks it realy function...

Now it is ok.

Have you ever configured cacti to work with a Tsunami Wireless Router?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

No, but as long as this device is SNMP capable, I see no problems. If you have the OIDs, I have the walkthrough ...
Reinhard
seemantech
Posts: 5
Joined: Mon May 29, 2006 6:47 am

a problematic machine

Post by seemantech »

Ok! the cacti is very good.
I did not tried to do graphics for the Tsunamis I will do it later....
But a linux machine is giving "SNMP error" to me. I have tried to uninstall and to reinstall the snmp package and to import the config files from another linux machine(that are being graphed sucessfuly) but I always have had this message.

there are a cookbook for this problem??

I am using Debian 3.1 linux 2.6.8
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: a problematic machine

Post by gandalf »

seemantech wrote:Ok! the cacti is very good.
I did not tried to do graphics for the Tsunamis I will do it later....
But a linux machine is giving "SNMP error" to me. I have tried to uninstall and to reinstall the snmp package and to import the config files from another linux machine(that are being graphed sucessfuly) but I always have had this message.
Did you reinstall on the target machine?
A cookbaook may be found at net-snmp.org. And try the manpages of snmpd, snmpd.conf. Your implementation may bring a per script snmpconf for building a valid snmpd configuration file
Reinhard
seemantech
Posts: 5
Joined: Mon May 29, 2006 6:47 am

it was another thing

Post by seemantech »

I discovered the trouble!

I used iptraf to see the trafic snmp. So I saw some errors like "port unreachable".

Then I used "netstat -a" in the target machne

Code: Select all

root@alanis # netstat -a | grep snmp
udp        0      0 localhost.localdomain:snmp                  *:*
Then I have edited the script /etc/init.d/snmpd and modified the parameters to start snmpd process.

Now is Ok

Code: Select all

root@alanis # netstat -a | grep snmp
udp        0      0 alanis.mydomain.com.br:snmp                  *:*
Well, Now is done. I will try another devices snmp capable(Tsunami and Terabean wireless routers). I will need some help.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

To check a new target, perform

Code: Select all

snmpwalk -c <community> -v 1 <target> system
where <community> represents the community string of the target (often defaults to the string "public"). If this returns results, you're on the right way.
At least for Tsunami's there are some Template to be found at Scripts and Templates, AFAIK
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests