Maybe syslog-ng isn't running at all so the messages try to find a way "home".
<118>2020-08-18T22:38:44.491556+10:00 firewall.xxxx lighttpd 79007 - - xxxx firewall.xxxx - [18/Aug/2020:22:38:44 +1000] "GET /widgets/api/get.php?load=system%2Ctraffic%2Ctemperature%2Cgateway%2Cinterfaces&_=1597753466133 HTTP/1.1" 200 8670 "http://firewall.xxxx/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"<118>2020-08-18T22:38:51.924012+10:00 firewall.xxxx lighttpd 79007 - - xxxx firewall.xxxx - [18/Aug/2020:22:38:51 +1000] "GET /widgets/api/get.php?load=system%2Ctraffic%2Ctemperature%2Cgateway%2Cinterfaces&_=1597753466134 HTTP/1.1" 200 8671 "http://firewall.xxxx/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"<118>2020-08-18T22:38:59.269693+10:00 firewall.xxxx lighttpd 79007 - - xxxx firewall.xxxx - [18/Aug/2020:22:38:59 +1000] "GET /widgets/api/get.php?load=system%2Ctraffic%2Ctemperature%2Cgateway%2Cinterfaces&_=1597753466135 HTTP/1.1" 200 8670 "http://firewall.xxxx/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
Syntax error, unrecognized expression: #thermal_sensors_widget_<118>2020-08-18T22
<118>2020-08-26T01:47:36.967822-07:00 OPNsense.kurort lighttpd 61178 - - 172.16.1.106 172.16.1.1 - [26/Aug/2020:01:47:36 -0700] "GET /widgets/api/get.php?load=traffic%2Cinterfaces%2Cgateway%2Csystem%2Ctemperature&_=1598431650218 HTTP/1.1" 200 11921 "https://172.16.1.1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0"
root@OPNsense:/tmp # /sbin/sysctl -a | grep temperature:hw.acpi.thermal.tz1.temperature: 29.9Chw.acpi.thermal.tz0.temperature: 27.9Cdev.cpu.3.temperature: 53.0Cdev.cpu.2.temperature: 53.0Cdev.cpu.1.temperature: 52.0Cdev.cpu.0.temperature: 52.0C
/sbin/sysctl -a | grep temperaturedev.cpu.1.temperature: 55.1Cdev.cpu.0.temperature: 55.1C
sysctl kern.msgbuf_clear=1
This makes it more likely that the problem is/was with syslog-ng. Franco has patched this and it's in for the 20.7.2 release, however the patch is available now, so it could be a good idea to run this:# pkg add -f https://pkg.opnsense.org/FreeBSD:12:amd64/20.7/misc/syslog-ng327-3.27.1_2.txz
syslog-ng is now installed! To replace FreeBSD's standard syslogd(/usr/sbin/syslogd), complete these steps:
Thanks Xelas, question is, why is there junk in there to start with. Might be a 12.1 issue that needs to be resolved, but that call before any other calls using sysctl would be a good idea