- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: tcpip set service /log(file:dsk:[dir]filename....
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
тАО06-18-2009 11:38 AM
тАО06-18-2009 11:38 AM
$ tcpip set service NRPED /port=5666 /protocol=tcp -
/user=nrpe /process_name=nrped/flag=listen -
/file=nrpe$:nrpe.com /limit=50 -
/log=(file:nrpe$:nodename_nrped_run.log,all)
The service doesn't log to the file but rather to sys$login:nrpe.log. I've checked privs, etc.
$ tcpip show service nrped/full
Service: NRPED
State: Enabled
Port: 5666 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: NRPE Process: NRPED
Limit: 50 Active: 0 Peak: 1
File: NRPE$:NRPE.COM
Flags: Listen
Socket Opts: Rcheck Scheck
Receive: 0 Send: 0
Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: NRPE$:OMEGA1_NRPED_RUN.LOG
Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
Does anyone have any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 11:43 AM
тАО06-18-2009 11:43 AM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
have you stopped and restarted the service ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 11:51 AM
тАО06-18-2009 11:51 AM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
TCPIP> disable service nrped
TCPIP> enable service nrped
this seems to have no effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:13 PM
тАО06-18-2009 12:13 PM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:42 PM
тАО06-18-2009 12:42 PM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:55 PM
тАО06-18-2009 12:55 PM
SolutionIf you are familiar with that stuff, apologies; I don't recognize the initials, so I don't know what your particular experience level with this stuff might be . Nor what version of or pieces and parts of nrpe you're working with here.
Also see the recent thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1344931
As the log stuff may or may not be relevant; widgets are free to ignore same. Looks like nrpe ignores it, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 02:07 PM
тАО06-18-2009 02:07 PM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 08:41 AM
тАО06-19-2009 08:41 AM
Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work
I've been administrating/working on/with VMS since 1985, but I'm certainly a neophyte when it comes to TCP/IP services. The thread mentioned led me to the solution, but was not exactly correct with my testing. From my testing it appears that a system level logical defined with the same name as the .com file in the service definition will control the log file creation and naming e.g.
$ define /system nrpe nl: !-- send to nul
$ ! -or- (in our case, make node specific)
$ define/system nrpe utilia64 [NRPE.COMMON.LOG]OMEGA1_NRPE.LOG
$ tcpip set service NRPED /port=5666 /protocol=tcp -
/user=nrpe /process_name=nrped/flag=listen -
/file=nrpe$:nrpe.com /limit=50 -
/log=(file:nrpe$:'node'_nrped_run.log,all)
This above logical basically allows redirection of the same type of output that you get with a /log option on a batch job. So, if as mentioned earlier sys$output, sys$error, or other output is redefined, that type of output will go to the appropriate locations, BUT, the 'OMEGA1_NRPE.LOG' is still created with the process info. e.g.
$ Set NoOn
$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
NRPE job terminated at 19-JUN-2009 09:21:33.36
Accounting information:
Buffered I/O count: 1646 Peak working set size: 7888
Direct I/O count: 39 Peak virtual size: 181152
Page faults: 651 Mounted volumes: 0
Charged CPU time: 0 00:00:00.11 Elapsed time: 0 00:00:02.44
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 08:02 AM
тАО10-18-2010 08:02 AM