Ad Widget

Collapse

Web Monitoring with Bearer Authorization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lpossamai
    Senior Member
    • Jun 2018
    • 119

    #1

    Web Monitoring with Bearer Authorization


    Hi,

    I am trying to setup a Web Monitoring with Bearer Authorization code for my internal website.

    With Curl I do this way:
    curl -I -H "Authorization: Bearer token_here" https://api.test.lucas.com/api/docs/index.html

    How can I set it up via Web Monitoring on Zabbix 3.4?
    Thanks in advance!
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Specify token in Headers section https://www.zabbix.com/documentation...eb_monitoring:
    Code:
    Authorization=Bearer token_here
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • lpossamai
      Senior Member
      • Jun 2018
      • 119

      #3
      Thanks jan.garaj ! This post took a while to get approved. I managed to get it working... Cheers!

      Comment

      • grommir
        Senior Member
        • Mar 2013
        • 134

        #4
        How about LONG tokens? Longer than 255 chars?

        Comment

        Working...