How can I write to a file from a JON CLI script?

Solution Unverified - Updated -

Issue

  • When alert fires, simple CLI script does not seem to execute
  • File not being updated when CLI script is executed as a result of an alert
  • Unable to append to a file with a JON CLI script
  • Unable to write to a file with JON CLI

Environment

  • JBoss Operations Network (JON) 3.1.2
  • JON CLI
  • script writing to a file

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.