Ticket #367 (new defect)

Opened 6 months ago

newline entered into return string?

Reported by: robbie Owned by: MickeM
Priority: 1 Milestone:
Component: Core Version: 0.3.7
Severity: Bugs Keywords:
Cc:

Description

when I run a powershell script following the example in the nsc.ini file (e.g. check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command -), the script runs well, the error code comes through but the result string seems to get a newline character added to it somewhere around the 80 character mark, so only a limited part of the string is displayed in the Nagios web console, and if the newline is inserted in the middle of an html tag the web console may not display correctly.

Robbie

Note: See TracTickets for help on using tickets.