send_nsca.cfg(5) | The NSCA-ng Manual | send_nsca.cfg(5) |
send_nsca.cfg - NSCA-ng client configuration file
/etc/send_nsca.cfg
The send_nsca(8) process reads configuration data from the file specified with -c on the command line or from /etc/send_nsca.cfg.
Configuration settings are defined by specifying a variable name followed by an equals sign (“=”) and a value, one setting per line. Values can be strings or integers. Strings have to be enclosed in single or double quotes if they contain whitespace characters, hash mark characters, or literal quotation marks. Otherwise, quoting is optional. To specify a literal single or double quote in a string, either escape it by preceding it with a backslash (“\”) or quote the string using the other quote character. A literal backslash must be preceded with a second backslash.
Any whitespace surrounding tokens is ignored. Empty lines and comments are also ignored. Comments are introduced with a hash mark character (“#”) and span to the end of the line. If the last character of a line is a backslash (“\”), the subsequent line is treated as a continuation of the current line (and the backslash is otherwise ignored).
The send_nsca(8) client recognizes the following variables. They may appear in arbitrary order. The type of each value is denoted after an equals sign in angle brackets.
The /etc/send_nsca.cfg file might look similar to the following example.
identity = "web-checker" password = "djMKCIcurJJLSQGT5qIhCfqCHQLTcvp9" server = "monitoring.example.com" tls_ciphers = "PSK-AES256-CBC-SHA" delay = 2 port = 5668 timeout = 10
Please set the permissions appropriately to make sure that only authorized users can access the /etc/send_nsca.cfg file.
send_nsca(8), nsca-ng(8), nsca-ng.cfg(5),
http://www.nagios.org/developerinfo/externalcommands/
Holger Weiss <holger@weiss.in-berlin.de>
March 19, 2019 | Version 1.6 |