Ad Widget

Collapse

Zabbix 7.0.3 and Hikvision set up Connection Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MohamedA
    Junior Member
    • Sep 2024
    • 6

    #1

    Zabbix 7.0.3 and Hikvision set up Connection Issue


    Hi all

    i'm using Zabbix 7.0.3
    I am trying to establish a connection to Hikvision cameras.

    The Cameras are on a vehicle.

    The zabbix server is 192.168.0.XXX The dashboard (Hikvision):192.168.1.11

    All traffic is been routed(and translated) from an external address(from the vehicle) 197.215.XXX.X to the Zabbix server 192.168.0.237

    On the Zabbix Server: 192.168.0.237 is receiving communication(pinged) from the Device(where the cameras installed)

    Both 197.215.XXX.X and

    The Hikvision template has been applied.
    A "Windows by Zabbix active service template" has also been applied and is picking up data



    LOG FILE(Zabbix Server)
    [root@localhost ~]# cat /var/log/zabbix/zabbix_server.log |grep GABS08210922 277622:20240918:051856.808 enabling SNMP agent checks on host "GABS08210922": interface became available 277605:20240918:051913.343 discovery rule "GABS08210922:hikvision_cam.ptz.discovery" became not supported: Cannot perform request: URL using bad/illegal format or missing URL
    277604:20240918:051914.344 discovery rule "GABS08210922:hikvision_cam.streaming.discover y" became not supported: Cannot pe rform request: URL using bad/illegal format or missing URL
    281799:20240918:061432.690 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: first network e rror, wait for 15 seconds
    281804:20240918:061450.707 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: another network error, wait for 15 seconds
    281804:20240918:061508.721 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: another network error, wait for 15 seconds zz0.18tp8fqetgczz




    Summary of above:



    **Setup:**
    - Zabbix Server IP: 192.168.0.237
    - Hikvision Dashboard IP: 192.168.1.11
    - Cameras are on a vehicle
    - External IP: 197.215.XXX.X (routing to Zabbix server)

    **Templates Applied:**
    - Hikvision Template
    - "Windows by Zabbix active service" Template (picking up data)

    **Log Extract from Zabbix Server:**

    ```
    277622:20240918:051856.808 enabling SNMP agent checks on host "GABS08210922": interface became available
    277605:20240918:051913.343 discovery rule "GABS08210922:hikvision_cam.ptz.discovery" became not supported: Cannot perform request: URL using bad/illegal format or missing URL
    277604:20240918:051914.344 discovery rule "GABS08210922:hikvision_cam.streaming.discover y" became not supported: Cannot perform request: URL using bad/illegal format or missing URL
    281799:20240918:061432.690 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: first network error, wait for 15 seconds
    281804:20240918:061450.707 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: another network error, wait for 15 seconds
    281804:20240918:061508.721 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "GABS08210922" failed: another network error, wait for 15 seconds
    ```

    **Problem:**
    - Discovery rules for Hikvision cameras are not supported due to URL issues.
    - SNMP checks for uptime are failing with network errors.

    **Question:**
    How can I resolve the URL formatting issue for Hikvision discovery rules and address the SNMP network errors and connect up the cameras up successfully?





    Attached Files
  • Hkey1354
    Junior Member
    • Jun 2024
    • 1

    #2
    I have the same issue as you but not yet a solution =))

    Comment

    • Blevar
      Member
      • Jan 2025
      • 68

      #3
      It looks like you made an error when editing the macro: Click image for larger version

Name:	image.png
Views:	737
Size:	4.2 KB
ID:	497242
      You should enter cam ip: 197.215.XXX.X

      Comment

      Working...