- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to shut down snmpd service on HP-UX server...
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
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
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
тАО12-30-2008 07:40 PM
тАО12-30-2008 07:40 PM
How to shut down snmpd service on HP-UX servers
I have the following info from /var/adm/rc.log on the HP-UX server
root@nsppwas2:/sbin/rc2.d > ls -ltr *Snmp*
lrwxr-xr-x 1 root sys 23 Dec 28 2005 S560SnmpMaster -> /sbin/init.d/SnmpMaster
lrwxr-xr-x 1 root sys 23 Dec 28 2005 S565SnmpHpunix -> /sbin/init.d/SnmpHpunix
lrwxr-xr-x 1 root sys 21 Dec 28 2005 S565SnmpMib2 -> /sbin/init.d/SnmpMib2
lrwxr-xr-x 1 root sys 20 Dec 28 2005 S565SnmpNaa -> /sbin/init.d/SnmpNaa
lrwxr-xr-x 1 root sys 23 Dec 28 2005 S565SnmpTrpDst -> /sbin/init.d/SnmpTrpDst
lrwxr-xr-x 1 root sys 22 Dec 28 2005 S576SnmpFddi4 -> /sbin/init.d/SnmpFddi4
lrwxr-xr-x 1 root sys 21 Aug 20 03:38 S565SnmpIpv6 -> /sbin/init.d/SnmpIpv6
Can someone tell me how to shut down the snmpd service on the server?
Regards
Feng Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2008 07:53 PM
тАО12-30-2008 07:53 PM
Re: How to shut down snmpd service on HP-UX servers
The process name is snmpdm. You can stop it by executing
/sbin/init.d/SnmpMaster stop
and to run it execute
snmpd
It will start master agent and rest of the subagents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2008 07:53 PM
тАО12-30-2008 07:53 PM
Re: How to shut down snmpd service on HP-UX servers
Simple way:
Edit all configuration files in
/etc/rc.config.d directory that start with
"Snmp" string:
SnmpHpunix
SnmpMaster
SnmpMib2
SnmpTrpDst
... and set "=1" to "=0".
For example, in SnmpHpunix, replace:
SNMP_HPUNIX_START=1
with
SNMP_HPUNIX_START=0
Then, either reboot the server, or run
the /sbin/init.d/Snmp* scripts to
stop the SNMP services in the current
session.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2008 07:56 PM
тАО12-30-2008 07:56 PM
Re: How to shut down snmpd service on HP-UX servers
The method that I listed is for PERMANENT
shurtdown of SNMP.
Ahsan showed you a simple way for
temporary shutdown of SNMP. In other words,
SNMP would restart after next reboot.
You decide if you want to disable SNMP
permanently or temporarily.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 07:12 PM
тАО01-01-2009 07:12 PM
Re: How to shut down snmpd service on HP-UX servers
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 08:54 PM
тАО01-01-2009 08:54 PM
Re: How to shut down snmpd service on HP-UX servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 11:02 PM
тАО01-01-2009 11:02 PM
Re: How to shut down snmpd service on HP-UX servers
Yes, You can Go Head,
By changing from 1 to 0, this will no start your "Snmp" when the Server reboots , Its permantent solution.
(Also take note "do not save backup copy in the same folder, It should be in the dufferent folder)
Thanks,
Johnson