LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-08-2013, 11:49 AM   #1
fkasmani
Member
 
Registered: Dec 2007
Posts: 176

Rep: Reputation: 17
SNMP Connunity String


I have a LAN with 2 ranges of IP#'s: 192.168.0.xxx * & 192.168.1.xxx (2 routers). Besides that, there's 2 other routers, switches and a couple of PC's/laptops, tablets - all running different OS's. (There's no server as such)

I'm trying to do an autodiscovery of the network using software on one of the Ubuntu PC's on the network.

I'm being asked for the "SNMP Community String"

What's this and how and from where do I get it?

Would really appreciate some help on this, pls.
 
Old 05-08-2013, 12:01 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,827

Rep: Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370Reputation: 2370
Quote:
Originally Posted by fkasmani View Post
I have a LAN with 2 ranges of IP#'s: 192.168.0.xxx * & 192.168.1.xxx (2 routers). Besides that, there's 2 other routers, switches and a couple of PC's/laptops, tablets - all running different OS's. (There's no server as such)

I'm trying to do an autodiscovery of the network using software on one of the Ubuntu PC's on the network. I'm being asked for the "SNMP Community String" What's this and how and from where do I get it?

Would really appreciate some help on this, pls.
Spell out your words, please.

The SNMP community string on appliances (switches, routers, etc.), is usually pre-set at the factory, and can typically be found in the manual for the device. PC's and such need a bit more, since most 'consumer' units ship either without SNMP running or configured. For Linux systems, the string can usually be found in /etc/snmpd.conf. Not sure where Windows keeps such things, or how to configure them there.

And bear in mind that there are typically TWO strings....a 'public' string, which will let folks query the device, and a 'private' string, which will let folks do things to the device. Things like rebooting, configuring different aspects of the system, etc. An off-the-shelf guess would be that you're looking for the 'public' string, which is typically just "public"....and the private string would be (wait for it...) "private".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how make community string in snmp ghaedi591 Linux - Newbie 1 06-07-2012 09:57 AM
How to change the snmp string in nagios monitoring tool aneeshn Linux - General 1 11-11-2007 06:23 AM
need snmp syntax to change a community string RedhatES4_user Linux - Software 1 02-12-2007 06:47 AM
How to set SNMP string man_linux Linux - Networking 1 11-07-2006 08:42 PM
SNMP community string change - SERVER CRASH nishil Linux - Networking 2 11-21-2004 09:14 PM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration