Webproxy monitor commands do not work. They show always the same result.
[email protected]:~$ monitor webproxy access-log WebProxy cache-log does not exist [email protected]:~$ monitor webproxy cache-log WebProxy cache-log does not exist
The root problem is in the incorrect path to log files.
[email protected]:~$ sudo cat /opt/vyatta/share/vyatta-op/templates/monitor/webproxy/access-log/node.def help: Monitor the last lines of the squid access log run: if [ -f /var/log/squid3/access.log ]; then sudo tail --follow=name /var/log/squid3/access.log; else echo "WebProxy cache-log does not exist"; fi [email protected]:~$ sudo cat /opt/vyatta/share/vyatta-op/templates/monitor/webproxy/-log/node.def access-log/ background/ cache-log/ node.def [email protected]:~$ sudo cat /opt/vyatta/share/vyatta-op/templates/monitor/webproxy/cache-log/node.def help: Monitor the last lines of the squid cache log run: if [ -f /var/log/squid3/cache.log ]; then sudo tail --follow=name /var/log/squid3/cache.log; else echo "WebProxy cache-log does not exist"; fi
The correct path to webproxy log files must be
/var/log/squid