Ad Widget

Collapse

[Haddop] - HTTP Agent with Kerberos and keytab

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andre Carvalho
    Junior Member
    • Jul 2021
    • 8

    #1

    [Haddop] - HTTP Agent with Kerberos and keytab

    Hello all,

    I'm trying to monitorize an hadoop cluster and the CDH is configured with Kerberos Authentication via keytab.
    So, to reach the context path /jmx and the /cluster i need to have an authentication with a user and a keytab.

    I configured the Zabbix 5.4.2 per the documentation, created a zabbix user on the kerberos realm, created the keytab, tested in the container with the curl -v --negotiate -u : http://example.com and it's working as expected.

    After that i tried to configure the Hadoop HTTP Agent built-in on the Zabbix 5.4.2 but it was unsuccessful.
    The NameNode and ResourceManager host and port are correct because the status are UP(1) but the rest of the monitorization is giving me 401 Unauthorized and i can't find why.

    Some things i tried but didn't work:
    - enabled the home directory for user zabbix in zabbix-server container, copied the keytab, krb5.conf and added a .bashrc with the "kinit -kt <keytab> <user>"
    - tried the kinit with user root, user zabbix, different permissions and files in /etc/apache2/ or /etc/

    Someone has some advice or might know what it can be?

    Attached are some print's with my tests/configuration.

    Thanks,
    André.
    Click image for larger version

Name:	Captura de ecrã 2021-07-09, às 13.30.15.png
Views:	293
Size:	113.3 KB
ID:	427923
    Attached Files
  • Andre Carvalho
    Junior Member
    • Jul 2021
    • 8

    #2
    nobody?.. :/

    Comment

    • Andre Carvalho
      Junior Member
      • Jul 2021
      • 8

      #3
      Pushing up...

      Comment

      Working...