Ad Widget

Collapse

Zabbix Web Monitoring issue with underscore characters in variables.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ourschool
    Junior Member
    • Jul 2018
    • 8

    #1

    Zabbix Web Monitoring issue with underscore characters in variables.

    I'm having an issue with Zabbix web monitoring. I am monitoring our SSO service and have configured 8 web scenarios (one for each of our authsources).
    The scenarios are all identical except for the variables used. For some reason one of them fails on the required pattern missing, I couldn't replicate it manually and I've narrowed it down to the username variable.

    In the scenario that fails the username variable is {user} => user_name

    When the variable contains an underscore the scenario fails at step 2 of 4.




    If I remove the underscore in the variable to be {user} => username
    Then it will correctly fail at step 3 of 4 (as the user without an underscore doesn't exist).
    The simple solution is to create another user on our back-end without an underscore, then all steps finish correctly - but this isn't always possible as we don't always have control over the user accounts we are given.

    Is this a bug or have I missed some documentation somewhere that I should be escaping underscore characters?
    Attached images of complete scenario and steps 1 to 3.
    Attached Files
  • vso
    Zabbix developer
    • Aug 2016
    • 190

    #2
    Is it possible to login manually with the user that has underscore ? Is it only Zabbix that has such problem ?

    Comment

    • ourschool
      Junior Member
      • Jul 2018
      • 8

      #3
      Thanks for your reply.

      I can login manually with that user, so yes only Zabbix is presenting the problem.

      Also there are no logs indicating an error on the webserver hosting sp.example.school.nz either.

      We run all our hosts via Zabbix proxy, but I've also tested this with a host directly connected to Zabbix server and the issue still persists. We are running Zabbix 3.4.8

      Comment

      • ourschool
        Junior Member
        • Jul 2018
        • 8

        #4
        I've managed to resolve this issue. It was my fault, I'd somehow missed the fact that after the POST it redirects me to the authenticated attributes page and that particular authsource did not infact have an attribute called Username when all my other authsources did. With that discovered it now works as intended, and I've been able to remove a redundant step from the scenario.

        Comment

        Working...