Bug #13985
openTelegraf error After Update PFSense to 23.01
0%
Description
Telegraf craches after update to 23.01
Hardware: Netgate 6100
Telegraf Version: 0.9_6
https://github.com/pfsense/FreeBSD-ports/commits/devel/net-mgmt/pfSense-pkg-Telegraf
Crash report details:
PHP Errors:
[19-Feb-2023 10:00:54 Europe/Zurich] PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /usr/local/pkg/telegraf.inc:132
Stack trace:
#0 /usr/local/pkg/telegraf.inc(132): implode(',', NULL)
#1 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): telegraf_resync_config()
#2 /etc/inc/pkg-utils.inc(781): eval()
#3 /etc/inc/pkg-utils.inc(906): eval_once(' telegra...')
#4 /etc/rc.packages(76): install_package_xml('Telegraf')
#5 {main}
thrown in /usr/local/pkg/telegraf.inc on line 132
[19-Feb-2023 10:01:02 Europe/Zurich] PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /usr/local/pkg/telegraf.inc:132
Stack trace:
#0 /usr/local/pkg/telegraf.inc(132): implode(',', NULL)
#1 /etc/inc/pkg-utils.inc(715) : eval()'d code(1): telegraf_resync_config()
#2 /etc/inc/pkg-utils.inc(715): eval()
#3 /etc/rc.start_packages(66): sync_package('Telegraf')
#4 {main}
thrown in /usr/local/pkg/telegraf.inc on line 132
Files
Updated by Kris Phillips about 1 year ago
Unable to replicate in pfSense CE 2.7. Possible it's just an issue on Plus for some reason.
Updated by Marijan Kruljac 11 months ago
- File clipboard-202304201823-jutcz.png clipboard-202304201823-jutcz.png added
- File clipboard-202304201826-bxomu.png clipboard-202304201826-bxomu.png added
- File clipboard-202304201822-ruwzs.png clipboard-202304201822-ruwzs.png added
New knowledge, have installed the community version virtually.
The Telegraf Package Dependencies are different.
Community Edition 2.6:
lsof-4.94.0,8 telegraf-1.20.4
works Fine.
PfSense+: Fails
Updated by aleksei prokofiev 11 months ago
I've tested on
23.01-RELEASE (amd64)
built on Fri Feb 10 20:06:33 UTC 2023
FreeBSD 14.0-CURRENT
I can't reproduce the errors, telegraf is successfully installed and the service is running.
Updated by Lev Prokofev 11 months ago
Can't reproduce,
Installed 2.6 CE
Installed and configure Telegraf with influx DB
Upgraded to 23.01
no errors occurred.
Updated by Marijan Kruljac 11 months ago
@aleksei prokofiev, what dependent Telefraf Package have you?