DX Unified Infrastructure Management

  • 1.  e2e Appmon samples

    Posted Mar 17, 2014 07:58 AM

    Hi,

     

    Is it possible to enable samples within or for an e2e script.

    Example: my script lauches a website and then performs an OCR text check. This fails intermittently but not because there is an actual issue with the site.

    I'd like to add a sample so if it fails to lauch the site twice i then get an alert. Much like you can to with the CDM probe etc.

     

    This is an example of the script:

     

    nimSetVariable("subsystem", "Website")
    target$ = "Website Launch #1"
    nimSetVariable("suppression_id", target$)
    nimQOSStart()

    Shell("https://website.com.au/Login.aspx?returnurl=/Home.aspx",3)

    ret = UseOCREngine(2)

     Pause 60 secs until
      TextOCR("Log i n")
      InWindow("IEXPLORE.EXE|Internet Explorer_Server|Login - Windows Internet Explorer|1",2)
      InArea(564,155,40,74)
     PauseFalse
      nimAlarmSimple(5, "Website Launch Failed")
      nimQOSStop()
      nimQOSSendNull(target$)
      nimEnd()
      Clean_up()
      End
     EndPause
     nimAlarmSimple(0, "Website Launch failed")
      nimQOSStop()
      nimQOSSendTimer(target$)



  • 2.  Re: e2e Appmon samples
    Best Answer

    Posted Mar 17, 2014 05:21 PM

    I have not spotted a feature like that in e2e_appmon, but if it is not available there, you can always make the alarms invisible in pre-processing and then make them visible in an AO profile based on count.



  • 3.  Re: e2e Appmon samples

    Posted Mar 18, 2014 02:02 AM
    Thanks Keith, this hit the spot


  • 4.  Re: e2e Appmon samples

    Posted Mar 17, 2014 11:16 PM

    How about writing the sample data to a flat txt file? Like a DTA file.

     

    -jon



  • 5.  Re: e2e Appmon samples

    Posted May 21, 2014 05:56 PM

    Thanks for your example! helped me a question on how to run a file