Awesome, I tested the beta version and found that this works as expected: NJMON_INFLUX_API_PREFIX="/metrics/short/" /usr/lbin/nimon_beta -I -s 30 -i <my host> -p <my port> -k -n -S I also sent a pull request to victoriametrics to prevent it from complaining about the extra whitespaces, this is now included in the latest version: https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10096 Thanks!
Awesome, I tested the beta version and found that this works as expected: NJMON_INFLUX_API_PREFIX="/metrics/short/" /usr/lbin/nimon_beta -I -s 30 -i <my host> -p <my port> -k -n -S Thanks!
According to the folks at victoriametrics it should support writing data without a timestamp. However, nimon appears to be putting two empty spaces after the write string which throws off the timestamp detection and leads to victoriametrics treating the whitespace as the timestamp. Looking at the code I see that this is indeed the case on line 495: output_char += sprintf(&output[output_char], " \n"); We thus have one bug/issue and possibly one feature request: Problem: Extra whitespaces confuse victoriametrics...
For the paper trail, reported to victoriametrics here: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10049
Thanks for the extensive reply, I'll open a bug report at Victoriametrics with a request to support inferring the timestamp from the current time. You are requesting the data gets send to InfluxDB AND to a local file with timestamps. This is an unexpected combination. I will have to check the code to see what is does - that might depend on order of the parameters. That is never going to work. I figured this is a somewhat unexpected/hacky combination of parameters. It does "work" though, meaning that...
nimon: support for writing to influx with extra http.prefix
nimon AIX7-90: missing timestamps in influx output
Same thing happening on Gentoo Linux with version 2.7. Strange thing is, every now and then it doesn't happen, but I haven't been able to find any consistency in that so far.