send_nrdp.sh: typo in documentation for "-D"?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
thebream
Posts: 4
Joined: Tue Jan 28, 2020 3:50 pm
Location: Newcastle, NSW, Australia

send_nrdp.sh: typo in documentation for "-D"?

Post by thebream »

Have just installed NRDP 2.0.3, and looking at send_nrdp.sh:
(also here, https://support.nagios.com/kb/article/n ... t-599.html)

Code: Select all

$ ./send_nrdp.sh -h

send_nrdp.sh Revision 0.6.1 - Send NRDP script for Nagios
<snip>
    Directory:
        -D /path/to/temp/dir
        This is a directory that contains XML files in the format
        above.  Additionally, if the -d flag is specified, send_nrdp.sh
        will create temp files here if the server could not be reached.
        On additional calls with the same -D path, if a connection to
        the server is successful, all temp files will be sent.
Looking at the code in the script, I believe that the help should read
"Additionally, if the -D flag" . . . i.e. uppercase "D"
Locked