json rpc – Importing a bunch of btc private keys into bitcoin core, then monitoring and sweeping them all to another address?

Is there a service to monitor the bitcoin balance, or do I just have
to make a cron job to query it every second?

I do not know such service. Anyway, you should not give your private keys for any service.

When using sendtoaddress api call, do I have to specify a change
address?

Why do you want to use bitcoin client and api calls for it?

How do other people usually solve this problem?

This is not a “problem”. This is a “task”. You should monitor transactions in the network and push your transactions which sweep the outputs to your address. I can provide you such toolkit, but not for free

macos – DLP + Employee monitoring on MAC systems

We are looking to implement Data Loss Prevention solution and employee monitoring in our system. In our network, we have many Macs which we want to secure. We want to protect ourselves from leaking data on a hard drive or on a cloud. We need to receive notification if someone tries to leak data, block it, and a way to check if the alert is real. Can anyone recommend a solution that he has experience with? We were recommended to use Teramind but it doesn’t work on MAC….

monitoring – How to configure AlertManager as a cluster across different Kubernetes clusters?

We have 4 different Kubernetes clusters and each cluster has Kube-prometheus-stack chart running on it. Idea is to run 2 replicas of AlertMangers on each cluster and form a cluster out of it(8 AlertMangers forming a single cluster). Prometheus on each cluster would need to know about AlertManager running on all other clusters.

We are planning to use CRDs to deploy all this. Would be great if someone could provide working example of this setup.

c# – ManagementEventWatcher, process monitoring

I’m using ManagementEventWatcher to monitoring some process. It works well but I think the code’s kinda repetitive. I was wondering what would be the correct way for more than once single process, if I had more than two process it’d become a mess. Thanks!

private async void Form1_Load(object sender, EventArgs e)
{
   string tick = "0.1";
   string lcuProcess = "LeagueClientUx.exe";
   string gameProcess = "League of legends.exe";

   string lcuQuery = String.Format(@"
   SELECT * 
   FROM __InstanceOperationEvent 
   WITHIN {0} 
   WHERE TargetInstance ISA 'Win32_Process' 
   AND TargetInstance.Name = '{1}'", tick, lcuProcess
   );

   string gameQuery = String.Format(@"
   SELECT * 
   FROM __InstanceOperationEvent 
   WITHIN {0} 
   WHERE TargetInstance ISA 'Win32_Process' 
   AND TargetInstance.Name = '{1}'", tick, gameProcess
   );

   string scope = @"\.rootCIMV2";

   ManagementEventWatcher watcherLCU = new ManagementEventWatcher(scope, lcuQuery);
   watcherLCU.EventArrived += new EventArrivedEventHandler(OnEventArrived_lcu);
   watcherLCU.Start();

   ManagementEventWatcher watcherGame = new ManagementEventWatcher(scope, gameQuery);
   watcherGame.EventArrived += new EventArrivedEventHandler(OnEventArrived_game);
   watcherGame.Start();
}

private static void OnEventArrived_lcu(object sender, EventArrivedEventArgs e)
{
   // Do something...
}

private static void OnEventArrived_game(object sender, EventArrivedEventArgs e)
{
   // Do something...
}

wireless networking – Monitoring connection to wifi router

I want to figure out where I should place my wifi router. Is there an app that monitors desktop to wifi connection quality in real time so I can just walk around/hold it up/down near a wall etc to see where it is optimal?

I don’t want to run a speed test, I am not trying to measure the internet connection, I am interested in the connection to the router itself.

networking – How to find and kill specific Monitoring AGENT running on system?

I have an agent installed on my computer which works with python. I think it starts with startup but I could not find any program on startup so I decided to check running processes for python and to my surprise, there was the agent keep_alive()

(base) admin1@shady-pc:~$ ps -fA | grep python
root      6533     1  0 10:27 ?        00:00:01 python /opt/SapphireIMSAgent/SapphireIMS.pyc keep_alive

So if it is keep_alive, it must be listening to a port so I checked the ports and found

sudo netstat -tulpn | grep LISTEN
(sudo) password for admin1: 
tcp        0      0 0.0.0.0:46001           0.0.0.0:*               LISTEN      6533/python         

Killing the process 6533 kills the process for some time only and it starts again. I checked the hidden startup processes but could not find anything. Also, I looked at the system monitor and there was no process 6533.

Obviously it must be running in the background so How can I find and Kill the origin of this agent after each startup?

Monitoring Mouse and Keyboard Usage

I am looking for an application to monitor keyboard and mouse usage on Ubuntu.

Keyboard usage could be defined as the difference between the first key press and the last key press. The last key press is when a key is pushed followed by a period of inactivity (e.g. 1 minute of non-usage). Total keyboard usage is therefore the sum of each duration of keyboard usage.

Mouse usage is similarly defined to keyboard usage. It is the difference between the first click and the last click, where the last click is a click followed by a period of inactivity. Total mouse usage is the sum of each duration of mouse usage.

Is there a package that has a similar ability to monitor keyboard and mouse usage?

monitoring – Netdata, prometheus and grafana – why recommended in this constellation?

Currently I do setup monitoring-service for our Server.
I’ve found some articles, which recommend to use: Netdata, prometheus and grafana

So I wonder what are the benefits to use all three of them.
Can anybody explain it to me, why prometheus and grafana is recommended, if it’s seems that netdata do the same stuff as those both?

Even at the netdata-documentations, there are an article about the setup for this: https://learn.netdata.cloud/docs/agent/backends/prometheus/#filtering-metrics-sent-to-prometheus

What are the benefits of this constellation?