- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- snmp community names - how to...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 01:00 AM
07-07-2005 01:00 AM
How do I change the snmp community name?
How do I know what it is set to currently?
What else do I need to change to eliminate the public/private default names?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 01:07 AM
07-07-2005 01:07 AM
Re: snmp community names - how to...
This has current community setup and trap destinations etc..
-USA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 01:11 AM
07-07-2005 01:11 AM
Re: snmp community names - how to...
You can also do a man on snmpd.conf for further details
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 01:37 AM
07-07-2005 01:37 AM
SolutionTowards the bottom of the file you will find the get-community-name, set-community-name, contact, location, etc... These are the values you would change. By default the get-community-name is 'public'. Once the change(s) have been made need to stop/start the snmp;
# /sbin/init.d/emsa stop
emsagent stopped
# /sbin/init.d/SnmpHpunix stop
# /sbin/init.d/SnmpMaster stop
snmpdm stopped
# /sbin/init.d/SnmpMaster start
SNMP Research SNMP Agent Resident Module Version 14.2.1.7
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 SNMP
Research, Inc.
# /sbin/init.d/SnmpHpunix start
# /sbin/init.d/emsa start
Are you using EMS? If so, check these documents - KBRC00012590 &
UXEMSKBRC00003120
When a change is made to snmp there is an impact to EMS. You will get "resources not available" or "resources not configured".
These 2 documents will detail the why's and the howto's of resolving this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 03:08 AM
07-07-2005 03:08 AM
Re: snmp community names - how to...
Other than looking in the snmpd.conf file is there an easy way for me to confirm the name has changed? Perhaps a command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 03:42 AM
07-07-2005 03:42 AM
Re: snmp community names - how to...
If you have the snmp tools, here is an example;
snmpwalk
snmpwalk -v1 -c
doing an snmpwalk on the system '$HOST' using snmp version 1 and a getcommunityname of '
only getting the MIB info the the iod=system, to get all of the oid info do not use the system option at end of command
Other than viewing the snmpd.conf file, I do not know of a command to view the community names.