in reply to Re: Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9
in thread Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9

Hi, The code I posted was the original template of the said monitoring tool, its just when I tested that on my linux box, it works, but when I use that on other linux box with the same version, it generates error message.
  • Comment on Re^2: Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9

Replies are listed 'Best First'.
Re^3: Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9
by Corion (Patriarch) on May 07, 2011 at 05:58 UTC

    So I would start investigating the differences between the two machines.

    You don't show us any code that produces the error message. If you assume that there is an error in your script, you will tell us what error message your script produces, and also what the script is supposed to do. If you assume that there is an error in your monitoring tool, you will need to show us that code instead of the other code.