Hello all, I am trying to make a custom template that checks if the unix socket:
exists. I tried the
, but it does not work as expected:
but the file exists:
the OS is an Ubuntu 18.04.
seems like there is something strange with the
, Can someone help me understanding why it is not working and/or suggest another way to accomplish what I need?
Thanks for your time!
Code:
/run/php/php7.2-fpm.sock
Code:
vfs.file.exists
Code:
zabbix_agentd -t "vfs.file.exists[/run/php/php7.2-fpm.sock]" vfs.file.exists[/run/php/php7.2-fpm.sock] [u|0]
Code:
ls -l /run/php/php7.2-fpm.sock srw-rw---- 1 www-data www-data 0 Sep 9 08:46 /run/php/php7.2-fpm.sock
seems like there is something strange with the
Code:
/run
Thanks for your time!
Comment