OpenVMS

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
eajxm73
Posts: 2
Joined: Thu Feb 17, 2011 10:14 am

OpenVMS

Post by eajxm73 »

Hi

Could anyone please share with my how to get the NAGIOS client NRPE working on OpenVMS. I have searched high and low on the internet I have not found the answer yet. Is anyone using any other plugin or tcpip service to monitor an openvms system with nagios

When ever I run nrpe_aux -c nrpe$:nrpe.cfg -d I get the following

$ nrpe_aux -c nrpe$:nrpe.cfg -d
nrped: opening log file....
20: Added command[check_test]=(null)=

20: Added command[check_dkc100]=(null)=

20: Added command[check_dkc300]=(null)=

20: Added command[check_memory]=(null)=

20: Added command[check_cpu]=(null)=

20: Added command[check_prc]=(null)=

20: Added command[check_pfr]=(null)=

20: Added command[check_prr]=(null)=

20: Added command[check_fpl]=(null)=

20: Added command[check_mpl]=(null)=

20: Added command[check_dio]=(null)=

20: Added command[check_bio]=(null)=

0: INFO: SSL/TLS initialized. All network traffic will be encrypted.
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=010101010101
0101, PC=FFFFFFFF84C1FF20, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
DECC$SHR C$STRLEN strlen 3690 0000000000000060 FFFFFFFF84C1FF20
DECC$SHR C$TXDOPRINT convert_spec 42826 000000000000BED2 FFFFFFFF84D6DFD2
DECC$SHR C$TXDOPRINT decc$$txdoprint
43438 000000000000D772 FFFFFFFF84D6F872
DECC$SHR C$TXDOPRINT sprintf 43783 0000000000012282 FFFFFFFF84D74382
NRPE_AUX CUSTOM syslog 1849 0000000000000132 00000000000361C2
NRPE_AUX NRPE_AUX wait_for_connections
60026 0000000000002352 0000000000032352
NRPE_AUX NRPE_AUX main 59746 0000000000000C12 0000000000030C12
NRPE_AUX NRPE_AUX __main 59642 0000000000000232 0000000000030232
0 FFFFFFFF80B47E92 FFFFFFFF80B47E92
DCL 0 000000000006C7F2 000000007ADEC7F2
%TRACE-I-END, end of TRACE stack dump

Thank you for looking at my post
eajxm73
Posts: 2
Joined: Thu Feb 17, 2011 10:14 am

Re: OpenVMS

Post by eajxm73 »

I have now decided to use SSH to talk to VMS instead , I can get the CHECK_SSH to work, so I know ssh is working
[1298505600] CURRENT SERVICE STATE: RHINO;check ssh;OK;HARD;1;SSH OK - SSH OpenVMS V5.5 VMS_sftp_version 3 (protocol 2.0)

If I run the check_by_ssh manually , where ip address is the ip address used for check_ssh it works

/usr/local/nagios/libexec/check_by_ssh -l nrpe -i /home/nagios/.ssh/id_dsa -H ipaddress -C '@DSA100:[NRPE.SCRIPTS]CHECK_DISK DSA100'

DISK OK - 115712 kB 83% free on RHINO$DSA100

but if I get nagios to run the command i get a (null) for output
[1298561532.044946] [016.1] [pid=10271] HOST: RHINO, SERVICE: Disk, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: (null)
Locked