I have Nagios 2.6 on Linux RH4 box, and NSClient++ on a WIN box, with a check_file.exe file plugin.
When I check output from a command line it is OK - has 4 lines to it, so it is working fine.
Than I incorporated it in Nagios.
Works OK, BUT gives out ONLY the first line of the command output.
I need all of the 4 lines!!!
Is there any way to make Nagios show all 4 lines of the command output?