Page 1 of 1

Problem in getting alert service state at CRITICAL

Posted: Wed Apr 19, 2017 12:45 am
by anish
Hi,

I am using custom script to capture windows event log. Script is giving desired output when executed at source.

Problem is I am getting Warning Alert for exit code 2 on nagios end.

I am expecting critical alert.

Please help.

Re: Problem in getting alert service state at CRITICAL

Posted: Wed Apr 19, 2017 12:59 am
by anish
Hi,

I am able to capture the desired output now..

I was missing "exit($lastexitcode)" in the command definition under ini file.

Please close the thread.

thanks.