- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- snmp question(s)
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
тАО07-30-2003 08:39 PM
тАО07-30-2003 08:39 PM
i need to work out whether or not we are really using snmp. I know I need to change the community name if we are supposed to have snmp running, but how do I which community name it should be changed to? If I am to disable the snmp process - how do I do that ?
Hope there is some help out there,
Thanks maria.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 08:53 PM
тАО07-30-2003 08:53 PM
SolutionThe main use for SNMP is Network management Software (eg HP Openview NNM).
If you're not using any Network management software, then I'd be inclined to turn it off. If anybody screams, just turn it on again.
You don't necessarily need to set a community name set if you are only doing snmp "get" operations or just sending snmp traps. A community name is only snmp terminology for a password.
You set it to whatever you like in /etc/SnmpAgent.d/snmpd.conf. But any snmp requests etc must then use this community name.
If you want to disable SNMP do the following:
# /sbin/init.d/SnmpMaster stop
Then edit /etc/rc.config.d/SnmpMaster as follows:
SNMP_MASTER_START=0
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 08:54 PM
тАО07-30-2003 08:54 PM
Re: snmp question(s)
To see if snmp is running or not grep for the daemon called snmpd and starting and stoping is controlled by /etc/rc.config.d/SnmpMaster (Master SNMP Agent) and SnmpHpunix and SnmpMib2 are subagents.
Now the configuration file is /etc/snmpd.conf where you define the comunity name thats is get comunity name (the system will process request of only the comunity you specify)and set comunity name is for sending traps with the specified comunity name. So depending on situation if this server will only send or receive or both you set the comunity name.
There is one more thing "trap-dest" The IP address you put will be the destination address to send the SNMP traps to.
Have a look at /etc/snmpd.conf file that explains comunity names in detail.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 08:58 PM
тАО07-30-2003 08:58 PM
Re: snmp question(s)
To disable snmp simply change the script values in /etc/rc.config.d/Snmp* files to '0' (zero)
The next time the system boots, no snmp processes will start
The bastion paper gives an excellent description:
http://www.hp.com/products1/unix/operating/infolibrary/whitepapers/building_a_bastion_host.pdf
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 09:04 PM
тАО07-30-2003 09:04 PM
Re: snmp question(s)
Check the /etc/rc.config.d/SnmpMaster file. There are other Snmp* files in there too. I think you will find what you are looking for in there.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 09:16 PM
тАО07-30-2003 09:16 PM
Re: snmp question(s)
Maria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 09:38 PM
тАО07-30-2003 09:38 PM
Re: snmp question(s)
http://www.atomicgears.com/papers/bastion11.html
http://secinf.net/unix_security/Building_a_Bastion_Host_Using_HPUX_11.html
Good luck with everything.
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 07:02 AM
тАО08-01-2003 07:02 AM
Re: snmp question(s)
To verify that snmpd is indeed not running, you can perform a netstat to check if snmpd (udp port 161) is running in LISTEN mode. Alternatively if you have nmap, you can also check whether the snmpd is listening with this:
# nmap -sU -p 161 localhost
Hope this helps. Regards.
Steven Sim Kok Leong