Page 1 of 1

Nagios output of 1 = Doesnt not like it?

Posted: Fri Apr 18, 2014 3:36 pm
by LuisN
Ok, i have been bashing my head against the wall. First, i noticed that PHP or Bash script, anything that outputs 1 it does not recognize it. It just goes to the next if statement. ONLY if i hard code 1 into a variable it takes it. IF its a exec command in php, or a VARIABLE="COMMAND" it does NOT like it. WHY!? this is killing me

Re: Nagios output of 1 = Doesnt not like it?

Posted: Mon Apr 21, 2014 9:04 am
by tmcdonald
It would really help to see an example of the code.