[00:26] <geosmile> anyone here using grafana?
[04:22] <geosmile> 1.19.1-1~bionic -> with-http_geoip_module - how do i get this on ubuntu nginx installs?
[09:59] <ggmatth> geosmile: I think the http_geo_module is already installed, check the output of nginx -V and check if --with-http_geoip_module= is included as an option
[10:00] <ggmatth> then you're ready to go
[17:59] <FaTaL_G> sometimes when my ubuntu box starts up, the bridge does not come up correctly, and I have isc-dhcp-server bound to br0. When this happens, dhcp fails to start. Can I delay it, or make it depend on br0, or even make it come up even if br0 doesn't?
[18:46] <RoyK> FaTaL_G: I'd try to find out why the bridge doesn't come up correctly first
[18:51] <FaTaL_G> RoyK, it says my gateway is incorrect but thats not true
[18:51] <FaTaL_G> I dont have to change anything, I just ifdown -a ifup -a, and it works fine.
[18:52] <FaTaL_G> reading numerous posts from others online for years, Im not the only one with this issue. People have been hacking interfaces, load init scripts, etc... for a damned long time. even in 18.04 and 20.04
[18:53] <FaTaL_G> I recently put bridgewait to 30 to see what happens/
[18:58] <RoyK> it might be something specific to ubuntu, then, not sure. I don't use ubuntu on servers anymore. But - a friend of mine does and I helped him setup his 18.04 with a bridge like this http://paste.ubuntu.com/p/6jrsq95NJm/
[18:59] <RoyK> no hacks, just simple interfaces
[19:00] <FaTaL_G> agree
[19:01] <FaTaL_G> the only thing I see you did that I once did and undid based on some advices I read, was that I **do not** iface the adapters ahead of time. bridge_utils says not to.
[19:02] <RoyK> it's been some years since I pieced together this config and it's worked for a long time, so really, I don't care
[19:02] <FaTaL_G> :)
[19:02] <RoyK> at least two friends of mine have the same running on ubuntu and debian
[19:02] <RoyK> so I won't "fix" it
[19:02] <FaTaL_G> I was not suggesting you should
[19:02] <FaTaL_G> I wass just noting the only difference we have.
[19:02] <RoyK> then at least we agree :)
[19:03] <FaTaL_G> Imean, I dont use x.y.z for ips, and my adapters are like 6 to your 1 (well 2).... but thats obvious
[19:03] <RoyK> x.y.z are just replacement for those octets
[19:04] <FaTaL_G> The fact that it is functional sometimes and not others, seems to agree with the thoughts numerous people have posted about race conditions
[19:04] <FaTaL_G> I know
[19:04] <RoyK> can you pastebin your config?
[19:04] <FaTaL_G> and ifup and down being enought to make it work is even more ironic
[19:05] <FaTaL_G> sure
[19:06] <FaTaL_G> https://paste.ubuntu.com/p/JwV4yChptx/
[19:07] <FaTaL_G> eno1 is the internet facing. wireless is finicky and not being used right now.
[19:10] <RoyK> try to up the interfaces before using them as bridge ports, like I do
[19:13] <RoyK> btw, how are you planning to use four interfaces for a single bridge?
[19:17] <FaTaL_G> RoyK, not sure what your question is - it works perfectly
[19:17] <FaTaL_G> The answer would be, just as you see it there now
[19:17] <FaTaL_G> With wireless, I actually use 6, I use 5 without wireless
[19:18] <FaTaL_G> The machine is the router on the network. So these adapters jobs are to be a bridge, and allow dhcp and packet routing through them
[19:20] <FaTaL_G> Im hoping the bridge_maxwait will make a difference. Mine may have issues because I have to wait for so much hardware. And I didn't see a default bridgewait time on the bridgeutils page. So apparently that means it doesn't wait.
[19:27] <RoyK> FaTaL_G: I'd use nic bonding/teaming for that, given the switch supports it
[19:27] <RoyK> FaTaL_G: is the idea to add redundancy or just bandwidth?
[19:34] <FaTaL_G> neither
[19:34] <FaTaL_G> Do you have a home router?
[19:35] <RoyK> obviously, but it's a pile of shite
[19:35] <FaTaL_G> well, mine is this box
[19:35] <FaTaL_G> so each ethernet port is a port serving data to (for example) 6 machines
[19:36] <RoyK> how is this wired?
[19:36] <FaTaL_G> each ethernet port is part of the same network, but each port does not require an ip
[19:36] <FaTaL_G> I explained above
[19:37] <RoyK> do you monitor the traffic over each of the NICs?
[19:37] <FaTaL_G> eno1 is the internet facing port. The other ports, all on br0, are serving firewalled internet to the rest of the houses switches, routers, tv's, desktops, etc
[19:38] <RoyK> sure, but do you monitor nic traffic?
[19:39] <RoyK> because I somewhat doubt that arp will be able to handle four MAC addresses and balance the load across them
[19:39] <FaTaL_G> I explained that this works
[19:39] <RoyK> well, do you monitor the NIC traffic?
[19:39] <FaTaL_G> sure.
[19:39] <RoyK> how?
[19:41] <FaTaL_G> I've been using numerous methods and experimenting with the tools available. I recently removed pf_ring (and nbox etc) since the license expired, before paying for it again Im going to use the free version.
[19:42] <RoyK> munin is simple and free if you just want basic monitoring and somewhat nice graphs
[19:42] <FaTaL_G> I'll check that out
[19:42] <FaTaL_G> there are soooooo many
[19:42] <RoyK> I know
[19:42] <FaTaL_G> and there is no simple pfsense for ubuntu ;)
[19:43] <RoyK> I stick to zabbix, but it takes a while to getting to know it. munin installation is a mere apt install away
[19:44] <FaTaL_G> I was annoyed at the discontinuity between pf_ring and nbox/ntop builds, updating nightly, and pf_ring was tainting the kernel. Figured I'd clear that our and add again with something differnt
[19:44] <FaTaL_G> I have FIOS. It would be neat if I could bond/team to the fiber... 10GbE anyone?
[19:45] <FaTaL_G> I've had 984/984 but with adding and removing monitoring and doing tweaks, I've seen it go all over the place
[19:46] <RoyK> as expected, that's only one link
[19:46] <FaTaL_G> but significantly better than the home soho, r7000 r8000 r8500 etc
[19:46] <FaTaL_G> 1998 cell phone processor, or intel i5?
[19:46] <RoyK> lack o LACP?
[19:47] <RoyK> you don't get bonding for "free" - you need to configure it
[19:47] <FaTaL_G> havent heard of it/ what is it?
[19:47] <FaTaL_G> well Im not doing bonding on anything
[19:47] <FaTaL_G> the bridge isnt there to do bonding
[19:47] <RoyK> https://en.wikipedia.org/wiki/Link_aggregation#Link_Aggregation_Control_Protocol
[19:47] <FaTaL_G> and the fios only has one ehternet port
[19:48] <RoyK> Please try to understand here. The ethernet traffic is sent to the MAC address of whatever's in the ARP cache and one IP can only have one MAC address.
[19:48] <FaTaL_G> I don't see any reason to bond anything in my setup
[19:49] <FaTaL_G> I think I do understand.
[19:50] <RoyK> so read up a bit, because I can't walk you through the theory here. Briefly, what you do is setup bond0 or whatever you call it and allow that to bond two or more ethernet interfaces and then configure the bridge to use the bond. The switch must support the type of bonding used, and one of the most used modes is LACP
[19:51] <FaTaL_G> I literally have nothing to bond
[19:51] <FaTaL_G> there is nothing in my network that i can put two cables on to bond them and get more bandwidth or throughput
[19:52] <FaTaL_G> well, I could, but theres no reason to. The network cards you see on the br0, are all serving different machines.
[19:52] <RoyK> linux supports LACP. A lot of switches do as well. What sort of switch?
[19:52] <FaTaL_G> spoke and hub
[19:52] <FaTaL_G> theres no neet to bond anything
[19:52] <RoyK> oh well - good luck
[19:58] <FaTaL_G> I don't know what I'm failing to explain, but I know what bonding is, however I don't see any purpose in establishing a bond from any port to another port, when the ports on the machine we are talking about are serving traffic each over one port to some OTHER device.  I do not have two ethernet ports on this box going to two ethernet ports on another box
[20:11] <RoyK> well, you're on your own, then
[20:36] <FaTaL_G> RoyK, have you a thought on what db to use with zabbix? I have been curious about it for some time and might want to learn it.
[20:37] <RoyK> just start by installing it in a vm or something and add somehosts. I first found the config a bit hard to grasp, but it sticks after a while
[20:42] <FaTaL_G> you didn't suggest a db, and I can use many. You seems to be performance minded from the discussion above, do you have a preference?
[20:49] <RoyK> I use postgresql for everything, really, unless there's a specific need to use something else (as in with wordpress or similar stuff where a lot is hardcoded to mysql/mariadb syntax)
[20:51] <RoyK> or ezpublish, where one of the core developers at least can spell postgresql without a major headache, but apart from that, everything is designed to match up with mariadb
[21:00] <FaTaL_G> thanks
[21:05] <RoyK> This is obviously subjective, but based on my knowledge and experience. Other people will probably disagree, but then, that's how it is to be a nerd ;)
[21:40] <FaTaL_G> RoyK, finding a montioring solution that is pleasant to use, and look at the data, that has easy to use controls/filters, and graphs, while not crushing a systems resources is a challenge, finding it for a price that a home user can swallow is another battle in itself, and of course, finding a db that is fast and trustworthy can be the same challenge, I get it.