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

How is the code you posted related to the error message you posted?
  • Comment on Re: Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9

Replies are listed 'Best First'.
Re^2: Testing on node localhost.localdomain: failed with "Undefined" status, Invalid script return code: 9
by tan.darell (Initiate) on May 07, 2011 at 03:21 UTC
    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.

      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.