Created
October 19, 2016 22:27
-
-
Save briglx/fbe48a77e233b4f1bfa79afcc4a4e896 to your computer and use it in GitHub Desktop.
Log HDFS jmx metrics to syslog. See https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_hdfs_admin_tools/content/ch07.html and http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
logger curl -i http://localhost:50070/jmx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment