Availability of Server Script resource reported DOWN when Availability Output Regex is defined

Solution Verified - Updated -

Issue

  • Test that a file exists
  • Test that a file has the correct version
  • When availability output regex is defined, resource availability goes down
  • Regular expression fails to match

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • Script Server plug-in for JBoss ON
  • Script server resource's availability output regex connection setting is defined with a valid regular expression
  • The regular expression used contains a line boundary construct such as ^ or $
  • The script output for the availability check contains a line separator or terminator -- such as linefeed or carriage-return

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