Hi All,
I tried to joind CZ.NIC data collection project Turris through registration in Forris webpage.
Everything goes smoothly, but it looks like my router is not sending any data.
I’m receiving emails on daily basis, that firewall and ucollect were unreachable since I set up Omnia.
The same info is on https://www.turris.cz/cs/data/ - no data received from my router.
Is this project working for Turris Omnia?
Does anybody sucesfully set up data collection for Turris project?
its take a time, look like data are uploaded in packages. First data i saw on turris site, after few hours…
Hello,
Project works also for Turris Omnia.
I have it and it’s running.
But first you need to figure why you doesn’t send data to CZ.NIC.
Do you have something related in file “messages” located in /tmp/log?
What shows files “firewall-turris-status” and “ucollect-status” both are located folder /tmp
Thank you for your reply. I’m trying to find out which script is responsible for creating statistics and for sending it to cz.nic site. In my /tmp/log/messages I found this sequence (frequent):
2016-10-29T01:50:01+02:00 info cron[6995]: (root) CMD ( /usr/bin/notifier)
2016-10-29T01:50:01+02:00 info cron[6998]: (root) CMD (/usr/bin/watchdog.sh)
2016-10-29T01:50:01+02:00 info cron[7001]: (root) CMD (majordomo_db.sh downsize)
2016-10-29T01:50:01+02:00 info cron[7002]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2016-10-29T01:50:01+02:00 info cron[7003]: (root) CMD (nethist_stats.lua)
2016-10-29T01:50:02+02:00 warning watchdog[]: Restarted nethist
I believe nethist_stats.lua can is the script which should collect data. I can’t find script or process responsible for sending data out to cz.nic
There is no firewall-turris-status nor ucollect status in my /tmp directory.
I’m going to reset whole router as I believe this should work out of the box.
Let us know, if it will work.
I made factory reset, but nothing changed. It’s still not sending data to cz.nic.
Does anybody know which process should send data to Turris project?
Maybe you can try re-flash router, but it should be process called: “collectd”, which is located in folder /usr/sbin/collectd and also “ucollect” (/tmp/ucollect)
and also you can find it some scripts also in /usr/share/ucollect
I have the same issue. No data shows up on cz.nic yet I cannot find anything wrong on my side. collectd
is running:
ps | grep \[c]ollect
14576 root 2656 R socat STDIO OPENSSL:api.turris.cz:5679,cafile=/etc/ssl/ucollect-server.pem,cipher=HIGH:!LOW:
16488 root 1076 S /bin/sh -c /usr/share/ucollect/scripts/ucollect-add-firewall
16489 root 1076 S {ucollect-add-fi} /bin/sh /usr/share/ucollect/scripts/ucollect-add-firewall
25017 root 1944 S /usr/sbin/collectd
and data collection is enabled in the web UI.
For me it took about one day for data to show up there. It seems that data is processed daily on the server side…
Similar problem I found a lot of “MAIL (mailed 204 bytes of output but got status 0x0001” error messages in syslog. Any hint?
Te process responsible for participation in the Turris project is called ucollect
and nikola
for firewall logs. You can check the status of both on the about router page.
The statistics on the website turris.cz are delayed for a day or so.
The about page shows sending of both uCollecta data and firewall logs as online. I can see ucollect
in ps
output:
# ps | grep -e '[u]'collect -e '[n]'ikola
14576 root 2656 R socat STDIO OPENSSL:api.turris.cz:5679,cafile=/etc/ssl/ucollect-server.pem,cipher=HIGH:!LOW:
16299 root 1076 S /bin/sh -c /usr/share/ucollect/scripts/ucollect-add-firewall
16300 root 1076 S {ucollect-add-fi} /bin/sh /usr/share/ucollect/scripts/ucollect-add-firewall
and it seems nikola
is a cron job so everything seems to be working.
Yet, https://www.turris.cz/en/data/ doesn’t show anything.
In desperation, I’ve tried to unregister and register again. Let’s see tomorrow if things get better.