<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442783#M100411</link>
    <description>I tool a look at the 2.0a code again.  The output I/O model is quite simple; the code writes to nrpe$log:nrpe.log, and there's no consideration of the TCP/IP Services settings or most anything else.  If you want to tweak that destination, have a look at nrpe.com.&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Jun 2009 21:07:07 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2009-06-18T21:07:07Z</dc:date>
    <item>
      <title>tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442777#M100405</link>
      <description>I'm working on getting Nagios NRPE working on OpenVMS 8.31h1, tcpip 5.6 eco 2, IA64 and have it working, but when I define the service:&lt;BR /&gt;&lt;BR /&gt;$ tcpip set service NRPED /port=5666 /protocol=tcp -&lt;BR /&gt;   /user=nrpe /process_name=nrped/flag=listen -&lt;BR /&gt;   /file=nrpe$:nrpe.com /limit=50 -&lt;BR /&gt;   /log=(file:nrpe$:nodename_nrped_run.log,all)&lt;BR /&gt;The service doesn't log to the file but rather to sys$login:nrpe.log.  I've checked privs, etc.&lt;BR /&gt;&lt;BR /&gt;$ tcpip show service nrped/full&lt;BR /&gt;&lt;BR /&gt;Service: NRPED&lt;BR /&gt;                           State:     Enabled&lt;BR /&gt;Port:             5666     Protocol:  TCP             Address:  0.0.0.0&lt;BR /&gt;Inactivity:          5     User_name: NRPE            Process:  NRPED&lt;BR /&gt;Limit:              50     Active:        0           Peak:         1&lt;BR /&gt;&lt;BR /&gt;File:         NRPE$:NRPE.COM&lt;BR /&gt;Flags:        Listen&lt;BR /&gt;&lt;BR /&gt;Socket Opts:  Rcheck Scheck&lt;BR /&gt; Receive:            0     Send:               0&lt;BR /&gt;&lt;BR /&gt;Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr&lt;BR /&gt; File:        NRPE$:OMEGA1_NRPED_RUN.LOG&lt;BR /&gt;&lt;BR /&gt;Security&lt;BR /&gt; Reject msg:  not defined&lt;BR /&gt; Accept host: 0.0.0.0&lt;BR /&gt; Accept netw: 0.0.0.0&lt;BR /&gt;&lt;BR /&gt;Does anyone have any suggestions?</description>
      <pubDate>Thu, 18 Jun 2009 18:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442777#M100405</guid>
      <dc:creator>bgr</dc:creator>
      <dc:date>2009-06-18T18:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442778#M100406</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; have you stopped and restarted the service ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jun 2009 18:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442778#M100406</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-18T18:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442779#M100407</link>
      <description>I have done:&lt;BR /&gt;TCPIP&amp;gt; disable service nrped&lt;BR /&gt;TCPIP&amp;gt; enable service nrped&lt;BR /&gt;this seems to have no effect.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jun 2009 18:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442779#M100407</guid>
      <dc:creator>bgr</dc:creator>
      <dc:date>2009-06-18T18:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442780#M100408</link>
      <description>instead of just using a logical (NRPE$), try it with a "device:[dir]filename.log" specification.</description>
      <pubDate>Thu, 18 Jun 2009 19:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442780#M100408</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2009-06-18T19:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442781#M100409</link>
      <description>NRPE$ logical is correctly defined or it would not run the .com file to begin with.  However, I did try with no logicals and had the same results.</description>
      <pubDate>Thu, 18 Jun 2009 19:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442781#M100409</guid>
      <dc:creator>bgr</dc:creator>
      <dc:date>2009-06-18T19:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442782#M100410</link>
      <description>As for the general sequence, have you seen &lt;A href="http://nrpevms.dbaalacarte.com/" target="_blank"&gt;http://nrpevms.dbaalacarte.com/&lt;/A&gt; and the details there?&lt;BR /&gt;&lt;BR /&gt;If 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.&lt;BR /&gt;&lt;BR /&gt;Also see the recent thread: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1344931" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1344931&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As the log stuff may or may not be relevant; widgets are free to ignore same.  Looks like nrpe ignores it, too.</description>
      <pubDate>Thu, 18 Jun 2009 19:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442782#M100410</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-06-18T19:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442783#M100411</link>
      <description>I tool a look at the 2.0a code again.  The output I/O model is quite simple; the code writes to nrpe$log:nrpe.log, and there's no consideration of the TCP/IP Services settings or most anything else.  If you want to tweak that destination, have a look at nrpe.com.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jun 2009 21:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442783#M100411</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-06-18T21:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442784#M100412</link>
      <description>Thanks everyone for your help!  I believe this issue has been resolved.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;$ define /system nrpe nl:  !-- send to nul&lt;BR /&gt;$ ! -or- (in our case, make node specific)&lt;BR /&gt;$ define/system nrpe utilia64 [NRPE.COMMON.LOG]OMEGA1_NRPE.LOG&lt;BR /&gt;$ tcpip set service NRPED /port=5666 /protocol=tcp -&lt;BR /&gt;   /user=nrpe /process_name=nrped/flag=listen -&lt;BR /&gt;   /file=nrpe$:nrpe.com /limit=50 -&lt;BR /&gt;   /log=(file:nrpe$:'node'_nrped_run.log,all)&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;  NRPE         job terminated at 19-JUN-2009 09:21:33.36&lt;BR /&gt;&lt;BR /&gt;  Accounting information:&lt;BR /&gt;  Buffered I/O count:               1646      Peak working set size:       7888&lt;BR /&gt;  Direct I/O count:                   39      Peak virtual size:         181152&lt;BR /&gt;  Page faults:                       651      Mounted volumes:                0&lt;BR /&gt;  Charged CPU time:        0 00:00:00.11      Elapsed time:       0 00:00:02.44&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2009 15:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442784#M100412</guid>
      <dc:creator>bgr</dc:creator>
      <dc:date>2009-06-19T15:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: tcpip set service /log(file:dsk:[dir]filename.ext,all) does not work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442785#M100413</link>
      <description>Hey there. I am working on getting this running on an Integrity server. Would you be willing to share the image files with me as I cannot find my c compiler for VMS.</description>
      <pubDate>Mon, 18 Oct 2010 15:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-set-service-log-file-dsk-dir-filename-ext-all-does-not/m-p/4442785#M100413</guid>
      <dc:creator>Brent Weaver_1</dc:creator>
      <dc:date>2010-10-18T15:02:49Z</dc:date>
    </item>
  </channel>
</rss>

