monitoring: fix check-syslog-socket critical case