Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:server_monitoring [2019/03/25 11:29]
fiserp [Implementation]
tutorial:adm:server_monitoring [2019/03/25 11:32]
fiserp [Implementation]
Line 39: Line 39:
 #!/bin/bash #!/bin/bash
  
-# Original version https://exchange.nagios.org/directory/Plugins/System-Metrics/Memory/check_mem-2Esh/details+# Original (GPL-licensed) version https://exchange.nagios.org/directory/Plugins/System-Metrics/Memory/check_mem-2Esh/details
 # Modified for CentOS7/RHEL7 - Petr Fiser, BCV solutions s.r.o. # Modified for CentOS7/RHEL7 - Petr Fiser, BCV solutions s.r.o.
 if [ "$1" = "-w" ] && [ "$2" -gt "0" ] && [ "$3" = "-c" ] && [ "$4" -gt "0" ]; then if [ "$1" = "-w" ] && [ "$2" -gt "0" ] && [ "$3" = "-c" ] && [ "$4" -gt "0" ]; then
  • by urbanl