Ad Widget

Collapse

Hikvision camera by HTTP authentication issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elias.st
    Junior Member
    • Sep 2024
    • 2

    #1

    Hikvision camera by HTTP authentication issue

    Hi everyone

    I am trying Hikvision camera by HTTP template on one of my hikvision cameras. After configuration of SNMP community , username, password I am getting an "unauthorized" message on most of the items.
    I did a wireshark capture on the camera and zabbix is sending the HTTP request without any username or password. When I try to open the ISAPI Url of the camera using a browser such as
    http://cameraip/ISAPI/system/deviceinfo , I get a username and password prompt and then I see the XML data. This confirms that my camera setup and protocol is all correct.

    Any idea why Zabbix/Hikvision HTTP template doesn't authenticate the HTTP request despite filling the username and password correctly in the Macro ?

    Thanks !
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Try to understand the difference between SNMP and HTTP.….

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #3
      Zabbix integration page has instructions on how to setup this template, including authentication.

      Comment

      • elias.st
        Junior Member
        • Sep 2024
        • 2

        #4
        Hi All

        Thanks for your responses.

        Its ok now, I managed to fix the problem. My configuration was all correct as per the instructions provided. I had to edit the template and changed the HTTP authentication from digest to basic for 3 items that are requesting the ISAPI HTTP request, Just sharing this if anyone else on the forums struggles with this authentication issue.

        Comment

        Working...