Skip to content

Commit

Permalink
Merge pull request #200580 from Homebrew/bump-nrpe-4.1.2
Browse files Browse the repository at this point in the history
nrpe 4.1.2
  • Loading branch information
BrewTestBot authored Dec 10, 2024
2 parents 6e21dda + 56e82e0 commit 0734080
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions Formula/n/nrpe.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
class Nrpe < Formula
desc "Nagios remote plugin executor"
homepage "https://www.nagios.org/"
url "https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-4.1.1/nrpe-4.1.1.tar.gz"
sha256 "0e716a7d904e0a441be52a0ef82c1138b949bad81c1da93056a81405aabcc0d7"
url "https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-4.1.2/nrpe-4.1.2.tar.gz"
sha256 "366cd5de9953872ed78e1a5e8fe36c8c86839a5fbf8b894f38211c915a83434a"
license "GPL-2.0-or-later"

bottle do
sha256 cellar: :any, arm64_sequoia: "847516e87f59235f0f6216150cecdeba6393f994d820e0c46998394734f9529a"
sha256 cellar: :any, arm64_sonoma: "ed1b4fc625aa2edf55576d46dce47f9d1e25f0b89f8e4f855079d1be44e175d0"
sha256 cellar: :any, arm64_ventura: "66a47ab90443c6996a4c768ab3dd07a8843cfdbc6f94458414fa1418ad41b975"
sha256 cellar: :any, arm64_monterey: "a9d6f414b26a3608d12424c3b5434b0e2551e00d76a9e3130784cdbdc9908b59"
sha256 cellar: :any, sonoma: "ada3b8f8a310d1ea89c946b639b7357668478bacf15738e867f3dc2c8a15bdba"
sha256 cellar: :any, ventura: "576e707062926c833070c951194740183cb0c473b6e412142e979aafa6e66c8e"
sha256 cellar: :any, monterey: "df2c2fcc8e1e18a6c47bb5fe5436bf6a6e00786ed46a4d47244e18d01130a562"
sha256 cellar: :any, arm64_sequoia: "9757e99a6d68e0cb29764dc471a70e497cac3b9ac912f63b47c127fcf6dda953"
sha256 cellar: :any, arm64_sonoma: "cd3f7b4476cd1d4c24eb407f6f362f987f67f458148c352b9113a0b2f1d64a3f"
sha256 cellar: :any, arm64_ventura: "38f2a9a252fc2f9b126492b4e91bfb97511d9df998eb4fc885c2b05c5fe88aad"
sha256 cellar: :any, sonoma: "ec4aeee705ce21e4919645033daf725311d42b4e1c0b6e645338e770bc6a45a7"
sha256 cellar: :any, ventura: "729cd5449d1aa362aace8ced5b52e6c54f09c91acdea8cd63fc6c2f6c31edb1a"
end

depends_on "nagios-plugins"
Expand Down Expand Up @@ -54,10 +52,9 @@ def post_install
end

test do
pid = fork do
exec bin/"nrpe", "-n", "-c", "#{etc}/nrpe.cfg", "-d"
end
pid = spawn bin/"nrpe", "-n", "-c", "#{etc}/nrpe.cfg", "-d"
sleep 2
sleep 10 if Hardware::CPU.intel?

begin
output = shell_output("netstat -an")
Expand Down

0 comments on commit 0734080

Please sign in to comment.