- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Enable and start SNMP via script.
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
тАО10-30-2006 12:54 AM
тАО10-30-2006 12:54 AM
Enable and start SNMP via script.
I'm wonder if there's a way to enable and start the snmp service without running tcpip$config.
I've tried adding and configuring the service through the tcpip but I just cannot get the service enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 12:59 AM
тАО10-30-2006 12:59 AM
Re: Enable and start SNMP via script.
if TCPIP$CONFIG can't get SNMP enabled, then who else could be expected to do that ?
You might want to check OPERATOR.LOG and/or the SNMP service logfile SYS$SYSDEVICE:[TCPIP$SNMP]TCPIP$SNMP_RUN.LOG for errors when trying to enable the SNMP service.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 01:03 AM
тАО10-30-2006 01:03 AM
Re: Enable and start SNMP via script.
Everything works fine while using tcpip$config.
It's when Im using tcpip> set, enable etc. that can't enable it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 01:15 AM
тАО10-30-2006 01:15 AM
Re: Enable and start SNMP via script.
you would have to read TCPIP$CONFIG.COM to find the commands issued during SNMP configuration.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 01:17 AM
тАО10-30-2006 01:17 AM
Re: Enable and start SNMP via script.
I was kinda worried that I'd have to do that. :)
Got a bit reading to do then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:46 AM
тАО10-30-2006 03:46 AM
Re: Enable and start SNMP via script.
$ tcpip disable service snmp
%%%%%%%%%%% OPCOM 30-OCT-2006 10:52:35.30 %%%%%%%%%%%
Message from user INTERnet on DRCLC1
INTERnet ACP Deactivate SNMP Server
$
$ tcpip enable service snmp
%%%%%%%%%%% OPCOM 30-OCT-2006 10:52:43.28 %%%%%%%%%%%
Message from user INTERnet on DRCLC1
INTERnet ACP Activate SNMP Server
%%%%%%%%%%% OPCOM 30-OCT-2006 10:52:43.29 %%%%%%%%%%%
Message from user INTERnet on DRCLC1
INTERnet ACP NOLISTEN Process creation success: Service - SNMP
%%%%%%%%%%% OPCOM 30-OCT-2006 10:52:43.29 %%%%%%%%%%%
Message from user AUDIT$SERVER on DRCLC1
Security alarm (SECURITY) on DRCLC1, system id: 2118
Auditable event: Process created ($CREPRC)
Event time: 30-OCT-2006 10:52:43.28
PID: 00000217
Process name: TCPIP$INETACP
Username: INTERnet
Process owner: [SYSTEM]
Image name: DRCLC1$DKB0:[SYS0.SYSCOMMON.][SYSEXE]TCPIP$INETACP.EXE
;1
New PID: 00000223
New process name: TCPIP$SNMP_2
New process owner: [TCPIP$AUX,TCPIP$SNMP]
New image name: SYS$SYSTEM:LOGINOUT.EXE
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 07:54 PM
тАО10-30-2006 07:54 PM
Re: Enable and start SNMP via script.
It involved copying quite a few rows from tcpip$config. Not as straightforward as one might think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 10:00 PM
тАО10-30-2006 10:00 PM
Re: Enable and start SNMP via script.
TCPIP$SNMP_SHUTDOWN.COM, and TCPIP$SNMP_STARTUP.COM in sys$startup: ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 10:07 PM
тАО10-30-2006 10:07 PM
Re: Enable and start SNMP via script.
But in order to enable and start snmp there are a few steps that has to be taken.
A user needs to be created, a number of files needs to be extracted. then you need to create the service and enable it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 10:55 PM
тАО10-30-2006 10:55 PM
Re: Enable and start SNMP via script.
This is usually called configuration.
You asked for "enable and start".