nrds plugins multi-line output to XI server
Posted: Wed Oct 01, 2014 4:07 pm
Hi.
I've got a custom plugin that runs as a passive (nrds) service on each agent.
It's a logfile monitor that looks for many regular expressions in a given file.
From the plugin perspective, it will send multiple distinct alerts; one for each matched regex.
From the XI perspective, it would look like a bunch of \n-separated lines.
On the XI server, I only see one line of output on the Service Detail window.
1) we need to see each line.
2) as these are being picked up by a third-party notification tool (IBM's Netcool) that connects to XI, each line must be processable
I see many multi-line output questions/issues on the forum, but can't get a handle on exactly what I need to do.
Thanks,
Rick
I've got a custom plugin that runs as a passive (nrds) service on each agent.
It's a logfile monitor that looks for many regular expressions in a given file.
From the plugin perspective, it will send multiple distinct alerts; one for each matched regex.
From the XI perspective, it would look like a bunch of \n-separated lines.
On the XI server, I only see one line of output on the Service Detail window.
1) we need to see each line.
2) as these are being picked up by a third-party notification tool (IBM's Netcool) that connects to XI, each line must be processable
I see many multi-line output questions/issues on the forum, but can't get a handle on exactly what I need to do.
Thanks,
Rick