check process squid with pidfile /var/run/squid.pid
	group proxy
	group squid
	start program = "/sbin/service squid start"
	stop  program = "/sbin/service squid stop"
	if failed host localhost port 3128 with type tcp then restart
	if 5 restarts with 5 cycles then timeout
	depend on squid_bin
	depend on squid_rc
	depend on cache_dir
	#depend on cache_dev

check file squid_bin with path /usr/sbin/squid
	group squid
	include /etc/monitrc.d/templates/rootbin

check file squid_rc with path /etc/squid/squid.conf
	group squid
	include /etc/monitrc.d/templates/rootrc

check directory cache_dir path /var/spool/squid
	group squid
	if failed permission 2770 then unmonitor
	if failed uid root        then unmonitor
	if failed gid squid       then unmonitor

#check device cache_dev with path /dev/sda4
#	if space usage > 90 % then alert
#	if inode usage > 90 % then alert
