Server moved, now cacti unable to snmp

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

Moderators: Developers, Moderators

Post Reply
AlexWilk
Posts: 2
Joined: Fri Jun 21, 2013 4:52 am

Server moved, now cacti unable to snmp

Post by AlexWilk »

Hi all,

I've recently had to move my cacti server from one VM to another as we progressed from testing to prod. However after the move the server is now unable to snmp any hosts. It can ping them fine but snmp fails with "snmp error".

The log file only reports a timeouts for each host.

The server moved from vSphere to XenServer, got a new IP address, so i'm quite stuck as to whats causing it.
Servers runs on a centos 6.4 vm.

Any ideas?
AlexWilk
Posts: 2
Joined: Fri Jun 21, 2013 4:52 am

Re: Server moved, now cacti unable to snmp

Post by AlexWilk »

As a further, i've built an entirely fresh machine on the VM (ubuntu) to attempt to work around the problem, and its still not working.

The problem appears to be that I am unable to SNMP outside of the VMs.....which is a bit bonkers
Shmegles
Cacti User
Posts: 64
Joined: Fri Oct 05, 2007 4:14 pm
Location: Seattle, WA, USA

Re: Server moved, now cacti unable to snmp

Post by Shmegles »

Try querying a host from CLI:

snmpget -c [password] -v 2c yourhost sysDescr.0

(I often use sysDescr.0 as I've yet to find anything that doesn't respond)

If you get a timeout then it's nothing to do with cacti. Things I'd check:
-access-list on the host which you're querying
-access-list in your vm environment
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests