I have a provblem running telegraf as daemonset and using the docker plugin to read the docker.socket
is that the correct channel?
thank you all in advance
anyone?
gparaskevas has left the channel
gparaskevas joined the channel
Hello there
gparaskevas has left the channel
winem_ joined the channel
hacks has quit
hacks joined the channel
Somedream joined the channel
aviau joined the channel
ldiamond has quit
ldiamond joined the channel
rebelshrug joined the channel
rebelshrug has quit
gsimondon has quit
blkadder joined the channel
balalinux1 has quit
Sandcrab joined the channel
ldiamond_ joined the channel
winem_ has quit
favadi joined the channel
flexd joined the channel
flexd
hi there! If I am writing a output plugin, how can I see the log messages it would produce for debugging purposes? log.Println and such does not seem to show up anywhere
err, a output plugin for Telegraf, sorry
ldiamond_ has quit
gsimondon joined the channel
I'm having a weird issue where everything looks good, and a value seems to be parsed from the config, but it's not outputting correctly, i.e the value from the config is missing. It would be nice to know what was going on
ah.. maybe 'prefix' is some kind of magical variable name. it works now
ldiamond has left the channel
richid joined the channel
richid has left the channel
ldiamond_ joined the channel
_ADN_ joined the channel
Siecje joined the channel
Siecje
How can I reset the admin password? Or create a new admin user?
kolko joined the channel
Vapez has quit
sborza
flexd: you're writing a custom plugin, correct? how are you running the checks?
you have to remember that by default the telegrf agent will absorb stdout/stdin for all plugins it runs
flexd
sborza: I am, and it suddenly worked.. not sure why
but code is at work, and I am not at the moment :)
I had a configuration variable named 'prefix', that would contain the prefix of a filename for a output plugin. But all the files were coming out missing the prefix, and I got absolutely no output doing log.Println("prefix is:", prefix), or with fmt.Println
the last thing I did before it suddenly magically worked was to rename the variable filenamePrefix in the plugin and to filename_prefix in the configuration
so it could either be something about the 'prefix' name being magical, or I somehow fixed something when renaming the variable.
either way I'll try to reproduce tomorrow + submit this plugin as a pull-request when it's ready :)