Exploring my Network with SNMP

I don’t think I’ve made mention yet on this often ignored blog, but I have a new job.

Two new jobs, actually, since the last time I think I talked about jobs here.

I left State Street/Netview back in mid-June. I took a job with a Silicon Valley-based company as a network contractor. They bolted me onto the side of AT&T, who is bolted onto the side of IBM, who is bolted onto the side of Citizens Bank. Does this setup sound familiar? I had to change locations a couple of times over the last few months, so my commute went from 4 hours a day for State Street, to an hour a day, to ~40 minutes a day, to ~16 minutes a day, if I hit the red light and get stuck behind a school bus. That’s right. 16 minutes, worst case, round trip.

Anyway, I was happily going along with this set up, and was about to get two very large projects off the ground finally, when I was approached by Citizens to take a job on their Ops team. So now I have all of the same chaos, but with three less layers of corporate craziness between me and the work.

Because I am now in Ops, I need to learn all the Ops stuff, so tonight I am looking at SNMP. This guy’s video gave me a good start, but his collector/monitor is… Frankly, it is terrible. It was a PiTA to get set up, then it instantly broke after doing an update, and then took about an hour to get working again. The good news is that there are other monitors available.

What this post is about is enabling SNMP on a Raspberry Pi. I think this will become part of my standard build, so I am documenting it.


SNMPd on RasPi
!
apt-get update
!
apt-get install snmpd
!
nano /etc/snmp/snmpd.conf
# change this line, it is near the top
agentAddress udp:127.0.0.1:161
! to
agentAddress udp:161
!
# search for rouser
# above that enter
rocommunity public 10.25.68.0/24
! make sure you use YOUR network address. This one is mine.
!
service snmpd restart
!
That is it, son.

 

This entry was posted in Geek and tagged , , , , . Bookmark the permalink.

If you liked this post, please let me know!

This site uses Akismet to reduce spam. Learn how your comment data is processed.