Skip to content

deposit monitoring: Increase warning threshold

and reformat the file

The threashold was choosen regarding the duration of the previous tests. Most of the time they are aroung ~300s

Related to T2976

Test Plan

octocatalog-diff

*******************************************
  Concat::Fragment[icinga2::object::CheckCommand::check-deposit-cmd] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "plugin-check-command"
      _
      -  command = [ "/usr/bin/swh", "icinga_plugins", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml", ]
      +  command = [ "/usr/bin/swh", "icinga_plugins", "-w", 400, "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml", ]
         timeout = 600
       }
*******************************************
  Concat_fragment[icinga2::object::CheckCommand::check-deposit-cmd] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "plugin-check-command"
      _
      -  command = [ "/usr/bin/swh", "icinga_plugins", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml", ]
      +  command = [ "/usr/bin/swh", "icinga_plugins", "-w", 400, "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml", ]
         timeout = 600
       }
*******************************************
  Icinga2::Object::Checkcommand[check-deposit-cmd] =>
   parameters =>
     command =>
      - ["/usr/bin/swh", "icinga_plugins", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", "1", "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml"]
      + ["/usr/bin/swh", "icinga_plugins", "-w", "400", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml"]
*******************************************
  Icinga2::Object[icinga2::object::CheckCommand::check-deposit-cmd] =>
   parameters =>
     attrs =>
       command =>
        - ["/usr/bin/swh", "icinga_plugins", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", "1", "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml"]
        + ["/usr/bin/swh", "icinga_plugins", "-w", "400", "check-deposit", "--server", "https://deposit.softwareheritage.org/1", "--username", "swh", "--password", "swh::deploy::deposit::e2e::password", "--collection", "swh", "--poll-interval", 1, "single", "--archive", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz", "--metadata", "/usr/share/swh/icinga-plugins/data/deposit/jesuisgpl.tgz.xml"]
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org

Migrated from D4900 (view on Phabricator)

Merge request reports