Skip to content

3rd Week of 2024

DevOps

Storage

OpenZFS

  • New: Solve the pool or dataset is busy error.

    If you get an error of pool or dataset is busy run the next command to see which process is still running on the pool:

    lsof 2>/dev/null | grep dataset-name
    

ZFS Prometheus exporter

  • Correction: Tweak the zfs_exporter target not available error.

    Remember to set the scrape_timeout to at least of 60s as the exporter is sometimes slow to answer, specially on low hardware resources.

     - job_name: zfs_exporter
       metrics_path: /metrics
       scrape_timeout: 60s
       static_configs:
       - targets: [192.168.3.236:9134]
       metric_relabel_configs:
       ...
    

Operating Systems

Linux

Kodi

  • New: Start working on a migration script to mediatracker.

Mediatracker

  • New: How to use the mediatracker API.

    I haven't found a way to see the api docs from my own instance. Luckily you can browse it at the official instance.

    You can create an application token on your user configuration. Then you can use it with something similar to:

    curl -H 'Content-Type: application/json' https://mediatracker.your-domain.org/api/logs\?token\=your-token | jq
    

Rocketchat

  • New: How to use Rocketchat's API.

    The API docs are a bit weird, you need to go to endpoints and find the one you need. Your best bet though is to open the browser network console and see which requests they are doing and then to find them in the docs.