aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/check_ssl_cert/pkg-descr
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2025-12-11 01:36:52 +0000
committerMark Felder <feld@FreeBSD.org>2025-12-11 01:36:52 +0000
commitdeb887f1d821ac752054bdf540719e2ead528097 (patch)
tree31318200de2dc570cc24eb0807e9ae271f6237c2 /net-mgmt/check_ssl_cert/pkg-descr
parent9749e408286c7f2632e85faba3927521c5bad069 (diff)
net-mgmt/xymon-server: Fix vmstat parsingHEADmain
The parsing of vmstat code was broken. The original code attempted to detect FreeBSD 4.10's vmstat output vs FreeBSD 6, but probably never worked correctly anyway. FreeBSD 4.12's vmstat output:  procs memory page disks faults cpu  r b w avm fre flt re pi po fr sr ad0 md0 in sy cs us sy id  0 0 0 10908 991180 68 1 1 0 55 0 0 0 241 201 12 0 1 99 FreeBSD 14.3 vmstat output: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr nda0 nda1 in sy cs us sy id 1 2 0 7627545837568 4208828416 21155 13 15 1 14995 3542 0 0 1964 61975 39820 3 2 93 It's the same number of fields in the same order, so the vmstat data was always being parsed into the struct for FreeBSD 4.11 which notably skipped index 14 (sy) "cpu_syc" so it never had data for this and mapped index 16 (us) to "cpu_sys" and index 17 (sy) to "cpu_usr" which are obviously swapped. With this patch I deleted the vmstat rrd files for FreeBSD hosts and the data started to populate and graph correctly.
Diffstat (limited to 'net-mgmt/check_ssl_cert/pkg-descr')
0 files changed, 0 insertions, 0 deletions