send_nsca.cfg(5)
π send_nsca.cfg β the NSCA-ng client config file, bestie
okay so this is the manual page for send_nsca.cfg, part of The NSCA-ng Manual, and it's literally just the config file that the send_nsca(8) client reads. that's it. that's the page. let me tell you everything about it though because there's actually a lot of cute stuff in here π
β¨ NAME β¨
send_nsca.cfg β the NSCA-ng client configuration file π¦
β¨ SYNOPSIS β¨
/etc/send_nsca.cfg
β¨ DESCRIPTION β¨
so the send_nsca(8) process reads its config data from a file. which file? the one you specify with -c on the command line, or, if you don't say anything, it just goes with /etc/send_nsca.cfg. defaults, queen behavior π
πΈ File Format πΈ
config settings work like this: you write a variable name, then an equals sign ("="), then a value. one setting per line. no cap. values can be strings or integers.
strings have to be wrapped in single or double quotes if they contain any of these:
- whitespace characters
- hash mark characters
- literal quotation marks
otherwise, quoting is optional. do whatever, it's chill.
wanna put a literal single or double quote inside a string? two options, both iconic:
- escape it by putting a backslash (
"\") in front of it, or - quote the string with the other quote character instead. π
and a literal backslash? it must be preceded with a second backslash. yeah. two backslashes. the way that backslashes need their own little backslash bestie is so real π
any whitespace hanging around tokens gets ignored. empty lines get ignored. comments get ignored too. comments start with a hash mark character ("#") and run all the way to the end of the line.
oh and if the last character of a line is a backslash ("\"), the next line is treated as a continuation of the current line (and that backslash is otherwise ignored). line-wrap slay β¨
π§ Settings π§
the send_nsca(8) client recognizes the following variables. they can show up in any order you want, no rules. the type of each value is shown after an equals sign in angle brackets, like <integer> or <string>.
delay = <integer>β wait for a random number of seconds between0and whatever you specified before contacting the server. super useful if you've got a ton ofsend_nsca(8)clients all firing off at the exact same moment and you wanna reduce server load. default is0, which meanssend_nsca(8)connects immediately, no waiting around. πββοΈ heads up: this value gets ignored ifsend_nsca(8)is called with the-Doption.encryption_method = <string>β this setting is ignored. it's just accepted for compatibility with NSCA 2.x. it's giving legacy. it's giving decorative. πidentity = <string>β send the specified client identity to the server. this is used for authentication and authorization. multiple clients can totally share the same identity, it's not exclusive. by default, the local host name gets used. πpassword = <string>β use this passphrase for authentication and encryption. default password is"change-me". change it! π¨ fr fr i am begging you.port = <string>β connect to this service name or port number on the server instead of the default port (5668). heads up: this value gets ignored ifsend_nsca(8)is called with the-poption.server = <string>β connect and talk to this server address or host name. default server is"localhost". heads up: this value gets ignored ifsend_nsca(8)is called with the-Hoption.timeout = <integer>β close the connection if the server didn't respond for this many seconds. if you set the timeout to0,send_nsca(8)won't enforce connection timeouts at all (living dangerously, love that for you). default timeout is15seconds. heads up: this value gets ignored ifsend_nsca(8)is called with the-ooption.tls_ciphers = <string>β limit the cipher suites offered during TLS negotiation to this specific list of ciphers. the format of that string is described in theciphers(1)manual. by default, the ciphers in the listPSK-AES256-CBC-SHA:PSK-AES128-CBC-SHA:PSK-3DES-EDE-CBC-SHA:PSK-RC4-SHAwill be offered. π
β¨ EXAMPLES β¨
your /etc/send_nsca.cfg file might look something like this:
identity = "web-checker"
password = "djMKCIcurJJLSQGT5qIhCfqCHQLTcvp9"
server = "monitoring.example.com"
tls_ciphers = "PSK-AES256-CBC-SHA"
delay = 2
port = 5668
timeout = 10
β¨ CAVEATS β¨
please set the permissions appropriately so that only authorized users can access the /etc/send_nsca.cfg file. this file has your password in it bestie, lock it down π
β¨ SEE ALSO β¨
send_nsca(8), nsca-ng(8), nsca-ng.cfg(5),
http://www.nagios.org/developerinfo/externalcommands/
β¨ AUTHOR β¨
Holger Weiss <holger@weiss.in-berlin.de> π
and that's the whole page! this was Version 1.7, dated February 9, 2026, from the NSCA-ng manual. go forth and configure responsibly, bestie π«Άβ¨π
π¦ where this page comes from
- ubuntu resolute: nsca-ng-client 1.7-1 Β· BSD-2-Clause
- ubuntu stonking: nsca-ng-client 1.7-1build1 Β· BSD-2-Clause
- Copyright (c) 2013 Holger Weiss <holger@weiss.in-berlin.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms