Ad Widget

Collapse

Template Netskope Publishers API Rest V2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guille.rodriguez
    Senior Member
    • Jun 2022
    • 114

    #1

    Template Netskope Publishers API Rest V2

    Hi all,

    Lately I was looking at what I could contribute to the community... and I decided to see if Netskope had a template... I saw that it didn't, so I said to myself... well, let's create it!

    In this case the template created is in charge of monitoring the Publishers. It detects the number of publishers and monitors each of them independently and without the need to install anything on the machines (Discovery rule + LLD).

    All this is done using the Rest V2 API of Netskope so, you don't need to install any script, just import the template in Zabbix and configure the host macros.

    - Netskope Base Url -> {$NETSKOPE.TENANTURL}
    - Netskope Token API Rest V2 -> {$NETSKOPE.APITOKEN}

    It includes some alerts like:

    - EEE capabilty has changed
    - DTLS capability has changed
    - Publisher version is under 120 (you can change the value in a macro)
    - Publisher Latency high >60 (you can change the value in a macro)
    - IP has changed

    and several more. Have a look in Github. Contributions are welcome!

    Template download https://github.com/guillerg86/zabbix-netskope

    Zabbix Template for Netskope API Rest V2. Contribute to guillerg86/zabbix-netskope development by creating an account on GitHub.
  • arvind.kumar@escalent.co
    Junior Member
    • Mar 2025
    • 3

    #2
    Hi Guille,

    Thank you for creating this template! I have a question/suggestion regarding its template.

    Currently, the template collects information for all Netskope publishers under a single host. The discovery process did not work for me until I manually created a host for the template. Once this host was added, all publisher details were correctly pulled under it.

    Would it be possible to parse the received JSON to update the corresponding hosts (that use the Netskope template) in the Zabbix console? This way, if a host already exists, the relevant 18–19 items would be updated under each individual host rather than consolidating all data under a single host. Also suggest about the API rate limit exceeded.

    I've attached images for reference, which should help clarify the issue.
    Looking forward to your thoughts!

    Best regards,
    Arvind

    Click image for larger version

Name:	netskope template issue1.png
Views:	268
Size:	534.7 KB
ID:	500886

    Click image for larger version

Name:	netskope template issue2.png
Views:	230
Size:	81.4 KB
ID:	500887


    Click image for larger version

Name:	netskope template issue3.png
Views:	232
Size:	370.2 KB
ID:	500888

    Comment

    • guille.rodriguez
      Senior Member
      • Jun 2022
      • 114

      #3
      Hi, yes I can make another Template for Netskope that creates a Host in Zabbix for each publisher. But I think I can not add template to existent host. I can try.

      Let me check this week.

      Comment

      • arvind.kumar@escalent.co
        Junior Member
        • Mar 2025
        • 3

        #4
        Wow, great, thank you so much for your consideration.
        Appreciate it and take your time.

        Comment

        • Tellurek
          Junior Member
          • Mar 2024
          • 1

          #5
          Hello Guille,
          It seems that template is not available on github anymore.
          Is there any chance you will share it again with the community?
          I would love to give it a try.

          Originally posted by guille.rodriguez
          Have a look in Github. Contributions are welcome!

          Template download https://github.com/guillerg86/zabbix-netskope

          https://github.com/guillerg86/zabbix...ms-Example.png

          Comment

          • guille.rodriguez
            Senior Member
            • Jun 2022
            • 114

            #6
            Originally posted by Tellurek
            Hello Guille,
            It seems that template is not available on github anymore.
            Is there any chance you will share it again with the community?
            I would love to give it a try.
            Sorry about that, for now it's closed. I’ll reopen it shortly.

            In the meantime, I’ve made some changes as requested by [email protected] . Now there are 3 templates (all in a single YAML):
            • Singlehost template (like the one shown on screen)
            • Multihost template (performs discovery → creates one host per publisher and assigns a new template)
            • Publisher host template → performs the queries and has a dashboard!
            Last edited by guille.rodriguez; 30-04-2025, 15:22.

            Comment

            • guille.rodriguez
              Senior Member
              • Jun 2022
              • 114

              #7
              I reopen the github , there are some new things / templates

              No more 429 HTTP to many requests

              Comment

              Working...