I beleive there is a version of this test that can be done in an if...then...else statement, but I'd have to go digging for it.

David Lang

On Wed, 20 Sep 2023, Luis Antonio Donoso de Dios via rsyslog wrote:

actions can be run if the previous was suspended by using the parameter
`action.execOnlyWhenPreviousIsSuspended`:

 ```
  action(
      type="omfwd" target="10.255.106.21" port="6514" protocol="tcp"
      queue.type="Direct"
      ...
      action.execOnlyWhenPreviousIsSuspended="on"
      )
 ```

Please, is there a way of running an action if the previous one was *not*
suspended? The use case is reporting that the target is available.

 Kind regards,
 Luis
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to