Page 1 of 1

LONGSERVICEOUTPUT MACRO is not working

Posted: Fri Apr 27, 2018 10:48 am
by padu_3891
Hello Team,

I have developed a bash script to get the last check service output and manipulate for next action for next check.
But unable to get the value for the macro, even tried with macro $SERVICEOUTPUT$, still the value is empty.

there is no "\n" or new line, the actual output is only one line with limited characters.

I am wondering why it is not working.

LONGSERVICEOUTPUT MACRO is not working.

Please advice.

Re: LONGSERVICEOUTPUT MACRO is not working

Posted: Fri Apr 27, 2018 11:20 am
by padu_3891
I have tried with $SERVICEOUTPUT$, it works but not working with $LONGSERVICEOUTPUT$ MACRO, please help.

Re: LONGSERVICEOUTPUT MACRO is not working

Posted: Fri Apr 27, 2018 12:43 pm
by cdienger
Is this script used as an event handler? Can you post a copy of it?