From nobody Mon Apr 24 14:12:02 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q4nBV2Jfyz46tDb for ; Mon, 24 Apr 2023 14:12:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4nBV1HH9z4K3t for ; Mon, 24 Apr 2023 14:12:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682345522; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IcfnwHVxz69t5PCare0pxRvxjUvwK+6tVfS4Y93VsAI=; b=jgPk6Tt7WWnjCG1QcP7W2nWKUJqRDgf7ZY32fw1D3b5KaUAzkjzUH7luNGVT8QAxzZVi/E xn+IgMYhUOELJnqULeyTBz03xWmlUi5guQ+rUNhq/kGgOrMy5zwj5Vw5vRR5QNvG1yy/vH dkFlDJfZ1bWU9NmHOrXzcCZ2+Ip08w0b3EDrvZnUgVwLu1h4KXiT5TRThIWuu5uJlplhgB E+IJ9tb9xokat86fQQM7aJGj1bhlbGCSWwcVOhvNNkpELj+aKaehkdKt2W+soKX2y4YQPU 0kT/o/oB7AZL/wxJnn6TCXGp3knXmgB8AyDbsyaAFDoR9v71w7MoOu/kNJytCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682345522; a=rsa-sha256; cv=none; b=qMjS8tEuJ6k6OnpfHjUM0jszdgDmbq2zODvVZx/39+9B+dLWt0BhtoNo57171GqVQ8ue2Z U6wXm/MR0bJBDsg3Nupoi/b7dwzfnVoKF92FfbnpA2OnqDn9vbNZ5cFsQLPbdPSaw3wdAY cSNlsn96SUGQ2lr5pdmQsSZeEPMM7nMSLzlaofqLnpILIhzJBPtxyJevEnvXTxHK5CyO4z kK8O5A2PnPjuo1csEesLdtnH5IZWSA7qw2nVYEzjGGutzmXFxaDg37JpbL1frfFnpoKTWF nRS7/KkyrOHTJyQV07Fq/fRi+MU/3uhqnX50EQm8EG3kqPLKrtokEkxJaWuj/Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q4nBV0N04zT8h for ; Mon, 24 Apr 2023 14:12:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33OEC1YW030175 for ; Mon, 24 Apr 2023 14:12:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OEC1JI030173 for ports-bugs@FreeBSD.org; Mon, 24 Apr 2023 14:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271042] net-mgmt/monitoring-plugins Date: Mon, 24 Apr 2023 14:12:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xinqu@v32bis.cc X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271042 Bug ID: 271042 Summary: net-mgmt/monitoring-plugins Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: xinqu@v32bis.cc Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Note: Because I can't tell whether this is an FreeBSD or a common problem, I also reported an issue upstream https://github.com/monitoring-plugins/monitoring-plugins/issues/1874 Problem ------- Since Version 2.3.3 OR Version 2.3.2 (haven't testet this one), check_swap reports the wrong swap size by about factor 1024. Version 2.3.1 was still O= K. Both, plugin-output and performance-data are wrong. My systems do have a 1024 MB swap partition, check_swap reports 1204223 MB. Here an example output, same system, 2 different check_swap binaries: # # New Version, wrong output # ~$ /usr/local/libexec/nagios/check_swap --version check_swap v (monitoring-plugins 2.3.3) ~$ /usr/local/libexec/nagios/check_swap -c 25% -w 50% SWAP OK - 100% free (1204223MB out of 1204223MB) |swap=3D1262719336448B;631359668200;315679834100;0;1262719336448 # # Older Version, right output # ~$ ./check_swap --version check_swap v (monitoring-plugins 2.3.1) ~$ ./check_swap -c 25% -w 50% SWAP OK - 100% free (1023 MB out of 1023 MB) |swap=3D1023MB;511;255;0;1023 OS: FreeBSD 13.1-RELEASE-p6 --=20 You are receiving this mail because: You are the assignee for the bug.=