You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the webctrl sensors to #30, the steps described in the config wiki were followed, but sensors would still not work.
Additionally, inspecting the state timestamp of the individual sensors /var/local/scrape-util/projects/uhm-frog/state-files, suggested the sensors were not being added to the state file, as their names did not appear.
To force start adding it, rather than wait for the crontab, I then executed scrape-util manually:
sudo vim /etc/crontab
Was used to see the current cron tabs, and then executing scrape-util in the same way as the crontab.
This resulted in the sensors being added to:
After the sensors were added with the timestamp in unix, the data was still not being inserted in the database.
The default unix timestamp that is used in state-files/webctrl.toml after modifying value-remap.toml and webctrl-config.toml as part of the process in adding a new sensor explained in the config wiki seems to date to May 2017. Replacing it to the day before the readings of the new sensors in
And re-running scrape-util made it work. It was also noted on the output the insertions happened (sample below of how it looks like, this is a small portion of the log it generates):
When adding the webctrl sensors to #30, the steps described in the config wiki were followed, but sensors would still not work.
Additionally, inspecting the state timestamp of the individual sensors
/var/local/scrape-util/projects/uhm-frog/state-files
, suggested the sensors were not being added to the state file, as their names did not appear.To force start adding it, rather than wait for the crontab, I then executed scrape-util manually:
Was used to see the current cron tabs, and then executing scrape-util in the same way as the crontab.
This resulted in the sensors being added to:
/var/local/scrape-util/projects/uhm-frog/state-files/webctrl.toml
After the sensors were added with the timestamp in unix, the data was still not being inserted in the database.
The default unix timestamp that is used in
state-files/webctrl.toml
after modifyingvalue-remap.toml
andwebctrl-config.toml
as part of the process in adding a new sensor explained in the config wiki seems to date to May 2017. Replacing it to the day before the readings of the new sensors in/var/local/scrape-util/projects/uhm-frog/state-files/webctrl.toml
And re-running scrape-util made it work. It was also noted on the output the insertions happened (sample below of how it looks like, this is a small portion of the log it generates):
The text was updated successfully, but these errors were encountered: