Operating System - OpenVMS
1748151 Members
3804 Online
108758 Solutions
New Discussion

Re: Nagios NRPE agent on IA64 VMS 8.31h1

 
Brent Weaver_1
Occasional Advisor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

I am in the process of installing HP-I64VMS-TCPIP-V0506-9ECO5-1 to see if this has any affect.
JohnDite
Frequent Advisor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

Just to clarify any misunderstandings our customers uses nrpe in the following manner:

nagios@NMS11:~> ssh nrpe@192.168.51.233
"@APPLI:[NRPE.Scripts]CHECK_SAN_PATH.COM"

Brent Weaver_1
Occasional Advisor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

So they are not actually using the nrpe agent, instead doing a ssh connection. I am trying to avoid this as it has adverse affects (i.e. fills up accounting etc)

I am currently doign this as well and finding that VMS puts all kids of esc characters that I have to trim out in a perl script. I would like to put more burden on the "client" machine.

What about writing a com file that created a listening service and behaves alot like the nrpe agent. Meaning that I make a sockett connection and pass in a command and the com file/service runs the command and writes back to the server connection. I know this can be acciomplished by using sys$net, but I cannot figure this out
Domen Setar
Advisor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

Hi Brent,

I have the same problem that you described. Did you solve the problem?
I have OpenVMS 8.3-1H1 and TCPIP V5.6-9ECO4 on my Integrity server.

regards

Domen
PBru
Visitor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

I have the same problem. here is my conf

 

  HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 1
  on an HP rx2660  (1.59GHz/9.0MB) running OpenVMS V8.4

These macros are in effect at the start of the compilation.
----- ------ --- -- ------ -- --- ----- -- --- ------------

 __G_FLOAT=0  __DECC=1  vms=1  VMS=1  __32BITS=1  __PRAGMA_ENVIRONMENT=1
 __ia64__=1  __CRTL_VER=80400000  __vms_version="V8.4    "  CC$gfloat=0
 __X_FLOAT=1  vms_version="V8.4    "  __DATE__="Aug 31 2011"
 __STDC_VERSION__=199901L  __DECC_MODE_RELAXED=1  __DECC_VER=70390019
 __VMS=1  VMS_VERSION="V8.4    "  __IEEE_FLOAT=1  __VMS_VERSION="V8.4    "
 __TIME__="14:39:35"  __ia64=1  __VMS_VER=80400022  __BIASED_FLT_ROUNDS=2
 _VMS_WAIT=1  __INITIAL_POINTER_SIZE=0  __STDC__=2  _IEEE_FP=1
 __LANGUAGE_C__=1  __vms=1  __D_FLOAT=0

BTW, the problem can not be with SLL as I do not use it (neither at CC not LINK time, I undefined HAVE_SSL)

 

any idea ?

TIA,

Pierre

PBru
Visitor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

in custom.c, replace the syslog function with this one and rebuild.

 

void syslog(int priority, char *message, ...){
        va_list  arguments;

        printf("%d: ",priority);
        va_start(arguments, message);
        vprintf (message, arguments);
        va_end  (arguments);
        printf("\n");
}

 

JLWilkinson
Occasional Visitor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

Just where did you find the source code & BUILD.COM ??   I've looked on Nagios Exchange and they don't have an NRPE kit for OpenVMS.

PBru
Visitor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

NRPE VMS sources are downloadable from sourceforge. current version is 2.0a

JLWilkinson
Occasional Visitor

Re: Nagios NRPE agent on IA64 VMS 8.31h1

Ah, yes.   Catch is, I have no compilers available.  Not only need the kit for any runtime config & .COM files, but also need somebody to provide me with Itanium executables.