/srv/irclogs.ubuntu.com/2020/08/16/#ubuntu-server.txt

geosmileanyone here using grafana?00:26
geosmile1.19.1-1~bionic -> with-http_geoip_module - how do i get this on ubuntu nginx installs?04:22
ggmatthgeosmile: 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 option09:59
ggmatththen you're ready to go10:00
FaTaL_Gsometimes 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?17:59
=== coconut__ is now known as coconut
RoyKFaTaL_G: I'd try to find out why the bridge doesn't come up correctly first18:46
FaTaL_GRoyK, it says my gateway is incorrect but thats not true18:51
FaTaL_GI dont have to change anything, I just ifdown -a ifup -a, and it works fine.18:51
FaTaL_Greading 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.0418:52
FaTaL_GI recently put bridgewait to 30 to see what happens/18:53
RoyKit 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:58
RoyKno hacks, just simple interfaces18:59
FaTaL_Gagree19:00
FaTaL_Gthe 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:01
RoyKit's been some years since I pieced together this config and it's worked for a long time, so really, I don't care19:02
FaTaL_G:)19:02
RoyKat least two friends of mine have the same running on ubuntu and debian19:02
RoyKso I won't "fix" it19:02
FaTaL_GI was not suggesting you should19:02
FaTaL_GI wass just noting the only difference we have.19:02
RoyKthen at least we agree :)19:02
FaTaL_GImean, I dont use x.y.z for ips, and my adapters are like 6 to your 1 (well 2).... but thats obvious19:03
RoyKx.y.z are just replacement for those octets19:03
FaTaL_GThe fact that it is functional sometimes and not others, seems to agree with the thoughts numerous people have posted about race conditions19:04
FaTaL_GI know19:04
RoyKcan you pastebin your config?19:04
FaTaL_Gand ifup and down being enought to make it work is even more ironic19:04
FaTaL_Gsure19:05
FaTaL_Ghttps://paste.ubuntu.com/p/JwV4yChptx/19:06
FaTaL_Geno1 is the internet facing. wireless is finicky and not being used right now.19:07
RoyKtry to up the interfaces before using them as bridge ports, like I do19:10
RoyKbtw, how are you planning to use four interfaces for a single bridge?19:13
FaTaL_GRoyK, not sure what your question is - it works perfectly19:17
FaTaL_GThe answer would be, just as you see it there now19:17
FaTaL_GWith wireless, I actually use 6, I use 5 without wireless19:17
FaTaL_GThe machine is the router on the network. So these adapters jobs are to be a bridge, and allow dhcp and packet routing through them19:18
FaTaL_GIm 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:20
RoyKFaTaL_G: I'd use nic bonding/teaming for that, given the switch supports it19:27
RoyKFaTaL_G: is the idea to add redundancy or just bandwidth?19:27
FaTaL_Gneither19:34
FaTaL_GDo you have a home router?19:34
RoyKobviously, but it's a pile of shite19:35
FaTaL_Gwell, mine is this box19:35
FaTaL_Gso each ethernet port is a port serving data to (for example) 6 machines19:35
RoyKhow is this wired?19:36
FaTaL_Geach ethernet port is part of the same network, but each port does not require an ip19:36
FaTaL_GI explained above19:36
RoyKdo you monitor the traffic over each of the NICs?19:37
FaTaL_Geno1 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, etc19:37
RoyKsure, but do you monitor nic traffic?19:38
RoyKbecause I somewhat doubt that arp will be able to handle four MAC addresses and balance the load across them19:39
FaTaL_GI explained that this works19:39
RoyKwell, do you monitor the NIC traffic?19:39
FaTaL_Gsure.19:39
RoyKhow?19:39
FaTaL_GI'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:41
RoyKmunin is simple and free if you just want basic monitoring and somewhat nice graphs19:42
FaTaL_GI'll check that out19:42
FaTaL_Gthere are soooooo many19:42
RoyKI know19:42
FaTaL_Gand there is no simple pfsense for ubuntu ;)19:42
RoyKI stick to zabbix, but it takes a while to getting to know it. munin installation is a mere apt install away19:43
FaTaL_GI 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 differnt19:44
FaTaL_GI have FIOS. It would be neat if I could bond/team to the fiber... 10GbE anyone?19:44
FaTaL_GI've had 984/984 but with adding and removing monitoring and doing tweaks, I've seen it go all over the place19:45
RoyKas expected, that's only one link19:46
FaTaL_Gbut significantly better than the home soho, r7000 r8000 r8500 etc19:46
FaTaL_G1998 cell phone processor, or intel i5?19:46
RoyKlack o LACP?19:46
RoyKyou don't get bonding for "free" - you need to configure it19:47
FaTaL_Ghavent heard of it/ what is it?19:47
FaTaL_Gwell Im not doing bonding on anything19:47
FaTaL_Gthe bridge isnt there to do bonding19:47
RoyKhttps://en.wikipedia.org/wiki/Link_aggregation#Link_Aggregation_Control_Protocol19:47
FaTaL_Gand the fios only has one ehternet port19:47
RoyKPlease 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_GI don't see any reason to bond anything in my setup19:48
FaTaL_GI think I do understand.19:49
RoyKso 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 LACP19:50
FaTaL_GI literally have nothing to bond19:51
FaTaL_Gthere is nothing in my network that i can put two cables on to bond them and get more bandwidth or throughput19:51
FaTaL_Gwell, I could, but theres no reason to. The network cards you see on the br0, are all serving different machines.19:52
RoyKlinux supports LACP. A lot of switches do as well. What sort of switch?19:52
FaTaL_Gspoke and hub19:52
FaTaL_Gtheres no neet to bond anything19:52
RoyKoh well - good luck19:52
FaTaL_GI 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 box19:58
RoyKwell, you're on your own, then20:11
=== coconut__ is now known as coconut
FaTaL_GRoyK, 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:36
RoyKjust 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 while20:37
FaTaL_Gyou 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:42
RoyKI 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:49
RoyKor 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 mariadb20:51
FaTaL_Gthanks21:00
RoyKThis 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:05
FaTaL_GRoyK, 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.21:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!