Date: Mon, 24 Apr 2023 14:12:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271042] net-mgmt/monitoring-plugins Message-ID: <bug-271042-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271042-7788>