[Nagiosplug-devel] BUG report of check_by_ssh.c

akamatsu at kic.ac.jp akamatsu at kic.ac.jp
Wed Apr 9 02:50:26 CEST 2008


Thank you for developing Nagios Plugins.
I am a teacher of KIC(Kobe Institute of Computing graduate).

I have read check_by_ssh.c of latist version nagios-plugins-1.4.11.
I have checked -O output-file option.
But I can not find messages in the output-file.

Please correct source code of line-number of 137,138 in the
check_by_ssh.c  as follows.

   126          /* process output */

   136                  if (status_text == NULL) {
   137          //               printf ("%s", chld_out.line[i]);
correct                          printf(“%s\n”, chld_out.line[i]);
   138          //               return result;
correct                          continue
   139                  }

Please check, and happy to your replay.





More information about the Devel mailing list