X-Git-Url: https://iankelling.org/git/?p=log-quiet;a=blobdiff_plain;f=sysd-prom-fail-install;fp=sysd-prom-fail-install;h=5d24fa81a5842eb4c692f28e300bfa9ae269dbfb;hp=f25510ef094ce28df9d5cba7e0633bad961aac32;hb=a63fa3663362618d83c9e812e83d6593882fa0b8;hpb=f63a62a9ae726155d06b2ca2fc2b576a1dd11289 diff --git a/sysd-prom-fail-install b/sysd-prom-fail-install index f25510e..5d24fa8 100755 --- a/sysd-prom-fail-install +++ b/sysd-prom-fail-install @@ -1,5 +1,12 @@ #!/bin/bash -# Copyright (C) 2022 Ian Kelling +# I, Ian Kelling, follow the GNU license recommendations at +# https://www.gnu.org/licenses/license-recommendations.en.html. They +# recommend that small programs, < 300 lines, be licensed under the +# Apache License 2.0. This file contains or is part of one or more small +# programs. If a small program grows beyond 300 lines, I plan to switch +# its license to GPL. + +# Copyright 2024 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,6 +20,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + # usage: since this is a counter, in prometheus alert manager you will # need to test something like: rate(node_systemd_unit_result_fail_count[30m]) > 0