Hi Philipp, Thanks for pointing this issue out. I recently pruned a lot of old versions of nmon, njmon and the other tools and it seems I went to far. I just added back njmond_v81.zip Let me know if you have further problems. Cheers, Nigel
So this became a Feature Request rather than a bug for njmon. Implemented in version 91 for AIX and Linux. A beta is ready for some testing to confirm the feature. When in nimon mode i.e saving Line Protocol format: Use the new -S flag to switch on TimeStamps in the output to InfluxDB (or other tools via the same API), a socket or pipe or when saving to a file. https://sourceforge.net/projects/nmon/files/njmon_linux_91beta.zip/download https://sourceforge.net/projects/nmon/files/njmon_AIX_91beta.zip/download...
Implemented in version 91 for AIX and Linux. A beta is ready for some testing to confirm the feature. I changed the shell variable name to NJMON_INFLUX_API_PREFIX Example export NJMON_INFLUX_API_PREFIX=/ABC/def https://sourceforge.net/projects/nmon/files/njmon_linux_91beta.zip/download https://sourceforge.net/projects/nmon/files/njmon_AIX_91beta.zip/download Also implemented the InfluxDB timestamps using the -S flag.
I think changing that would confuse most users.
Excellent feedback. Sorry about the 6 year delay!!
Done in version 16s
This features means breaking the InfluxDB API. This is very Victoriametrics specific, so I suggest this is handled but a shell script variable. something like NJMON_HTTP_PREFIX For example: export NJMON_HTTP_PREFIX=/some/random/text then start nimon. Should be in the next release for AIX and Linux.
Hi Nowa, Removing the three spaces - rejected: Influxdata created Line Protocol and implemented it for InfluxDB. nimon output via a socket works perfectly with InfluxDB and has since 2018. I found via experiments that InfluxDB requires whitespace after the statistics (as a terminator for the statistics) and that three spaces work best. From my memory, other numbers of spaces were rejected by InfluxDB. If nimon output tested with InfluxDB is confusing Victoriametrics, then please get Victoriametrics...