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 10:27]
fiserp [Implementation]
tutorial:adm:server_monitoring [2019/03/25 10:28]
fiserp [Implementation]
Line 39: Line 39:
 #!/bin/bash #!/bin/bash
  
-# Modified for CentOS7 - Petr Fiser, BCV solutions s.r.o.+# Original 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.
 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