Hello, Latest wip/zabbix50-server works fine on NetBSD 9.0/amd64. And I did install latest wip/zabbix50-agent into NetBSD 9.0 and 9.99.71 (amd64). I think, there is no problem around package building. Then I tested the following keys on 9.0 and 9.99.71. As it turns out, these are fine. - net.if.collisions[vioif0] - net.if.discovery - net.if.in[vioif0] - net.if.in[vioif0,bytes] - net.if.in[vioif0,packets] - net.if.in[vioif0,errors] - net.if.in[vioif0,dropped] - net.if.out[vioif0] - net.if.out[vioif0,bytes] - net.if.out[vioif0,packets] - net.if.out[vioif0,errors] - net.if.out[vioif0,dropped] - net.if.total[vioif0] - net.if.total[vioif0,bytes] - net.if.total[vioif0,packets] - net.if.total[vioif0,errors] - net.if.total[vioif0,dropped] "net.if.out[vioif0,dropped]" and "net.if.total[vioif0,dropped]" returns ZBX_NOTSUPPORTED in each environement. But this is not problem because these are not supported on NetBSD officially. https://www.zabbix.com/documentation/2.2/manual/appendix/items/supported_by_platform Other keys returns meaningful value. Thank you, On Mon, Sep 14, 2020 at 12:16:17PM +0200, Juraj Lutter wrote: > > > On 14 Sep 2020, at 10:04, Juraj Lutter <otis%NetBSD.org@localhost> wrote: > > > > > >> On 14 Sep 2020, at 00:58, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote: > >> > >> > >> All five zabbix50-* packages in wip build cleanly with the patch > >> applied where it is needed. I'll try to carry on the configuration > >> and see if the server starts; with the default configuration file at > >> the moment it just exits. I suppose I will have to configure the > >> database at least. > >> > > > > This is a agent-specific task, I have configured the agent vs. zabbix5 server > > and it seems to startup but the data are not meaningful. > > > > I’ll do some real world debugging. > > > The patch has been corrected, cleaned and committed into WIP. > > Please test it. > > For me, before: > > otis@ns2:~ % zabbix_get -I 10.168.140.2 -s 100.64.0.99 -k 'net.if.in[vioif0,bytes]’ > 0 > > After: > otis@ns2:~ % zabbix_get -I 10.168.140.2 -s 100.64.0.99 -k 'net.if.in[vioif0,bytes]' > 3706547441 > otis@ns2:~ % zabbix_get -I 10.168.140.2 -s 100.64.0.99 -k 'net.if.in[vioif0,bytes]' > 3706547815 > … > > Thanks > > otis > -- Yuuki Enomoto <uki%e-yuuki.org@localhost> B684 4BF2 9CD4 961F 510A 8121 7B4D FF44 2348 20B8
Attachment:
signature.asc
Description: PGP signature