Ad Widget

Collapse

No folder /var/lib/zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DmitryBobrovsky
    Junior Member
    • Aug 2017
    • 17

    #1

    No folder /var/lib/zabbix

    CentOS8. Install zabbix agent 5.0. It work. I trying setup monitoring Postgres according to the instructions - https://www.zabbix.com/ru/integrations/postgresql
    it is written there -
    Copy postgresql/ to Zabbix agent home directory /var/lib/zabbix/
    but there is no folder /var/lib/zabbix on the server.

    Code:
    # cat /etc/passwd | grep zabbix
    zabbix:x:972:972:Zabbix Monitoring System:/var/lib/zabbix:/sbin/nologin
    What to do? create a folder yourself? with what rights and owner?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Create the directory /var/lib/zabbix yourself. Permissions should be owned by the zabbix user and read/write by the zabbix user.

    Comment

    • DmitryBobrovsky
      Junior Member
      • Aug 2017
      • 17

      #3
      Originally posted by Atsushi
      Create the directory /var/lib/zabbix yourself. Permissions should be owned by the zabbix user and read/write by the zabbix user.
      Thanks. I did it
      Code:
      mkdir -p /var/lib/zabbix/
      chown zabbix:zabbix /var/lib/zabbix/
      chmod 755 /var/lib/zabbix/

      Comment

      • Prasad SL
        Junior Member
        • Jun 2022
        • 3

        #4
        Thanks DmitryBobrovsky.
        It helps a lot ...

        Comment

        • Rachelfoster
          Junior Member
          • Jul 2022
          • 11

          #5
          I can't get every result from the Zabbix default Template. The error is: Monkey.cool
          HTML Code:
           Not supported by zabbix agent
          Last edited by Rachelfoster; 26-07-2022, 07:10.

          Comment


          • dunnsland
            dunnsland commented
            Editing a comment
            @Rachelfoster
            did you ever get this resolved?
        Working...