Hi,
I installed cacti for the first time and I am getting a "SNMP error" when trying to view graphs.
What can I do to troubleshoot that?
Should this be saying Open?
# nmap -sS xx.xx.yy.yy -p161
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2009-01-21 16:43 CST
Interesting ports on xx.xx.yy.yy:
PORT STATE SERVICE
161/tcp closed snmp
TIA!
SNMP error
Moderators: Developers, Moderators
Thanks!
I was actually testing tcp, not udp, when I test udp, it say its open:
# nmap -sU xx.xx.xx.xx -p161
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2009-01-22 19:02 CST
Interesting ports on xx.xx.xx.xx:
PORT STATE SERVICE
161/udp open|filtered snmp
Nmap run completed -- 1 IP address (1 host up) scanned in 0.335 seconds
I looked through your link, looked through the faq, tried a couple things, but it is still giving SNMP error.
Is there anyway to get more details than "SNMP error"?
I have my community string set as "public"
When it says "SNMP error" is it almost always a problem with the community string?
This is what I have in running-config on my switch
access-list 2 permit xx.xx.xx.xx
snmp-server community public RO 2
snmp-server enable traps vtp
snmp-server host xx.xx.xx.xx version 2c public
where xx.xx.xx.xx is the IP of my cacti server
Do you know what could be wrong?
Is there a way to test an SNMP read from the command line?
I was actually testing tcp, not udp, when I test udp, it say its open:
# nmap -sU xx.xx.xx.xx -p161
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2009-01-22 19:02 CST
Interesting ports on xx.xx.xx.xx:
PORT STATE SERVICE
161/udp open|filtered snmp
Nmap run completed -- 1 IP address (1 host up) scanned in 0.335 seconds
I looked through your link, looked through the faq, tried a couple things, but it is still giving SNMP error.
Is there anyway to get more details than "SNMP error"?
I have my community string set as "public"
When it says "SNMP error" is it almost always a problem with the community string?
This is what I have in running-config on my switch
access-list 2 permit xx.xx.xx.xx
snmp-server community public RO 2
snmp-server enable traps vtp
snmp-server host xx.xx.xx.xx version 2c public
where xx.xx.xx.xx is the IP of my cacti server
Do you know what could be wrong?
Is there a way to test an SNMP read from the command line?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Yep. Use If the device does not like v1, use v2c instead. Again, see SNMP setup instructions at first link of my sig. It's all there
Reinhard
Code: Select all
snmpwalk -c <community> -v 1 <host> system
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests