Ad Widget

Collapse

Zabbix webscenario Log in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex.polter
    Junior Member
    • Nov 2019
    • 15

    #1

    Zabbix webscenario Log in

    Senhores!

    How can I create a login step to tog in in my web page and relate it if one arror happens?

    I already tried to follow the man on zabbix web page but no success.

    How can i archive it? My webpage does not inform any error when login is not OK, all status are "200"

    Can someone help me? or give one usable example?
    Attached Files
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    Probably the 200 status don't mean that the login worked.
    Can you send a picture of your item configuration?
    Also, try to make a login using CURL, and 'transpose' the parameters to your item.

    Comment

    • Alex.polter
      Junior Member
      • Nov 2019
      • 15

      #3
      Originally posted by 1berto
      Probably the 200 status don't mean that the login worked.
      Can you send a picture of your item configuration?
      Also, try to make a login using CURL, and 'transpose' the parameters to your item.
      I tried to use CURL but it not work in our environment for security reasons;


      Have you any idea how can I do that? I know with Java it would be easy but I dont have good skills for programming it.

      Now i'm using the basic {idSenha} as Passw0rd and {idLogin} as user like the documentation.

      I just need to test if the login works fine but it seems to be pretty confuse todo on zabbix. In fact i dont see any stuff or how to to helpe me.

      Any help will be appreciated!

      Comment

      • AvaTTaR
        Member
        • Dec 2018
        • 96

        #4
        Did you tried zabbix web-monitoring with native login function, or login by POST? And after that fined some string on page witch will approve that log in was successful ?

        Comment

        • 1berto
          Senior Member
          • Sep 2018
          • 182

          #5
          Originally posted by Alex.polter

          I tried to use CURL but it not work in our environment for security reasons;


          Have you any idea how can I do that? I know with Java it would be easy but I dont have good skills for programming it.

          Now i'm using the basic {idSenha} as Passw0rd and {idLogin} as user like the documentation.

          I just need to test if the login works fine but it seems to be pretty confuse todo on zabbix. In fact i dont see any stuff or how to to helpe me.

          Any help will be appreciated!
          If Curl didn't work the http agent will not work too.

          Comment

          • AvaTTaR
            Member
            • Dec 2018
            • 96

            #6
            I`m talking about web-monitoring, not http-agent, I`m not really sure, but it could work.

            Comment

            Working...