[04:41] <r0zy> Hey all, I was wondering, if I have an extra NIC on my machine, and want to say plugin a switch with a camera, can I VLAN it but still us it locally? is that possible without usuing a router
[14:11] <Aison0> is there a package that provides /usr/lib/nagios/plugins/check_btrfs
[14:11] <Aison0> nagios/icinga2 check command?
[14:22] <andol> Aison0: monitoring-plugins-btrfs
[16:28] <r0zy> Hey All, I have an extra NIC on my machine, is it possible to plug a switch into it with a camera VLAN it or do I need a router for something like that?
[16:29] <quadrathoch2> r0zy i guess you would need to explain it a little bit more
[16:31] <r0zy> I have a security camera that I dont want on the main network, and a little POE switch, I want to plug that switch into an extra ethernet port on my machine (not connected to a router just the switch) can ubuntu give it an IP and gateway ect or is that something a router will have to do?
[16:31] <r0zy> sorry if im not asking the right way or if its more a networking thing
[16:32] <r0zy> the machine is connected to the router via main port
[16:34] <quadrathoch2> r0zy you could setup a dhcp server, or just give those two interfaces static ips
[16:36] <r0zy> quadrathoch2 thannk you, is there a network manager GUI for ubuntu server? not the best at command
[16:37] <quadrathoch2> r0zy there should be nmtui
[16:39] <r0zy> quadrathoch2 thank you again im going to give this a shot
[16:46] <RoyK> r0zy: you could also use a separate VLAN for that camera, given your switch supports that. Less hassle
[16:47] <RoyK> r0zy: btw, are you planning on connecting the camera to the same switch as the rest? just a different ip network?
[16:47] <r0zy> royk its a small tp link poe switch i dont think it will even let me do any thing :(
[16:48] <RoyK> r0zy: will that be dedicated for this camera network?
[16:48] <r0zy> royk correct, yeah camera will go to that switch, i got it somewhat connected on my mint machine with link-local only but trying to get it on my ubuntu box
[16:48] <r0zy> I guess im not that best at networking but understand it a bit
[16:49] <RoyK> what sort of switch is this?
[16:49] <r0zy> tp link
[16:49] <RoyK> model?
[16:49] <r0zy> tp-sg1005p
[16:50] <r0zy> my other nic isnt activated or is showing as down, so fixing that first
[16:50]  * RoyK doesn't like unmanaged switches :þ
[16:50] <RoyK> but hey - it'll work :)
[16:51] <r0zy> royk what is your fav managed switch? are most of those enterpise sort of deals?
[16:51] <RoyK> a lot of cheap switches are also managed
[16:52] <RoyK> with a managed switch, you can monitor performance, setup VLANs, tagged or untagged, well, most, really
[16:53] <r0zy> is "smart" managed the same thing?
[16:53] <RoyK> most of them come with a webui and a serial/ssh interface for configuration and monitoring
[16:53] <RoyK> probably same ballpark
[16:54] <r0zy> oh ubiquity has one nice
[16:54] <RoyK> they have a lot of nice things :)
[16:55] <quadrathoch2> r0zy https://networkengineering.stackexchange.com/questions/33719/what-is-the-difference-between-smart-vs-managed-switch
[16:57] <r0zy> Thank you, NMTUI for some reason doesnt show my current connections but i will just do terminal I guess , brought it up with ip link do i need to install the DHCP part to assign proper gateway and IP?
[16:57] <RoyK> quadrathoch2: IMHO it's the same - just synonyms - everything is marketed as "smart" these days even though we have had that smartness for decades
[16:58] <RoyK> r0zy: which ubuntu version is this?
[16:58] <rangergord> "The issue that makes us resist the idea of simply disabling [snap] updates altogether is that very often that will mean never update rather than update at someone’s discretion, and then we’re getting back to some of the problems that got us here in the first place. That’s why we’ve been resisting introducing that global switch, at least for the time being, and instead working with people to mitigate
[16:58] <rangergord> the bad side effects of having automatic updates enabled."
[16:59] <r0zy> royk: 18.04
[16:59] <r0zy> royk: 18.04.4
[16:59] <rangergord> As people running servers in production, how do you reconcile the direction Ubuntu is taking with snaps, with the need for stability and control over when services get updated/restarted?
[17:02] <r0zy> royk Linux version 4.15.0-101-generic (buildd@lgw01-amd64-003) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #102-Ubuntu
[17:04] <r0zy> rangergord I guess production supersedes security
[17:04] <JanC> just remove snapd
[17:05] <rangergord> JanC, but given the direction things are taking, what happens in 22.04, 24.04, etc, when even your Postgres install is a snap?
[17:05] <rangergord> and what if you want to update some packages but not others
[17:05] <JanC> I get Postgres from Postgres
[17:05] <rangergord> that's you
[17:05] <rangergord> that's not what the majority of a Linux server distro do
[17:06] <rangergord> *users
[17:06] <quadrathoch2> rangergord just move on if you don't wanna use ubuntu, omg is it so hard? I mean you are not locked into the ecosystem by canonical
[17:07] <rangergord> quadrathoch2, I'm trying to have a discussion with people who use Ubuntu Server in production, to see how they handle the things that worry me
[17:07] <rangergord> if that's not you, if you're some fanboy, feel free to /ignore me
[17:07] <rangergord> I'm a long-time Ubuntu fan (usually a version or two behind), this isn't some hit job
[17:08] <rangergord> I'm planning my next generation of systems and had been planning to use Server 20.04, but I'm reading up about the snap situation and it's worrying me
[17:08] <JanC> I explained that I remove snapd, will see what happens in the future
[17:09] <quadrathoch2> yeah just remove snapd and move on, or just use another system. there are literally THOUSANDS of other distros
[17:09] <JanC> and I use Postgres packages from upstream
[17:09] <quadrathoch2> even which give you commercial support like redhat or suse
[17:10] <rangergord> OK, so we have one guy who downloads and installs packages manually instead of using a package manager like everyone else, and another who feels personally attacked and tells me to stop using my favorite and most popular distro. Any 3rd opinions?
[17:10] <rangergord> JanC, the reason I use the package manager is that Debian/Ubuntu maintainers will have made sure the package is properly configured to work with the current system
[17:10] <JanC> rangergord: upstream packages from the Postgres Ubuntu repositories
[17:10] <quadrathoch2> rangergord who tells you that it's the most popular distro? I guess we can all agree that nobody can say that
[17:11] <rangergord> Postgres was just an example. I use hundreds of packages.
[17:11] <JanC> I also don't know what Canonical will do with Ubuntu...
[17:13] <quadrathoch2> and honestly how many packages do you know of which are only installable with snapd? I can pull out of my head exactly 3, chromium which just doesn't matter to -server and canonical-livepatch, I guess you are out of luck and lxd, which imho, just use lxc
[17:13] <quadrathoch2> and funny how I get called a fanboy, when I don't even have ubuntu right now installed
[17:17] <rangergord> quadrathoch2, I just read about lxd and it seemed like a taste of things to come. Will almost everything on Server become a snap within 4 years? I'm not just concerned about right now, I'm building a foundation for the next several years.
[17:17] <JanC> making everything a snap would kill Ubuntu as a cloud OS
[17:18] <quadrathoch2> yup, and you don't need to run lxd in a snap, just compile it yourself for 20.04
[17:18] <rangergord> I don't know anything about cloud, I'm an embedded/IoT developer
[17:18] <JanC> well most people don't want to compile everything themselves, even if just from a security perspective
[17:19] <r0zy> When assigning an IP to my unmanaged switch, is it assigning it to the switch it self or the camera connected? should i DHCP the interface ?
[17:19] <quadrathoch2> JanC yeah, i would also rather not (especially for production) but if there would be no way around it *shrug* if you really care that much about snapd
[17:19] <rangergord> why would using snaps kill Ubuntu as a cloud OS? I'm already reading comments on Hacker News about snapd restarting various systemd services in the middle of operation, due to an auto-update of some snap. (they didn't specify which packages)
[17:20] <quadrathoch2> r0zy if the switch is really unmanaged, it shouldn't have an IP
[17:20] <r0zy> Or I guess i mean assigning the ip to the interface
[17:21] <quadrathoch2> r0zy which interface specifically?
[17:21] <r0zy> quad : enp3s0 ?
[17:22] <quadrathoch2> ah so you mean from the system
[17:24] <r0zy> yeah, it looks like i got it set and connected...
[17:24] <quadrathoch2> I guess the easiest would be to setup a dhcp server on that one network link. if not, try to figure out which ip the camera has, and try to assign one in the same subnet to the (managed?) switch / desktop/server you got
[17:24] <r0zy> i can ping the ip i set
[17:24] <quadrathoch2> r0zy great :)
[17:25] <r0zy> now i guess i have to figure out the camera lol thank you for the help, I thinkyoure right though because how will the camera get an ip or is it the ip i set I would think id be able to http into it but maybe theres no webpage for it
[17:25] <r0zy> oh i can ssh into it
[17:25] <quadrathoch2> even better :) hope you can now figure everything out r0zy
[17:27] <r0zy> quadrathoc2 thank you for the help, any of you guys use proxmox?
[17:28] <quadrathoch2> r0zy I guess you would need to look somewhere else (even if it's based on debian/ubuntu), as we don't know what they changed from the "default"
[17:36] <r0zy> is snap better than apt? or am i confused
[17:36] <r0zy> whats weird is theres an rdp port open on this thing
[17:36] <r0zy> reolink camera
[17:37] <quadrathoch2> Snap and apt are two differently ways to installs things. Sometimes one is better than the other one. But most people like apt more because of the history imho, and because apt is able to share libraries with other packages (where snap isolates the certain package)
[17:37] <quadrathoch2> r0zy are you sure?
[17:37] <mybalzitch> well thanks ubuntu during an update renaming all my interfaces from enp* back to eth*
[17:38] <r0zy> yeah when trying to connect it gives me an error about the libfreerdp does not support h264, and the work around is to install remmina from the flatpak/snap pacakges which i will try
[17:39] <r0zy> mybalzitch never update (jokes)
[17:42] <r0zy> maybe its just looping back to my own machine :()
[17:43] <quadrathoch2> How did you figure out that there is rdp open r0zy
[17:43] <r0zy> nmap
[17:44] <r0zy> yeah nm its just looping back to my self lol
[17:44] <JanC> quadrathoch2: one of the big differences (& problems) is that snaps always auto-update (unless that changed recently?)
[17:44] <r0zy> wow headache
[17:47] <quadrathoch2> JanC yes you are right but for example where it really matters, for example in a business you can disable auto updates completely. (It’s an enterprise feature) I guess they never talked about that really a lot. So when the guy before was talking about production, it was clear he was a non paying customer
[17:48] <quadrathoch2> So seems like canonical wants to give incentives to pay for support
[17:48] <JanC> ugh, you mean you can disable it if you pay ransom? that's even worse...
[17:49] <quadrathoch2> I wouldn’t call it ransom, but the systems where it matters, you probably pay, and the rest is more of a test system / homelab POV maybe? Idk the reasoning why they want to do that
[17:50] <quadrathoch2> Imho same thing with live patching. But there they clearly stated that it’s a paid feature, so I guess less people have an issue with that
[17:51] <JanC> right
[17:51] <JanC> if they want snaps to be a paid feature, they shouldn't push it onto everyone
[17:53] <quadrathoch2> It’s not about snaps being a paid feature, it’s only specifically about removing the auto update ‘feature’) (and yes that’s why I don’t like snaps, but I wouldn’t go as far as not using the Distro or complain about it on an irc channel)
[17:54] <JanC> well, complaining is one way to tell people there is a problem  :)
[17:55] <quadrathoch2> And btw, I only know about that commercial feature because Martin wimpress (Desktop leader) was talking about it on his podcast) so you can guess how well ‘known’ that feature is
[17:57] <JanC> I don't care too much that auto-update is the default (especially for user apps on the desktop)
[17:57] <JanC> (and I would care even less if the average snap was maintained well...)
[17:59] <quadrathoch2> okay I thought we were still talking about that as that’s what’s most people think is annoying
[18:01] <JanC> "default" means that you can disable it on systems that are used for real  :)
[18:35] <Aison0> andol, thx for the hint
[18:35] <Aison0> why is "monitoring-plugins-btrfs" installed into "/usr/lib/nagios-btrfs/plugins/check_btrfs" and not /usr/lib/nagios/plugins/check_btrfs
[18:36] <Aison0> icinga2 requires /usr/lib/nagios/plugins/check_btrfs
[18:36] <Aison0> well, I created now a symlink