- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stopping 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
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
02-17-2010 07:23 AM
02-17-2010 07:23 AM
-----------------------------------------------
snmpd -stop
Start SNMP Master Network Management daemon
SNMP Research SNMP Agent Resident Module Version 15.3.1.0
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
# Start SNMP HP-UNIX Network Management subAgent
Start SNMP IPv6 Network Management subAgent
Start SNMP MIB-2 Network Management subAgent
Start Native Adapter Agent
SKIPPED (as configured in /etc/rc.config.d)
Start SNMP Trap Dest Network Management subAgent
Start SNMP PCI FDDI Network Management subAgent
---------------------------------------------
at this point nothing more happens, i can't tell if it's completed or what... should i receive some indication the the snmp process has stopped ( when i do a ps -ef|grep the snmpd process is still active) ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 07:31 AM
02-17-2010 07:31 AM
Re: stopping snmp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 07:32 AM
02-17-2010 07:32 AM
Re: stopping snmp
Does "ps -ef |grep snmpd -> valid time stamp ?
1) Modified /etc/rc.config.d/SnmpMaster for startup /Stop of daemon upon system boot.
# tail /etc/rc.config.d/SnmpMaster
# libSaMib2.sl(1M) // MIB2 subAgent
# libSaHpunix.sl(1M) // HpUnix subAgent
# snmpd(1M) // Manual startup script
# snmpd.conf(4) // SNMP configuration
#
#
SNMP_MASTER_START=0 # Stop the master SNMP agent.
export SNMP_MASTER_START
#
2) Manually started via `/sbin/init.d/SnmpMaster start`.
# ps -ef |grep snmpdm
root 13397 13262 1 22:32:54 ttyp0 0:00 grep snmpdm
root 13373 1 0 22:30:12 ? 0:00 /usr/sbin/snmpdm
#
Please verify the following settings also:
===================================
SNMP_HPUNIX_START=0 (at "/etc/rc.config.d/SnmpHpunix")
SNMP_MIB2_START=0 (at "/etc/rc.config.d/SnmpMib2")
SNMP_TRPDST_START=0 (at "/etc/rc.config.d/SnmpTrpDst")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 08:55 AM
02-17-2010 08:55 AM
Re: stopping snmp
what file shows the order of these being shutdown ?
there was another post that said to stop snmp you have to stop all the subagents identified in /sbin/rc1.d (those beginning with a 'K') and write a script to stop each one of them... if i were to choose that method of stopping should i be looking at only those subagents that have snmp in the file name ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 09:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 09:45 AM
02-17-2010 09:45 AM
Re: stopping snmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 10:39 AM
02-17-2010 10:39 AM
Re: stopping snmp
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 10:57 AM
02-17-2010 10:57 AM
Re: stopping snmp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:01 AM
02-17-2010 11:01 AM
Re: stopping snmp
i never knew their was a bastille, or what it was capable of doing, thanks for pointing it out... unfortunately i get to do unix sysadmin functions when i'm not doing dba functions and when i'm not doing banner technical things,our student enterprise management system, technical things.
since we just went thru a security audit i'm doing unix admin things related to the audit, one of which had to do with snmp.
so do i stop all the 'K' scripts or only those that are identified as 'Snmp' ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:13 AM
02-17-2010 11:13 AM
Re: stopping snmp
See also
http://docs.hp.com/en/5992-5099A/index.html
http://docs.hp.com/en/5992-5099A/apc.html
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:15 AM
02-17-2010 11:15 AM
Re: stopping snmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:19 AM
02-17-2010 11:19 AM
Re: stopping snmp
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:52 AM
02-17-2010 11:52 AM
Re: stopping snmp
I didn't say anything about modifying. I said "run them".
The /etc/rc.config.d/*Snmp* files control the startup. Simply set the various SNMP_*_START variables to 0 rather than 1 and snmp won't start up.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:58 AM
02-17-2010 11:58 AM
Re: stopping snmp
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
