Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've just setup ZABBIX at a computer in my LAN properly and thought it would be good to have SNMP access to my Cisco router. When I look at the settings regarding SNMP in the administration web GUI, I get totally confused about the community parts.

I've never heard of this before, so how do I understand the concept of read/write/trap communities and what should I enter in each box as shown below?

enter image description here

share|improve this question

2 Answers 2

up vote 0 down vote accepted

The community string is how SNMP devices identify themselves as part of a "group", if you will. If you set up ZABBIX to grab information from the Cisco router but you're using the default community "public" or a community by any other name, the Cisco router will reject the request for information. Once the community names match up is when it'll pass the information. This is SNMP v1. Some of your other devices may have options for v2c and v3. v3 allows you to create user names and passwords as well as encrypt the data that is being shared.

Think of Traps as unsolicited alerts from your router to Zabbix. In normal situations, Zabbix will request information every 10 seconds or whatever from the devices. When a trap is triggered, the Cisco router will send information to the server without the server requesting it. This can be useful in the event of failed log in attempts or such.

Once you start adding other, not so common devices to it, you'll have to start adding device specific MIBs, which for me was the most confusing part of it all when I was starting to learn how it works. I also had a hard time finding 'SNMP for Dummies' type material. But once you get it up and running how you want it's well worth the time spent.

share|improve this answer

Imagine that community string is the same as 'password' when server query SNMP info from client. You should only need to fill the "read community" first.

  • write community string: allows a remote device to modify settings on your router.
  • trap community string: is used to send SNMP traps to another device when there is a significant event.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.