snmp Timeout No Response from

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

Moderators: Developers, Moderators

Post Reply
cirox
Posts: 1
Joined: Sun Aug 12, 2007 4:51 am

snmp Timeout No Response from

Post by cirox »

Hi,

i read a lot of docs but i cant get it working. I have setup cacti on a etch box working well with localhost graph. php.info shows:

Code: Select all

NET-SNMP Support 	enabled
NET-SNMP Version 	5.2.3
Now i want to monitor other boxes. So i had to install net:snmp right?
ok, after i spent a lot of time to find the right packages i installed the packages in this way:

i installed an the remote host, i want to monitor and on the local box with cacti

Code: Select all

libsnmp9
libsnmp9-dev
libsnmp-base
snmp
snmpd
so i got the snmtpd.conf an remote host and local box as well :)

then i read the cacti snmpd how-to again but now i am really confused. I start with minimalistic conf (cause i want to understand it)

Code: Select all

rocommunity public
i restarted the snmpd daemon and this is working

Code: Select all

snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux srvx.xxx.tld 2.6.18-4-686-bigmem #1 SMP Thu May 10 00:23:00 UTC 2007 i686
ok, but now i want to monitor via snmp from my cacti box to this remote host but an cacti box i get:

Code: Select all

snmpwalk -v1 -c public 78.47.xxx.xxx 1.3.6.1.4.1.9.2.1
Timeout: No Response from 78.47.xxx.xxx
there is no firewall an i started tcpdump on box, i want to monitor:

Code: Select all

srvx:~# tcpdump -ieth0 -n port snmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
11:47:27.321121 IP 217.20.xx.xx.4302 > 78.47.xx.xx.161:  GetNextRequest(25)  .1.3.6.1.2.1
11:47:28.324448 IP 217.20.xx.xx.4302 > 78.47.xx.xx.161:  GetNextRequest(25)  .1.3.6.1.2.1
so i think before getting cacti to work i should get this working:

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

Re: snmp Timeout No Response from

Post by gandalf »

cirox wrote:Hi,

i read a lot of docs but i cant get it working. I have setup cacti on a etch box working well with localhost graph. php.info shows:

Code: Select all

NET-SNMP Support 	enabled
NET-SNMP Version 	5.2.3
Now i want to monitor other boxes. So i had to install net:snmp right?
No. net-snmp in this context refers to an optional module for php. The target systems will require sth like a net-snmp rpm. Version 5.4.1 is current.
then i read the cacti snmpd how-to again but now i am really confused. I start with minimalistic conf (cause i want to understand it)

Code: Select all

rocommunity public
i restarted the snmpd daemon and this is working
You surely configured snmpd.conf on the remote machine?

Code: Select all

snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux srvx.xxx.tld 2.6.18-4-686-bigmem #1 SMP Thu May 10 00:23:00 UTC 2007 i686
Well, this enables you to SNMP query localhost. This is surely useful. But you will have to apply the configuration procedure to each of your targets

Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests