[Xymon] xymon communications program (server/bin/xymon) reading from stdin - first line only?
John Thurston
john.thurston at alaska.gov
Fri Mar 30 18:26:13 CEST 2018
I suspect you need to double-quote the final string. Without that, I
suspect the xymon command is only reading everything up to the first
line feed.
Can you provide an explicit example? ie "This worked...this didn't"
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska
On 3/29/2018 9:03 AM, Ribeiro, Glauber wrote:
> Recently I tried to modify one of my xymon extension scripts, which
> passes the message data to the xymon command on the command line, to
> pass it via STDIN instead.
>
> It worked (sort of), but I was not able to get xymon to process more
> than the first line of the message (the one with color, status,
> timestamp). The rest of the message seemed to be ignored.
>
More information about the Xymon
mailing list