Ad Widget

Collapse

Web scenario with basic auth

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lustigerpinguin
    Junior Member
    • Jun 2013
    • 14

    #1

    Web scenario with basic auth

    Hi,

    I had a lot of failed tries. I will check the result of a status-page.
    If I use Firefox/Chrome then the URL http://user: [email protected]/page/status -> worked, the result: "SERVER = OK, ..."

    Now, I try the "same" thing in Zabbix (2.4) and I have troubel: cannot process step "WebChek" of web scenario "domain.tld" on host "server.domain.tld": required pattern "SERVER = OK, ..." was not found on http://user: [email protected]/page/status

    I tried the following setup in the scenario:
    URL: http://{user}:{password}@... and URL: http://realuser:realpassword@..., both with and without activatet authentication and user+password.

    If I try a check without basic auth: no problem

    Any hints?
    (the string "user: passwort" in the urls above should be without blanks; if I write without: there are smilies )

    Thanks.

    Best regards
    lustigerpinguin
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Try to setup your credentials in Authentication tab:
    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

    Working...