Xymon Mailing List Archive search

xymon communications program (server/bin/xymon) reading from stdin - first line only?

list John Thurston
Fri, 30 Mar 2018 08:26:13 -0800
Message-Id: <user-fc1726e98d47@xymon.invalid>

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    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
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.