Home Directory Addons External Commands Nagios remote external command daemon

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Nagios remote external command daemon

Current Version
1.0
Last Release Date
2012-11-11
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
51960
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a tcp server that runs on the main Nagios monitoring host. It allows a monitored client host to connect to it and issue a Nagios external command. If authenticated and authorized, the client host can execute the Nagios external command by having the server write the command to the Nagios external command pipe.
This is the Nagios Remote External Commands Daemon, or NRECD for short. What it does is run a small TCP server on a Nagios monitoring server waiting for connections from remote monitored hosts. When an inbound connection is received, the nrecd daemon authenticates the remote host. If the remote host is authenticated, it is allowed to issue a Nagios external command. The external command will then be authenticated, and if it is, it will be passed to the Nagios external command pipe. There is a small program that runs on each remote host called "send_nrec" that connects to the main Nagios monitoring server and issues commands.