Solved

SNMP community string question

Posted on 2007-03-27
1
2,600 Views
Last Modified: 2012-05-05
Why is the trap string different? Would it be bad if I made it the same. Just starting to use SNMP pointing to a Solar Winds machine.

system-group-read-community     public
read-community  public
trap-community  SNMP-trap
0
Comment
Question by:jjc_mn
1 Comment
 
LVL 5

Accepted Solution

by:
jeffkell earned 500 total points
ID: 18804574
The SNMP trap community must match the community string on the trap receiver, it serves to authenticate that the traps are coming from valid sources (to keep someone from flooding the trap receiver with bogus traps).  The SNMP community strings in your clients are used to validate requests from the server, or in your case, Solarwinds.

What actually happens is Solarwinds issues an SNMP get to your client with what it thinks is your community string.  If the community string in the request matches your clients, the client will answer.

For a trap, the process is reversed.  Your trap goes out with the community string for Solarwinds.  When the trap is received, if the community string matches Solarwinds string, the trap is processed; else it is dropped.

It's not "one string" that is used both ways -- there is a password on your client (to answer queries) and a password on the server (to accept traps).
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question