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
Differential D4900
deposit monitoring: Increase warning threshold Authored by vsellier on Jan 21 2021, 9:30 AM. Tags None Subscribers None
Details
and reformat the file The threashold was choosen regarding the duration of the previous Related to T2976 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
|