Ceph plugin dont work

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 8.0.0alpha2
    • Component/s: None
    • None

      Steps to reproduce:

      Installed agent 2 and ceph plugin 8.0 alpha 2 on Ubuntu 22.04 also with ceph-common and librados-dev

      configured ceph authentication

      ls -lah /etc/ceph
      total 24K
      drwxr-xr-x  2 root root 4.0K May  7 13:19 .
      drwxr-xr-x 98 root root 4.0K May  7 13:22 ..
      rw-rr-  1 root root  186 May  7 13:10 ceph.client.admin.keyring
      rw-rr-  1 root root  381 May  7 13:11 ceph.conf
      rw-r----  1 root root  596 May  7 11:12 ceph.pub
      rw-rr-  1 root root   92 Apr  7 20:35 rbdmap

       

      Configured in zabbix macro

      {$CEPH.CONNSTRING} as 10.0.161.120:3300

      {$CEPH.MODE} as native

      There is error Ceph: Can not connect to cluster . After manual check it show 

      • Failed to get connection: cannot get connection: cannot create connection 10.0.161.120:3300: failed to connect: rados: ret=-13, Permission denied.

       

      zabbix_agent2 -t ceph.ping["10.0.161.120:3300","","","native"]
      ceph.ping[10.0.161.120:3300,,,native]         [m|ZBX_NOTSUPPORTED] [Failed to get connection: cannot get connection: cannot create connection 10.0.161.120:3300: failed to connect: rados: ret=-13, Permission denied.]
      zabbix_agent2 -t ceph.df.details["10.0.161.120:3300","","","native"]
      ceph.df.details[10.0.161.120:3300,,,native]   [m|ZBX_NOTSUPPORTED] [Failed to get connection: cannot get connection: cannot create connection 10.0.161.120:3300: failed to connect: rados: ret=-13, Permission denied.]
      root@testpk:/home/admin#

      We running ceph 19.2.3 squid (stable)

      related to https://support.zabbix.com/browse/ZBXNEXT-10502

      Result:
      See screenshot...
      See log file...
      See memory dump...
      Expected:
      See screenshot....
      See attached patch file...

            Assignee:
            Tomass Janis Bross
            Reporter:
            Przemyslaw Kuczynski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: