the collector is started and run properly; here the njmon_collector.log
"Sun Nov 29 12:27:11 2020 INFO: Starting port=8181 directory="/home/administrator/njmon/data" inject=0 injector-cmd="/usr/local/bin/injector.py" JSON=1 secret="abc555" Collector Version=12:/home/administrator/njmon/data:8181"
then when I start an agent on one other linux with the following command:
njmon -s 10 -c2 -f -i 10.44.96.155 -p 8181 -X abc155
I got locally in the collector.log
Sun Nov 29 12:28:08 2020 ERROR: Parent directory () path names not supported character-position:v(u&IDMuQIH(/ v(wQuDu&ID(/ (z2z27tt7zoct@/zx/2x((_cg(/ (z2z27tt7zoctz/zx/2x((MWQHMFu|MD]
WwM(/ t2(MWQHMF` ..................
do you have an idea? I checked the code then my conf but the directory path seams ok
Hi,
You are using the njmon central Collector with I would guess a current version on njmon.
This combination has not worked since upgraded version for 9 months.
Since version 50 we moved from the Collector and Injector to using njmond.py (written in Python) which combines the two function. At the same time, the JSON format was changed to newline separated records. This last features will not work with the older Collector.
If you want the JSON files then use:
njmon -> njmond.py -> InfluxDB
Alternatively, send the data directly to InfluxDB, which is much easier to get going:
nimon -> InfluxDB
So start with njmon version 69 and if you want to use njmond.py use njmon Tools version 50.
Does that help?