*Nagios NRPE DAEMON for OpenVMS* Download nrpe_vms1.8 and 2.0: http://sourceforge.net/projects/nrpe-vms/ Version2.0b nrpevms-2_0b.zip (Latest 3sept2006) Version2.0a nrpevms-2_0a.zip Version1.8: nrpevms-1_8.zip a And Also: zip.exe and unzip.exe to extract the files. (should be extracted on OpenVMS) news, requests, bugs and others stuff here: http://www.dbaalacarte.com/forum/viewforum.php?id=2 Changes V2.0b: Platform tested: - Alpha OpenVMS V7.3-2 - HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5 - HP AXPVMS SSL V1.2 - HP C V7.1-015 on OpenVMS Alpha V7.3-2 Changes: - nrpe.cfg, howto.txt, changes.txt included - nrpe.com corrected - using arguments added. To unable it, you should: add #define ENABLE_COMMAND_ARGUMENTS in config.h and compile add dont_blame_nrpe=1 in nrpe.cfg (0 to disable) - VMS completion codes are managed. Add in sys$login:login.com the symbols $ NRPE_OK == 1 $ NRPE_WARN == 2 $ NRPE_ERR == 3 This would be seen on the nagios side as 0/1/2, which are ok/warn/err on Unix environment. Example: check CHECK_DISK.COM in the [.scripts] directory - no changes on check_nrpe (anyone using this anyway?) Changes V2.0a: - As of the 1.8 release, this is based on npre (unix version) release 2.0 from nagios.org - Releases 1.8 and 2.0 are incompatibles - support for OpenSSL (Tested with OpenSSL V1.1-A, you can get it from HP web site) - Using of args is broken. - A DCL file BUILD.COM is included - disabling openssl works, but generate an ACCVIO HowTo This is a HOWTO for the NRPED implementation on VMS. This was based on the NRPE 1.8 source code (from Ethan Galstad). The original code has been changed in order to run on VMS machines. The main differences I found are: * fork () on VMS does not provide the same functionality as on Unix * Some string functions are not available. These had been rewritten * Connection process changed to work as an auxiliary server (this is the implementation of inetd on VMS). This provides multi-session capability. This code has been tested on: * Alpha OpenVMS V7.3 * Alpha OpenVMS V7.1 * Alpha OpenVMS V7.1-1H2 * VAX OpenVMS V7.1 * DIGITAL TCP/IP Services for OpenVMS VAX Version V4.2 * Digital TCP/IP Services for OpenVMS VAX Version V4.2 - ECO 5 * DIGITAL TCP/IP Services for OpenVMS Alpha Version V4.2 * Compaq TCP/IP Services for OpenVMS Alpha Version V5.3 - ECO 1 * DEC C V5.7-004 on OpenVMS VAX V7.1 * Compaq C V6.5-001 on OpenVMS Alpha V7.3 * (if you succeed on other versions, let me know) These are steps to make it working. Not all mandatory - Create a user account. For example: user NRPE, with SYS$LOGIN = DKD100:[NRPE] UAF> add nrpe/pass=nrpe/flag=nodisuser/dev=dkd100:/dir=[NRPE]/privs=all/defprivs=all/uic=[300,300] - Define system wide logical names: "NRPE$" = "DKD100:[NRPE]" ! Put here NRPE_AUX.EXE, CHECK_NRPE.EXE, NRPE.COM & NRPE.CFG "NRPE$LOG" = "DKD100:[NRPE.LOG]" ! For logs "NRPE$SCRIPTS" = "DKD100:[NRPE.SCRIPTS]" ! For plug-ins - Define in sys$login:login.com the symbols $ NRPE_AUX == "$ NRPE$:NRPE_AUX.EXE" $ CHECK_NRPE == "$ NRPE$:CHECK_NRPE.EXE" - Add NRPE daemon as an auxiliary service in UCX or TCP/IP services. $ tcpip tcpip> set service NRPED /port= 5666 /protocol=tcp /user=nrpe /process_name=nrped /file=nrpe$:nrpe.com /limit=50 tcpip> enable service nrped - Edit nrpe.cfg and change allowed_hosts addresses. (This should be your monitoring host) - Example de check_nrpe execution: $ check_nrpe "-H" hostname "-p" 5666 "-c" check_test Troobleshooting 1. First be sure to pick up the right one based on your Nagios Version. 1.8 has no SSL support. And 2.0 has SSL but can work without. 2. - As reported by erik78se, replace --deamon by -d in nrpe.com - directories scripts and logs not in the zip file - nrpe.cfg missing. you can take the one from the 1.8 version. REPLACE ALL '$' characteres with '$$' - use of arguments in check_nrpe is broken - howto.txt is missing, you can get the one from 1.8 3. you can use param debug=1 in nrpe.cfg (vms side) and get the log file generated 4. set noverify can be usefull to avoid having commands listed in deamon output 5. the files should be unzipped in VMS and not windows