rsyslog stops writing logs when using `omprog`.

Solution Verified - Updated -

Issue

  • Rsyslog randomly stops writing messages.
  • rsyslogd[PID]: omprog: program '/usr/local/bin/myprog.pl' (pid PID) terminated; will be restarted [v8.2102.0-15.el8 try https://www.rsyslog.com/e/2119 ]
  • rsyslogd[PID]: action 'action-8-omprog' suspended (module 'omprog'), retry 0. There should be messages before this one giving the reason for suspension. [v8.2102.0-15.el8 try https://www.rsyslog.com/e/2007 ]
  • rsyslogd[PID]: action 'action-8-omprog' resumed (module 'omprog') [v8.2102.0-15.el8 try https://www.rsyslog.com/e/2359 ]

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • rsyslog
  • omprog

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content