NRPE and OpenVMS on integrity?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
pcoviello
Posts: 5
Joined: Mon Jun 03, 2013 2:50 pm

NRPE and OpenVMS on integrity?

Post by pcoviello »

Hi, I have seen some posts on other sites that NRPE will work on VMS. has it been succesfull on VMS 8.3-1H1? any info would be greatly appreciated.

thanks
Paul
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE and OpenVMS on integrity?

Post by slansing »

This is all that I could dig up, we do not currently support this, but we can do our best to help you to an extent:

http://h30499.www3.hp.com/t5/Networking ... az3cpxr2BM
pcoviello
Posts: 5
Joined: Mon Jun 03, 2013 2:50 pm

Re: NRPE and OpenVMS on integrity?

Post by pcoviello »

ok thanks... It seems as though I'm now running into a problem in starting the daemon... :(

$ nrpe_aux -c nrpe$:nrpe.cfg -d
nrped: opening log file....
20: Added command[check_test]=@nrpe$$scripts:check_test.com=

20: Added command[test0]=@nrpe$$scripts:test0.com=

20: Added command[test1]=@nrpe$$scripts:test1.com=

20: Added command[test2]=@nrpe$$scripts:test2.com=

20: Added command[check_testp]=@nrpe$$scripts:check_testp.com $ARG1$=

20: Added command[check_disk]=@nrpe$$scripts:check_disk.com $ARG1$=

20: Added command[check_dsa1110]=@nrpe$scripts:check_disk.com dsa11100=

20: Added command[check_dsa1200]=@nrpe$scripts:check_disk.com dsa1200=

20: Added command[check_dsa1301]=@nrpe$scripts:check_disk.com dsa1301=

20: Added command[check_memory]=@nrpe$scripts:check_memory.com=

20: Added command[check_cpu]=@nrpe$scripts:check_system.com CPU=

20: Added command[check_prc]=@nrpe$scripts:check_system.com PRC=

20: Added command[check_pfr]=@nrpe$scripts:check_system.com PFR=

20: Added command[check_prr]=@nrpe$scripts:check_system.com PRR=

20: Added command[check_fpl]=@nrpe$scripts:check_system.com FPL=

20: Added command[check_mpl]=@nrpe$scripts:check_system.com MPL=

20: Added command[check_dio]=@nrpe$scripts:check_system.com DIO=

20: Added command[check_bio]=@nrpe$scripts:check_system.com BIO=

0: INFO: SSL/TLS initialized. All network traffic will be encrypted.
99: Network server socket failure (6: no such device or address)%NONAME-E-NOMSG, Message number 00000002
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NRPE and OpenVMS on integrity?

Post by sreinhardt »

Do you have the correct address defined in /usr/local/nagios/etc/nrpe.conf under server_address?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
pcoviello
Posts: 5
Joined: Mon Jun 03, 2013 2:50 pm

Re: NRPE and OpenVMS on integrity?

Post by pcoviello »

yes... and for some reason I can not enable the nrped service in tcpip. which would explain why I can't start the daemon. :-(
pcoviello
Posts: 5
Joined: Mon Jun 03, 2013 2:50 pm

Re: NRPE and OpenVMS on integrity?

Post by pcoviello »

ok got it! well sort of... I had to add to the tcpip command...

with this:
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)

instead of:
set service NRPED /port=5666 /protocol=tcp /user=nrpe /process_name=nrped /file=nrpe$:nrpe.com /limit=50

but for some reason... I have the following in the log file. so let me ask this what address is the server address suppose to be, I thought it was it's own address, is this wrong? and allowed hosts is the Nagios server.

0: INFO: SSL/TLS initialized. All network traffic will be encrypted.
20: Connection from 192.168.14.15 port 11458
99: Host 192.168.14.15 is not allowed to talk to us!
20: Connection from 192.168.14.15 closed.
10: Terminating

thanks
Paul
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE and OpenVMS on integrity?

Post by slansing »

I believe it is asking for the Nagios server's address, otherwise it will bounce back active checks from Nagios, and in addition to that, not know where to send it's checks once it runs them.. :)
pcoviello
Posts: 5
Joined: Mon Jun 03, 2013 2:50 pm

Re: NRPE and OpenVMS on integrity?

Post by pcoviello »

well silly me for not knowing that the commands I was trying to run were supposed to be run on the server... I had my network team run it and voila! :D

20: Host address checks out ok
20: Handling the connection...
20: Host is asking for command 'check_test' to be run...
20: Running command: @nrpe$scripts:check_test.com
20: Command completed with return code 0 and output: Test of NRPED is ok

20: Return Code: 0, Output: Test of NRPED is ok :D

thanks for your help...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE and OpenVMS on integrity?

Post by slansing »

Ahhh! Most excellent, :) closing as resolved.
Locked