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.
Can you share the actual file rather than the output of more? That command is adding lines to the output and throwing off the line count. Stuff like this:
Do you know if cgi.cfg was modified using a Windows based text editor of some sort? Or has it not been touched at all? I copy+pasted your cgi.cfg into my environment and couldn't reproduce the issues, which leads me to believe there may be some encoding problems.