anchor.diff:  First we want to create a service configuration for the created sakuli tests. Therefore we created the file link:part_02/omd-nagios/ansible_dropin/xfce_checks/files/sakuli_e2e_monitoring_nagios_objects.cfg[`part_02/omd-nagios/ansible_dropin/xfce_checks/files/sakuli_e2e_monitoring_nagios_objects.cfg`]. For details see http://consol.github.io/sakuli/latest/index.html#omd-gearman[Sakuli Documentation - OMD Gearman Forwarder].
   
   .sakuli_e2e_monitoring_nagios_objects.cfg
  -[source, cfg]
  +[source,cfg]
   ----
   define service {
       name tpl_s_sakuli_xfce_template
  
positive.code: 
  After the execution will find two finished containers:
  
  [source, bash]
  ----
  $ docker-compose ps
                 Name                              Command               State    Ports
  ---------------------------------------------------------------------------------
  part01_sakuli_test_centos_chrome_1    /dockerstartup/startup.sh  ...   Exit 0
  part01_sakuli_test_ubuntu_firefox_1   /dockerstartup/startup.sh  ...   Exit 0
  ----
  
  To evaluate if all went fine, just verify the exit code is not `0` or the logs at link:part_01/example_xfce/_logs/_sakuli.log[`part_01/example_xfce/_logs/_sakuli.log`]. Another possibility is to look at the docker logs e.g.
  
  [source]
  ----
  $ docker logs part01_sakuli_test_ubuntu_firefox_1
  ....
  
negative.code: 
  To define a warning time for the test case, the http://consol.github.io/sakuli/latest/index.html#TestCase[`TestCase`] object have been used:
  
  [source,js]
  ----
  var testCase = new TestCase(40, 60);
  ----
  
  The second threshold of `60` seconds, define the critical time. It's also possible define a global waring and critical times for the whole test suite in the file link:part_01/example_xfce/testsuite.properties[`/part_01/example_xfce/testsuite.properties`], if you have more testcases. After all you get this datamodel:
  
  [source,bash]
  ----
  TestSuite: example_xfce, warning time: 50, critical time: 70
  |---- TestCase: case1, warning time: 40, critical time: 60
  