$LONGSERVICEOUTPUT$ \n

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
itshark
Posts: 2
Joined: Thu Jan 14, 2021 10:29 am

$LONGSERVICEOUTPUT$ \n

Post by itshark »

Hello,

this is my first topic here, so please be aware if I miss something which could be missing.

I wrote a PowerShell script with a classic Service-Output and an additional Long-Service-Output. The script itself is working fine and the output is working well.

When I try to use the $LONGSERVICEOUTPUT$ I see my output + \n.
I tested my script and it´s not an issue from the script. Even if I output a single character the \n is added at the end.

Hope I could explain what my problem is. Is there any solution to fix it?

Regards,
Olli
Locked