Click here to Skip to main content
15,889,909 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
kalberts9-Jul-20 4:49
kalberts9-Jul-20 4:49 
GeneralRe: Thought of the Day Pin
PIEBALDconsult9-Jul-20 4:57
mvePIEBALDconsult9-Jul-20 4:57 
GeneralRe: Thought of the Day Pin
megaadam9-Jul-20 4:59
professionalmegaadam9-Jul-20 4:59 
GeneralRe: Thought of the Day Pin
W Balboos, GHB9-Jul-20 5:01
W Balboos, GHB9-Jul-20 5:01 
GeneralRe: Thought of the Day Pin
jeron19-Jul-20 5:11
jeron19-Jul-20 5:11 
GeneralRe: Thought of the Day Pin
Andre Oosthuizen9-Jul-20 20:19
mveAndre Oosthuizen9-Jul-20 20:19 
GeneralRe: Thought of the Day Pin
jeron110-Jul-20 4:36
jeron110-Jul-20 4:36 
GeneralEyeSpyPi Pin
#realJSOP9-Jul-20 3:39
mve#realJSOP9-Jul-20 3:39 
Since I have half a dozen raspberry pi 4's running various things in my house, I wanted a way to monitor various metrics, such as temp, file system free space, free memory, etc.

I decided to build a .Net Core console app that will run as a service on one of the pis, and will pull in the metrics from the other pi's on the network, and put them in a MySql database. The data will be visualized in a MVC DotNetCore web app (also running on the main pi).

The goal is to only put software on the main Pi, and have it reach out to other pi's specified in a config file. The biggest hurdle so far has been getting the data from the other pi's, because:

0) Some of the data I'm retrieving lives in text files in system folders, so I didn't want to create a share.

1) I didn't want to have to put software on the other pi's to get their performance info.

2) The code would be running on a linux box which dictated that I couldn't use any of the handy Windows-specific stuff to impersonate a user on a remote box.

All of those issues were solved by using SshNet (a nuget package). This package lets you connect via ssh and run commands on a remote machine. Huzzah!
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: EyeSpyPi Pin
Jacquers9-Jul-20 3:52
Jacquers9-Jul-20 3:52 
GeneralRe: EyeSpyPi Pin
Mike Hankey9-Jul-20 5:44
mveMike Hankey9-Jul-20 5:44 
GeneralDoes anyone here know any formal music theory? Pin
honey the codewitch9-Jul-20 3:20
mvahoney the codewitch9-Jul-20 3:20 
GeneralRe: Does anyone here know any formal music theory? Pin
Greg Utas9-Jul-20 3:24
professionalGreg Utas9-Jul-20 3:24 
GeneralRe: Does anyone here know any formal music theory? Pin
honey the codewitch9-Jul-20 3:28
mvahoney the codewitch9-Jul-20 3:28 
GeneralRe: Does anyone here know any formal music theory? Pin
kalberts9-Jul-20 3:50
kalberts9-Jul-20 3:50 
GeneralRe: Does anyone here know any formal music theory? Pin
Greg Utas9-Jul-20 3:57
professionalGreg Utas9-Jul-20 3:57 
GeneralRe: Does anyone here know any formal music theory? Pin
jsc429-Jul-20 6:40
professionaljsc429-Jul-20 6:40 
GeneralRe: Does anyone here know any formal music theory? Pin
Greg Utas9-Jul-20 6:42
professionalGreg Utas9-Jul-20 6:42 
GeneralRe: Does anyone here know any formal music theory? Pin
honey the codewitch9-Jul-20 4:20
mvahoney the codewitch9-Jul-20 4:20 
GeneralRe: Does anyone here know any formal music theory? Pin
kalberts9-Jul-20 4:47
kalberts9-Jul-20 4:47 
GeneralRe: Does anyone here know any formal music theory? Pin
Greg Utas9-Jul-20 4:57
professionalGreg Utas9-Jul-20 4:57 
GeneralRe: Does anyone here know any formal music theory? Pin
kalberts9-Jul-20 7:46
kalberts9-Jul-20 7:46 
GeneralRe: Does anyone here know any formal music theory? Pin
Greg Utas9-Jul-20 10:32
professionalGreg Utas9-Jul-20 10:32 
GeneralRe: Does anyone here know any formal music theory? Pin
honey the codewitch9-Jul-20 6:19
mvahoney the codewitch9-Jul-20 6:19 
GeneralRe: Does anyone here know any formal music theory? Pin
Jim Kolb10-Jul-20 5:39
Jim Kolb10-Jul-20 5:39 
GeneralRe: Does anyone here know any formal music theory? Pin
kalberts10-Jul-20 8:14
kalberts10-Jul-20 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.