- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Different community name for SNMP ?
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
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
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
тАО01-11-2008 08:34 PM
тАО01-11-2008 08:34 PM
Different community name for SNMP ?
Can a custom community name be used? Is that difficut to configure? Will that impact other items besides EMS? (Forgive me - I'm unfamiliar with snmp.)
System is an rx84xx machine running HP-UX11i.
Thanks in advance,
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2008 09:07 PM
тАО01-11-2008 09:07 PM
Re: Different community name for SNMP ?
On HP-UX, you set the SNMP community names in the /etc/snmpd.conf file. Once you set them, you will have to stop/start all SNMP related daemons. Do an 'ls /sbin/init.d/*snmp*' (possible *Snmp*) to the appropriate startup routines for those daemons.
As far as EMS and other programs go, yes they would be effected, BUT you SHOULD be able change the SNMP community names they use. Any well behaved application that uses SNMP should permit this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2008 09:37 PM
тАО01-11-2008 09:37 PM
Re: Different community name for SNMP ?
Patrick is right. It is certainly
recommended to change the default SNMP
community strings.
The SNMP strings need to be changed
at two places:
a) The SNMP agents,
b) The SNMP managers.
The SNMP agent reads its configuration
information from the /etc/SnmpAgent.d/snmpd.conf
configuration file.
The SNMP agent is either the snmpd (included
with HP-UX) or the snmpd.ea(1M)(purchased
with the OpenView product).
The agent side is almost always the time-consuming
part because you often have to do it by hand
on each node (unless using scripts on your
Unix machines or something like CiscoWorks to
schedule updates).
Personally, when I audit servers for
customers, I give them poor rating if
they use default SNMP read and/or write
community strings.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2008 09:43 PM
тАО01-11-2008 09:43 PM
Re: Different community name for SNMP ?
For years, the SysAdmin has stated "Snmp must be configured as public to allow the EMS (Event Monitoring System), software to function correctly."
The previous tech lead just accepted that. I didn't think it was correct thus posted this thread. Again though, I'm not the sysadmin and need to search for specific documents that will provide me the needed info to include in my response. Do you have any links that could save me some time?
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2008 08:12 PM
тАО01-12-2008 08:12 PM
Re: Different community name for SNMP ?
At least your IT audit is now helping you
improve your security.
There is a document ID emr_na-c00997763-1
(original KMine RCEN 4000106938).
Here is what you need to do:
a) Edit /etc/snmpd.conf in order to change
the community names. Look for strings:
get-community-name
set-community-name
b) Stop SNMP and EMS services:
/sbin/init.d/emsa stop
/sbin/init.d/SnmpHpunix stop
/sbin/init.d/SnmpMaster stop
c) Execute "snmpd" to start the SNMP
master agent and subagents:
# /sbin/init.d/SnmpMaster start
# /sbin/init.d/SnmpHpunix start
d) Edit the following two files to add the
"-c
starting MONITOR:
/etc/opt/resmon/dictionary/mibmond.dict /etc/opt/resmon/dictionary/rdbmsmond.dict
WARNING: Make sure not to save a backup
copy of the original dictionary files in the
/etc/opt/resmon/dictionary directory or in
any subdirectory of it.
e) Kill any remaining HA Monitors
(mibmond, fsmond, pkgmond, and so on).
These processes will be restarted
automatically if needed.
f) Restart EMS:
/sbin/init.d/emsa start
g) Test with:
resls -s /system/jobQueue15Min
I think this should do it...
Cheers,
VK2COT