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
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
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
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
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
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
Whats is wrong?