Ad Widget

Collapse

http item - http authentication - digest ... howto

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramoneastral
    Member
    • Feb 2017
    • 33

    #1

    http item - http authentication - digest ... howto

    hello ,

    i am having an issue with the digest authentication or maybe a missunderstanding on my side.

    i understand that the zbx http item is just relaying info to curl for doing the actual all to http server.

    my item works fine when doing things without authentication.

    doing the same thing with authenticatoin and digest as method will not work or rather send a content lenght of zero .... as per wireshark on the http server .

    doing my stuff with native curl will work fine with the option of --anyauth.

    going deeper into http authentication digest you read about challenge, nounce and reply with encrypted /hash.


    how are you supposed to use the digest auth in the http item ?

    something like jsessionid ( http item -> convert jsseionid into macro -> call macro in dependent item .. ).

    advice is appreciated.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    What version of Zabbix? in 5.0 there is no digest option for auth in http items, but from 5.2 onwards there is...

    Comment

    • ramoneastral
      Member
      • Feb 2017
      • 33

      #3
      OMG valid point :-(

      the proxy is running 6.0.12
      running on debian 10

      (server is docker image)

      Comment

      Working...