Visit Our UNIX and Linux User Community


SNMP Community String ???


 
Thread Tools Search this Thread
Special Forums IP Networking SNMP Community String ???
# 1  
Old 11-22-2001
Power SNMP Community String ???

Hi

I want to know more about SNMP Community Strings.

What are this SNMP Community String, & what do they signify?

What is this "public" used in the field of Community String?

Please also let me know what other values can be used in the Field of Cummunity String other than public. ??

And what does these values like public . . . signify.

Looking forward for info.

Thanks in Advance.

Vishwa.
# 2  
Old 11-23-2001
snmp community string is some "password" necessary to read/write snmp data.

I recomend you to change this string to another one. But you have to set up on both - snmp client and snmp server.
# 3  
Old 11-23-2001
Hi Rado1x

Thanks for ur kind effort.

But I'm not clear from ur suggessation. I would like to explain my sceniro below :

I do have a application that acts as a server & sends snmp traps to the registered clients.

Inside the application the community string is set to Public.,

Know my customer wants to set the comunity string to some other value other than public & I should provide a facility to the outside world so to accept the customer's desired string. I'm planning to do this via., a Script which accepts the community string from the user & then call the actual Unix Program by passing his desired string as a command line parameter.

Currently we have hard coded by setting the community string to public. And know I want this to be in a mutable format.

That is he might want to change from public to some thing else., & I don't know what else can be used other than public. Like is there any thing like Private & any thing else.

So, I want know to what other values that the commuity string can be set with other than public. Hope it is clear know.
# 4  
Old 11-24-2001
If you look at network devices as clients and devices that received SNMP traps or poll devices as servers then the community string is the same as apassword that the server issues to the client device during a remote query. The string can be just about anything reasonable, as long as the client and the server use the same community strings.

Most network devices allow different levels of SNMP access, for example: READ ONLY or READ/WRITE. Each one of these levels of access would/should have a different (hard to guess) community string.

When a client sends an SNMP trap to a server receiving SNMP trap information, the SNMP community string is not required.

However, some devices use the SNMP community string as a password for terminal (serial and monitor) access to the device as well. Don't just change them and forget them Smilie

That is just about it........ the poster stated that the device was only sending traps, so the community string is not so important between client-server (no server queries to the client device) but should be changed for security reasons so something other than the default value, i.e. public.... Make sure you document the change somewhere safe so if you forget to tell the next responsible person after you leave the project, they will have a roadmap of the changes you made!

However, never fear... most SNMP community strings can be reset from the console/monitor of the device (or with physical access to the device). Yet, if you have hundreds of devices..... depending on this technique (physical access to reset) is not a good idea Smilie
# 5  
Old 03-20-2006
Thanks Neo

Quote:
When a client sends an SNMP trap to a server receiving SNMP trap information, the SNMP community string is not required.
My understanding to client and server are this:

1- Managed station (agent or Network element) can be router, switch, hub, printer, ,,,ect has software called server.

2- Network Managemnet Station (NMS) which is normally PC has got software called client.

3- Managed station (agent) send trap to (NMS).

http://www.comptechdoc.org/os/window.../wtcpsnmp.html
Trap - A command or message used by the agent to inform the manager of a certain event.

A- Now can the client (Manager) send trap to server (managed) ?because my understanding to your explianantion that client (Manager) is able to send trap to server (managed),,,,please correct me

B- What is the meaning of public and private ? why have they got these names ?

Last edited by zillah; 03-20-2006 at 01:57 PM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #603
Difficulty: Medium
MySQL 8.0 does not maintain information about password history so you cannot enabling restrictions on reuse of previous passwords.
True or False?

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

3. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

4. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

5. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

6. Red Hat

RHEL 3 - how to change the SNMP community strings?

I have edited the snmpd.conf file on RHEL3, I changed: com2sec notConfigUser default public to : com2sec notConfigUser default new_string_name BUT, when my security guy scans the box, is still answers to public, I restarted snmpd. Is there more to this than just changing... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

7. UNIX for Dummies Questions & Answers

SNMP Public String

What value is read by snmp as a public string on a Fedora workstation. (4 Replies)
Discussion started by: thumper
4 Replies

Featured Tech Videos