Questions tagged [monitoring]
Obtaining real-time values of system parameters or events (processor load, server responsiveness, intrusion attempts, …), or getting alerted when certain events happen
757 questions
0
votes
1
answer
173
views
recommended frequency for syslog-ng's "stats" logging
Yesterday I upgraded a VM (with very limited disk space) from Debian/bookworm to the shiny new Debian/trixie.
One of the changes introduced was setting the frequency of status printout in syslog-ng to ...
4
votes
2
answers
257
views
How to find out a process's proportional use of system-wide Committed_AS memory on Linux?
On Linux, it's possible to disable overcommitting memory which makes it behave like Windows, in that malloc() will fail once all physical memory is used up. As explained in this insightful and good ...
0
votes
0
answers
23
views
Grafana Silences don't work
Prometheus, Loki and Promtail have been updated.
Its Silence policy doesn't work anymore and alerts continues sent to the appropriate chat.
0
votes
0
answers
39
views
What device tempuratures does Mate's 'Hardware Sensors Monitor' show?
I utilize Mate's Hardware Sensor Monitor, and it shows the following for my device:
What does each label refer to? What temperatures are considered dangerous?
4
votes
1
answer
447
views
How to log event on a directory (deletion)
I have a folder on my RHEL 9 server that gets deleted every few days, but I don’t know which process or user is responsible.
I’d like to log all events related to this folder, particularly deletions.
...
0
votes
0
answers
66
views
How to get alerts on btrfs raid issues/events?
When moving from md-raid to btrfs raid, I am missing one feature from mdadm.conf:
PROGRAM /sbin/mdadm-alert.sh
This will trigger a script on any md-raid issues or important events. I use this in ...
1
vote
1
answer
51
views
USBtoSerial monitoring and modification of settings of charge controller Epever XTRA series
How can I utilize the RS485 port of Epever XTRA (and possibly also Tracer) series solar charge controller?
I'd like to use it for monitoring as well as for easy parameter modification. The system ...
0
votes
1
answer
243
views
How to view real-time log of all varnish cache evictions (lru nuked, purged, banned, expired, etc)
How can I view the objects that are removed from the varnish cache in real-time?
I know that I can monitor for PURGE events using varnishlog, and I know that I can monitor varnishstat to see the ...
0
votes
0
answers
121
views
How to continuously log process changes on a Linux system using built-in tools?
I have root access to a Linux system and need to log processes without installing any additional software, using only built-in tools like top. However, I want the process to run in the background ...
1
vote
1
answer
150
views
Tool to record process network usage over time
I'd like to have a record of which processes are using the network and when on my Linux server. Most tools I see (nethogs, iftop, etc.) are designed to only show what's happening right now on the ...
1
vote
1
answer
133
views
How to find the parent process of child processes causing heavy IO
I would like to find the parent process for a large amount of small child processes performing small IO operations.
For example, consider the following python script:
import os
import time
import ...
0
votes
1
answer
264
views
How to record packet/frames data without a pcap header
I'm trying to capture raw/binary Ethernet traffic from my interface, so I can parse it using C. I don't want to parse any PCAP headers. I would prefer without the preamble and end bytes, but it's okay ...
-6
votes
1
answer
450
views
What is a value range for filesystem efficiency for btrfs with copying a file between directories? [closed]
There is no basic tool for Linux distributions for getting data rate or summary of data input/output for a directory (on a Linux filesystem).
What is the percentage difference between a listed file ...
1
vote
1
answer
198
views
Is there a reason why sar would show different monitoring statistics on memory than other monitoring tools like dynatrace?
I'm currently investigating why I didn't get notified about a high memory utilization on one RHEL server from dynatrace. When checking the graphs of memory usage, both sar and dynatrace show different ...
0
votes
1
answer
1k
views
MT7601U Adapter in Linux - Monitor Mode Enabled, but Unable to Capture Handshake or Discover Devices
I'm facing an issue with my MT7601U network adapter on Linux. Although I've successfully entered monitor mode, I'm encountering difficulties capturing handshakes and discovering devices in the network/...
0
votes
1
answer
551
views
Kali linux monitor mode [duplicate]
I'm new to Kali Linux, in theory my laptop suports wifi monitor mode (Microsoft Network 3.4) but when i installed kali linux (pre-built) on VirtualBox and went through the options it was not showing ...
1
vote
0
answers
30
views
Determining cause of recurring external SSD data transfer with goal of preventing it
The LED lights for an external SSD connected via USB to a Linux Mint box indicate data transfer every 00:06:15 (6 mins 15 secs), despite no user applications (and possibly no processes) accessing the ...
1
vote
1
answer
283
views
Searching for tool to remotely monitor systemd services
I'm searching for a tool to remotely monitor systemd services. This would be used to monitor an embedded device running Linux 5.15. Access to device would be through network interface.
There is access ...
0
votes
0
answers
123
views
Running Linux commands execute hidden command to regenerate Backdoor
My CentOS server compromised, the backdoor uploaded in /var/www/html/, I have deleted the backdoor and browsed the backdoor - to be sure it's deleted - it's surly deleted, but when I run any command ...
0
votes
3
answers
65
views
Monitoring 100+ services
I have got a lightweight service like 2MB binary, that runs on user units but I have running like 120 similar services but using a slightly different config on each service.
I would like to monitor ...
0
votes
2
answers
7k
views
How to check if a web server is reachable in Linux?
I want to poll every few minutes if an external web server is reachable from the Linux server.
Assume the server is 10.20.30.40.
I'm following this guide.
https://www.baeldung.com/linux/hosts-network-...
0
votes
1
answer
120
views
Persistent atop across reboots
atop shows total CPU time since the last reboot. How can I have it persist across reboots?
2
votes
2
answers
569
views
What is the meaning of BAT○ in btop++?
On top (of the default layout) I have the CPU graph box. The title line of this box says on the left : "cpu", "menu", "preset 0", and on the right : BAT○ 98%, and 2000ms.
...
0
votes
1
answer
2k
views
intel_gpu_top output - two values for frequency and power consumption
In intel_gpu_top 1.27.1 CLI output, contrary to previous releases detailed in Get output from intel_gpu_top as variable in bash there are two values for each of frequency and power:
intel-gpu-top: ...
0
votes
1
answer
46
views
Gather CPU utilisation or different workloads
I am trying to figure out for different workloads (CPU intensive, high DB IOPs etc), which compute series of cloud VM would be ideal.
In order to do that I need to be able to get the CPU utilisation. ...
0
votes
0
answers
103
views
Tool for monitoring kernel driver messages? What are the options?
I'm working on a kernel-level device driver that sends requests to an underlying piece of hardware. Those requests have a fixed length and a given layout (including multiple fields with encoded values,...
0
votes
0
answers
145
views
Could nmap local network scan affect network general speed and/or performance?
For the past few days I've been trying to monitor my local network to look for new device connections. At first I thought of arpwatch, but if I'm not mistaken, it is worthless if not running on the ...
0
votes
1
answer
401
views
Show I/O rates of all processes in htop?
htop 3.2.2 running as a regular user only shows I/O rates (IO_RATE/IO_READ_RATE/IO_WRITE_RATE) for some processes and "N/A" for others.
Running as root shows I/O for all processes.
How can I ...
0
votes
0
answers
116
views
Cumulative CPU time across reboots
How can I record and view cumulative CPU time on system across reboots? Essentially, it should be like the TIME+ column of top, but not per process. In other words, like vnstat, but for CPU time. I am ...
0
votes
1
answer
415
views
GPU usage monitor for FreeBSD?
I am using FreeBSD on a personal desktop computer, and a nvidia GTX 1650 GPU.
In my gnome system monitor (similar to task manager of MS Windows), I am able to monitor all the resources, including all ...
0
votes
1
answer
215
views
What is the best way to monitor a folder and dynamically symlink items into a different folder?
I have a second hard drive which has the following structure:
$ tree -L 1
.
├── Documents
├── Music
├── Pictures
└── Videos
I want to monitor these folders for changes and, if any, create a symlink ...
0
votes
1
answer
47
views
Alert for centos7 kernel update
I would like to know how to set an alert on our monitoring tool, Whenever there is an update availbale for centos7 kernel version in Redhat site or in centos site..
0
votes
2
answers
110
views
How to monitor an offline linux and export the data from time to time
I have an offline system (a robot running Ubuntu, not connected to any network) I want to monitor the resource usage over time (mainly CPU and memory). I am used to Influx and Prometheus and i was ...
1
vote
1
answer
524
views
How to spawn a user screen in a docker container?
runsvdir: UNIX init scheme with service supervision from runit is a nice tool to re-run some service(s) if it dies. It monitor a directory for changes, inotify like. It execute scripts in directories ...
1
vote
0
answers
1k
views
prometheus node exporter sockstat
I'm looking for the meaning of the node_sockstat_TCP_mem_* metrics.
The output of the node exporter describes them as follows:
# HELP node_sockstat_TCP_mem Number of TCP sockets in state mem.
# TYPE ...
0
votes
1
answer
593
views
Is there a simple method to check file changes in subfolders?
Is there a simple method to check file changes in subfolders?
I have folder SSLcerts with subfolders SiteNameXYZ. Every subfolder consists pack of cert-files.
Ideally, I need a script that will ...
1
vote
1
answer
3k
views
Monitoring packet loss simulated with tc
I found an interesting article that describes how to simulate network issues (like lost packets) on a linux server.
On an Ubuntu test VM, I checked which interface is used for internet connectivity, ...
0
votes
0
answers
417
views
powertop doesn't give estimate
Running powertop 2.8 doesn't give power estimate.
It is a battery powered device (not a laptop though).
Have run powertop enough number of times. (how many times is enough
though?)
Host OS: centos 8, ...
0
votes
0
answers
50
views
how to monitor servers properly with nagios?
Currently, I'm using nrpe to monitor clients using Nagios but when nrpe goes down then all the stat goes to an unknown state which causes it difficult to monitor critical alerts...
What and how should ...
2
votes
0
answers
836
views
Is there a GUI linux application that shows per mounted disk i/o transfer rate in a graphic?
Is there a GUI linux application that shows per mounted disk i/o transfer rate in a graphic?
(Like gnome-system-monitor do for the swap mount but for each mounted drive)
I'm looking for an application ...
0
votes
1
answer
350
views
How to NOT append nohup output to a file but replace it?
Lately I needed to be able to run a script in the background and monitor its output from another machine. For this reason I was able to use this command:
$ nohup ./rsync.sh > ./output.txt
This is ...
0
votes
1
answer
1k
views
How to know which Internet domains are accessed by an app
My question is similar to this:
how to find URLs accessed by a process
I don't care about what is transmitted, but from where it is downloaded.
I need to specify to the security department which URLs ...
0
votes
0
answers
65
views
Bash Script to find the bad and good of the mahcine
I'm trying to create a bash script that at a certain time finds me a "bad", which is associated with a machine and a service.
It turns out that from that time on I wanted to find the ...
1
vote
1
answer
390
views
Conky 1.11.6 - Want to eliminate gaps above/below graphs
Environment
Debian Linux 11.5 "bullseye"
Conky 1.11.6 (compiled 2020-08-17, package 1.11.6-2)
Xorg 1.20.11 (package 2:1.20.11-1+deb11u2)
FVWM version 3 release 1.0.5 (built from git ...
0
votes
2
answers
751
views
How can I receive alerts when files are deleted or modified?
I've read through how to monitor AWS EC2 file system changes using the Linux Audit system, and that all makes sense. I've also looked through the RHEL audit system documentation. I don't want to have ...
2
votes
3
answers
1k
views
How do you monitor remote file system on Linux?
My business purpose is to monitor the remote file system on Linux, and if there are any new files, SFTP them to another machine and delete them.
However, the limitation is that I cannot install any ...
0
votes
1
answer
5k
views
How to connect to wifi after toggling the wifi card into monitor mode
After running (1)sudo airmon-ng check list and (2)airmon-ng start <Iface>. I cannot come back to the original managed mode of the wifi interface. I am currently using: Kali 2022.3.
(1). Kill any ...
1
vote
0
answers
254
views
hwmon "refresh rate"? how often are sensors read?
I'm trying to understand how often hwmon attributes/sensors are read/updated. A hwmon driver can have the HWMON_C_UPDATE_INTERVAL attribute, but it looks like that is just a way to expose the update ...
2
votes
1
answer
361
views
hddtemp with raid controller
# hddtemp
/dev/sda: DELL PERC H740P Adp: S.M.A.R.T. not available
/dev/sdb: DELL PERC H740P Adp: S.M.A.R.T. not available
# smartctl --scan
smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/...
0
votes
1
answer
31
views
Specto Missing from Debian 11
I once had this package called specto, that would monitor a website for changes. Now, it seems to be missing in Debian 11:
▶sudo apt install specto
Reading package lists... Done
Building dependency ...