monitã§1æéã¢ã¯ã»ã¹ããªããµã¼ãã¹ãåæ¢ãã
- /etc/monit.d/service_passivate.conf
check file service_passivate with path /var/log/nginx/access.log if timestamp > 30 minutes for 30 cycles then exec "/root/bin/service_passivate.sh"
execã¯alertéã£ã¦ãæ¡ä»¶ãæºããã¦ããå ´å常ã«å®è¡ãããã®ã§æ³¨æãå¿ è¦ãversion 5.16ããalertã¨åã1åã ãå®è¡ãããããã«ãªã£ã