Ad Widget

Collapse

Need Help with Zabbix MySonicwall Production API.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karl.kao
    Junior Member
    • Aug 2025
    • 2

    #1

    Need Help with Zabbix MySonicwall Production API.

    I have been trying to use the SonicWall API to tell me about firewall and switch licenses, specifically when they will expire. I was able to test and get the API to give me an output; however, the part I’m stuck on is making it so host items are dynamically found within the SonicWall portal that I’m supporting. For instance, I am trying to match the host and API info via serial number.

    In the SonicWall integration, the serial number item is included, and I have been trying to utilize this in the inventory. However, the item I’m using does not seem to be grabbing {INVENTORY.SERIALNO_A}, even though it’s set to auto and is indeed a real serial number I see on the SonicWall portal.

    I have also tried JavaScript:
    {"data":[{"{#SERIAL}":"$VALUE"}]}
    as an LLD to give me a key. I’m not very strong in coding, so I may have done something wrong. However, the output keeps giving me "{#value}" instead of the serial number value.

    My main goal is to get this item working as it should. The only part I know is not working is the {INVENTORY.SERIALNO_A}.

    Click image for larger version

Name:	image.png
Views:	92
Size:	71.8 KB
ID:	506619
    Any help would be appreciated, even a link to a similar situation.

    This is also my first post, so if I've filled this in the wrong area, please let me know.

    Thank you.​​
Working...