Skip to content

Instantly share code, notes, and snippets.

@nickwallen
Created September 21, 2017 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickwallen/60d0a2d5fe692a584552078051992764 to your computer and use it in GitHub Desktop.
Save nickwallen/60d0a2d5fe692a584552078051992764 to your computer and use it in GitHub Desktop.
export PATH=$PATH:/var/lib/ambari-server/

python service_check.py \
  SERVICE_CHECK \
  /var/lib/ambari-agent/data/command-312.json \
  /var/lib//ambari-agent/cache/common-services/METRON//0.4.1/package/ \
  output.txt \
  DEBUG \
  /var/lib/ambari-agent/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment