Page MenuHomeSoftware Heritage

deposit monitoring: Increase warning threshold
ClosedPublic

Authored by vsellier on Jan 21 2021, 9:30 AM.

Details

Summary

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

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier created this revision.
This revision is now accepted and ready to land.Jan 21 2021, 9:35 AM