Nrpe_nt

nrpe_nt is a windows version of the nrpe daemon for unix-like operation systems

It provides methods to execute checks on a windows host and report the results back to your Nagios host.

If you are not familiar with the operation of Nagios or nrpe on Unix systems, you should visit the Nagios Homepage as a starting point, as nrpe_nt will not be of much use for you.

If you are already running a Nagios installation and looking for a way to run checks on a windows host, nrpe_nt might be what you are looking for.

nrpe_nt is intended to provide the functionality of the original nrpe daemon and to talk to check_nrpe on your nagios host.

Version History

Current Version: 0.8
Current Status: Beta
 
Version: Changes:
0.8 - Updated OpenSSL libs to 0.9.7e
- Changes to SSL code
- Changed debug logging from eventlog to seperate logfile
  nrpe_nt.log in application directory gets created if debug=1 in nrpe.cfg
- Added switch for disabling SSL in the SSL build, -n parameter can now be specified during service install:
  "nrpe_nt -i" installs with SSL enabled
  "nrpe_nt -i -n" installs with SSL disabled
- Added a service dependency on Tcpip
  This should reduce problems with the service starting (and failing) too early after a reboot because the network is not yet available
- Fixed access violation if fewer parameters passed than expected by command definition
0.7f - Fixed problems binding to all interfaces on Win2003
- Updated OpenSSL libs to 0.9.7d

Patches contributed by Patrick Spizzo

- Added code to handle error conditions and provide useful error messages.
- Fixed syslog function to avoid buffer overflows.
- Fixed the sleep conversion from Unix to Windows from 100 to 1000.
- Added additional code to UninstallService to check that the service is stopped and to use the correct permissions for the SCManager.
- Added the '#define NOT_OK -1' line to use instead of ERROR, which is defined as the same value as OK in Windows.
- Removed logic using the ERROR #define.
- Added include_dir functionality back in (using ported version of original code from nrpe).
- Added better error codes during service startup.
- Made the default config_file location work regardless of .exe filename.
- Used standard OpenSSL function to display OpenSSL version number in Usage.
- Modified the OpenSSL "#include" directives to have the openssl prefix, which is standard on most systems.

0.7e - added some additonal output if debug=1
- "include" handling rev.
0.7d - fixed broken "include" directive in nrpe.cfg
- More SSL fixes
0.7c - More SSL fixes
0.7bSSLupd - OpenSSL dlls updated to 0.9.7c
0.7b - fixed "Exception in handle_connection-packet_Send: -1073741819"
0.7a - fixed access violation under high load
- added some code to 'handle' errors caused by plugins,
  preventing the service to stop unexpected
0.6 - fixed a bug when server_address set in nrpe.cfg
0.5 - added changes to be in sync with 2.0b4
- changed default startup type for service from manual to automatic
0.4 - fixed access violation on large output from plugin
- changed some ssl code, -n switch now working
0.3 - fixed some eventlog messages
- added EventSource for nicer display in EventLog
- Now compiles with ENABLE_COMMAND_ARGUMENTS
- Added SSL support
0.2 - Some code cleanup
- plugins get terminated after timeout
0.1 - Initial version running as service

Download

There are two download packages available at the moment.

The Binary Archive ships with SSL support and Command Arguments compiled in, and also includes the required OpenSSL libraries.

The Source Archive contains the plain sources: You will need VC 6.0 to build the executables, and require the OpenSSL libs installed if you are planning to enable SSL support (which is strongly recommended).

Forums

Forums for NRPE_NT can be found here

Contact

If you have any questions, comment or ideas about nrpe_nt, please post to the appropriate forums or drop me a line at nrpe_nt (At) miwi-dv.com

Credits

nrpe_nt is heavily based on Ethan Galstads original nrpe code for unix
Nagios and the Nagios logo are registered trademarks of Ethan Galstad

nrpe_nt uses libraries from the OpenSSL project

nrpe_nt now lives at Sourceforge
SourceForge.net Logo

Last updated: 10.03.2008