Ad Widget

Collapse

Steps in web scenarios

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Moreland
    Junior Member
    • Feb 2022
    • 2

    #1

    Steps in web scenarios

    Hi All,

    I am very new to the Zabbix platform, and was wanting to know if there are say 3 steps in a web scenario, and step 2 was to fail (error) would step 3 still be executed? And if not, is there a way to force it to be executed?
    The scenario is as follows:
    Step 1 log into a site (or API)
    Step 2 Get data via a request, and look for result.
    Step 3 logout.

    Now if the required data is not there in step 2, I would be looking for an error, which works, But step 3 is still required, as the system needing to be monitored needs to have the logout occur, else the session is orphaned.
    If this was to be checked frequently, there could be thousands of orphaned login sessions, which could crash the system being monitored.

    Regards,
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4811

    #2
    No, step 3 is not going to be executed. And you cannot force it.

    Comment

    • Chris Moreland
      Junior Member
      • Feb 2022
      • 2

      #3
      Thanks for that. Do you know if there could be an other method of getting this done? Maybe via using some CURL commands from Zabbix?

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4811

        #4
        I cannot think of anything right now... Maybe someone else has some ideas...

        Comment

        Working...