do-assignment-on-ubuntu
For our final project we will install an snmp agent on Ubuntu
- Update all packages: sudo apt-get update
- Install SNMP: sudo apt-get install snmpd
- Edit snmpd.conf with text editor of your choice
e.g.
sudo nano /etc/snmp/snmpd.conf
- Your agent address should look like this
#agentAddress udp:127.0.0.1:161
# Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161
-This will set the server to listen on all IPv4 and IPv6 addresses
-For higher security bind to your IP address. Ex: agentAddress udp:192.168.1.5:161
- Leave the configuration of as is
rocommunity: rocommunity public
- Restart the SNMPD service: sudo service snmpd restart
- On the client side we will be using a free product called ManageEngine
Watch VideoSNMP Operations and Troubleshooting SNMP
Duration: 32:58
User: n/a – Added: 4/21/15
Please install ManageEngine
NOTE: On windows I could not install into the default c:Program Files location. At this location the program will generate an error when trying to updates/load MIBs because you probably do not have admin privlidges to write to c:Program Files
Instead, install ManageEngine to any directory for which you will have privlidges to read/ write the MIB database
Watch the following video
What to turn in
1. Attach your /etc/snmp/snmpd.conf file (10 points for proper configuration)
2. Attach your wireshark capture file (10 points)
3. Attach a short description of a MIB that you queried from the client side
Provide a description of the MIB (10 points)
Tell me which packets in wireshark represent the query and response (10 points)
Explain the response (10 points)