[rsyslog-notify] Forum Thread: Re: omprog retries over a long period - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Tue Jun 21 02:08:19 CEST 2016
User: itgeek
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26637#p26637
Message:
----------
So, I've been re-reading the docs for omprog and I think the resume stuff
happens in response to stdin being read or not read. It sounds like
exiting when there is a connection error might be the wrong approach. All
of the config values are around resuming an existing process rather than
restarting one that has exited. I'm going to re-write my app to manage
reconnections on it's own. Have it stop reading stdin if it loses it's
websocket connection, and start reading again when it regains connectivity.
That way I can take advantage of the resumeRetryCount and resumeInterval
properties too.
Would this be a better approach or is my existing approach considered to be
valid?
Thanks for the help.
More information about the rsyslog-notify
mailing list