Jump to content

VRx

Moderators
  • Posts

    108
  • Joined

  • Last visited

Posts posted by VRx

  1. Sorry, I think I missed notification about reply.
     

    On 1/4/2022 at 6:23 PM, capitan_lawrence said:

    Above you mentioned "Note, In Zabbix WebGUI You must set disk monitoring like Container Paths.", can you please elaborate a little bit on this last part?

     

    On the docker configuration page you have preconfigured /mnt/user and /mnt/cache (as array and cache pool).
    You can change it on Your own, for example by disk or maybe add some other pools.
    Access Mode can be just Read Only
    For example:
    /mnt/user on host You can bind to /mnt/array in zabbix agent container

    /mnt/cache on host You can bind to /mnt/something in zabbix agent container
    In Zabbix GUI You must set container paths to monitor, so:
    /mnt/array
    and

    /mnt/something

  2. On 12/11/2021 at 9:34 PM, NeySlim said:

    HI, how can I make bind to listen to ipv6 ?

    I don't know how to remove de the -4 option, or add the -6 beside editing supervisor conf in container.

    many thanks

     

    Check for container update and update it.
    Add new ENV:

    IPV6=enable

    Should work from now.

  3. On 2/15/2021 at 9:08 AM, xLorak said:

    Dzięki! Akurat bawię się tym tworzem ;)

    Manual odnośnik do wiki w prawym dolnym rogu jest opisany jako "ręcznie" taki mały babol na dzień dobry :)

    Mega robota!


    Ciągle o tym zapominałem. Poprawione + kilka innych baboli językowych. Ogólnie ktoś leciał chyba w ciemno translatorem, bez sprawdzania.

  4. 24 minutes ago, Flemming said:

    Delete all files older then 14 days in /mnt/user/surveillance_camera/cam1 and /mnt/user/surveillance_camera/cam2 (including subfolders)

    find /mnt/user/surveillance_camera/cam[12] -type f -mtime +14 -delete

     

    28 minutes ago, Flemming said:

    Then Remove all empty folders whitin the same paths.

    find /mnt/user/surveillance_camera/cam[12] -type d -empty -delete

  5. You can do this by logging in as root:

    docker exec -it --user=root zabbix-agent2 /bin/bash


    Next, edit group file (/etc/group) in vim or sed. If You not familiar with vim, sed will be easier:

    sed -i "s/docker:x:281:/docker:x:281:zabbix/g" /etc/group

     

    Next, type "exit" to exit container shell, then You can restart container from Unraid GUI

     

    BTW: Some trick could be used for things that not working from zabbix container, by setting up cron in User Scripts Plugin, this cron could monitor something, and write to file, which could be read by zabbix-agent, for example:
    my script read parameters from ups tools, writing output to file on cache pool, zabbix-agent read this file and parse output to different items in zabbix.

  6. Because zabbix-agent2 in this container is running by the user without permissions to docker socket.
    There is a possibility to run this, but You must have basic knowledge about linux shell systems.
    You must check GID of docker group on Host (Unraid Server).
    Log in to zabbix-agent2 container as root user (default  running "Console" from Unraid GUI made it but as zabbix user)
    Add group docker (with same gid as on host/unraid server) inside zabbix-agent2 container.
    Add user zabbix to this group.
    Restart zabbix-agent2 container.
    Note: You must do this again after every container update.

  7. 5 hours ago, Owner said:

    Can I use /mnt/disk/appdata/bind9 instead.

    Yes You can. This change should resolve this problem.
     

    5 hours ago, Owner said:

    As far I know the reason for error was the port 53 had to be changed to 5353 but upon removal it doesn't removal the bind of port.

    You cannot change port to 5353, because DNS Service is using port 53, and all operating systems are using this port to resolve hostnames by default.
    Maybe You have another service using this port, for example pihole container.

    Can You please post some error message, and some logs from this container or maybe send me PM with this informations as You prefer?

    There is a fix in progress, by the way of searching for solution, I found some other bugs.

  8. Overview: Support for Docker template of the zabbix-agent container

    Application: Zabbix-Agent - https://www.zabbix.com/

    DockerHub:

    Agent Version: newest stable

    Minimum Server Version: 6.9.2

     

    Please use this support for unraid/docker issues/questions only. Zabbix have its own community forums, when You can find lots of information.

    • Privileged mode does need to be left as enabled. This allows the agent to see system resources
    • Adding Disks for Monitoring:
      On the docker configuration page you will preconfigured /mnt/user and /mnt/cache (as array and cache pool). You can change it on Your own, for example by disk or maybe add some other pools.
      Access Mode can be just Read Only


    Note, In Zabbix WebGUI You must set disk monitoring like Container Paths.

    * Please specify which version is affected by the problem (Agent or Agent2)

×
×
  • Create New...