nagios-statd8
Nagios-statd daemon
Usage
nagios-statd [OPTION]
Overview
nagios-statd (nagios-statd Daemon) is the daemon program for nagios-stat(1). These programs together comprise a systems monitoring tool for various platforms. It is designed to be integrated with the Nagios monitoring tool, although this is not a requirement.
nagios-statd is the daemon that listens for connections from clients. It forks off a new daemon for each incoming connection. The forked daemon executes a series of typical UNIX commands and returns those commands standard output to the client.
Options
-a, --allowedhosts=HOSTS
HOSTS is a comma delimited list of hostnames and/or IP addresses to accept connections from. The default behavior (without -a) is to accept incoming connections from all hosts.
-b, --bindto=IP
Normally, nagios-statd will bind to all interfaces on a machine. You can enter an IP address to get nagios-statd to only bind only on the IP of a particular interface.
-i, --inetd
It is possible to run nagios-statd from inetd, rather than as a standalone daemon. To do this, you'll need to enter something similar to:
/etc/inetd.conf:
nagios-statd stream tcp nowait nobody /usr/sbin/nagios-statd nagios-statd -i
/etc/services:
nagios-statd/1040 tcp
This is probably the best way to run nagios-statd, although that can make it prone to inetd DoSes (which might happen if the host is monitored on a very short interval, such as every couple seconds).
-p, --port=PORT
Port for nagios-statd to listen to. The default port is 1040.
-P, --pid=FILE
Save the pid (process id) of the master daemon to FILE.
-V, --version
Output version information and exit.
-h, --help
Print short option information and exit.
Releases
4 releases since Debian 3.1 (Sarge); the text changed 1 time.