Created
August 28, 2019 09:03
-
-
Save Dzordzu/0ceda6be4ef033da0c9593ad021dead9 to your computer and use it in GitHub Desktop.
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
python3 /usr/lib/nagios/plugins/check_docker --containers "($(docker ps -a | grep -v Running | grep -v CONTAINER | awk 'BEGI | |
N {ORS="|";FS=" {2,}"} {print $6}'))" --cpu 75:90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment