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

7
votes
0answers
49 views

How can I see queries to gpg-agent?

I am using gpg-agent together with a Yubikey to securely store my GPG keys. In addition I've enabled so that whenever a authentication, sign or decryption request happens I must physically push the ...
3
votes
0answers
507 views

Nagios - Help with getting NRPE to work with check_fail2ban.sh

I am trying to monitor fail2ban with Nagios so, I found the following check via a Google search: http://nagios.fm4dd.com/plugins/manual/check_fail2ban.htm I am trying to get the check to work on a ...
3
votes
0answers
2k views

How to capture tail -f output from remote host indefinitely

I am trying to monitor a remote, embedded host that is writing output to a file: /var/log/myapp.log This host may lose power for hours. The app may be killed and restarted. On my local machine, I ...
3
votes
0answers
767 views

Program like vnStat that filters for only external (Internet) traffic

I've been using vnStat to monitor the ethernet interface on a Linux computer, but found that it includes all local traffic. I do many file transfers from within the subnet which far exceeds the ...
3
votes
0answers
2k views

How can I monitor the interactions of an application with dbus?

I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing on just one application. ...
3
votes
0answers
851 views

Monitor the creation of new processes

I want to get a notification whenever a new process is created. I've tried to use inotify on /proc, but it didn't report any event even though a new directory appeared in /proc. I could list the /...
3
votes
0answers
434 views

monitor running services and ports

What is the best way to monitor running services and ports on a system with systemd? My intent is to alert me, when a service stops running or if a new service is listening on a new port (possibly a ...
2
votes
0answers
33 views

Run Command When IO Load Average is Low?

I have a bash script which calls an external program I cannot modify. The first stage of this program uses high IO and the second stage uses almost no IO, instead it uses a lot of CPU, it does not ...
2
votes
0answers
168 views

What is “cooked mode” wifi monitoring?

The following is an excerpt from iw's help page: dev <devname> set monitor * Set monitor flags. Valid flags are: none: no special flags fcsfail: show frames with ...
2
votes
0answers
68 views

Available disk space drops, while used space stays almost still

Recently I found out that on one of my servers (Ubuntu 16.04) I get significant drops on free disk space, at nights: zooming to the last 1h (from right now): one can see this happens abruptly. Just ...
2
votes
0answers
290 views

How to make strace keep following children after the death of the father/mother:))?

I use this command to trace all the things that are done or started from a shell. sudo strace -e trace=memory -o outm -ff -p <the pid of the terminal instance I want to trace> -f But the ...
2
votes
0answers
220 views

Hardware monitoring on AIX 6.1

We are currently trying to setup and hardware monitoring on AIX 6.1 so that we can interface it with our hypervisor, namely Zabbix. Regarding the detection, I could make up something within a script ...
2
votes
0answers
42 views

Investigating annoying short UI hangs

I just bought a new desktop machine for home (see system details below). It's supposed to be super smooth, but nevertheless I'm experiencing quite frequent UI 'stutters'. It's as in the olden days ...
2
votes
0answers
971 views

Monitoring serial port data between virtual ports

I have a problem with monitoring data transferred between 3D printer and software over TCP. I have 3D printer that is connected to Raspberry pi with usb cable. I'm using ser2net in rasbperry to ...
2
votes
0answers
309 views

How to monitor an HP-UX server for OS or hardware specific problems

It has been a while since I have last dealt with an HP-UX server. Therefore, my memory is not too fresh and I want to consult the public wisdom for this. I have a task at hand to come up with a ...
2
votes
0answers
218 views

Collectd only midterm

I'm using collectd to monitor the status of my server. In my plugin LoadPlugin load, it sends out 3 values: .shortterm .midterm .longterm Is it possible to filter out .shortterm and .longterm so it ...
2
votes
0answers
481 views

htop showing less memory usage

I'm currently trying to benchmark performance improvements when using a RAM disk. So I've been giving my VM 24 of the total 32 GB RAM, and created a 16GB RAM Disk inside. It's beeing used, ...
2
votes
0answers
531 views

Why nvidia-smi's GPU so rarely reaches 100%?

I have logged the GPU utilization of my 3 GPUs (GeForce GTX Titan X) for 5 days with nvidia-smi, every 10 seconds. The GPUs were all being utilized: I count 1307 occurrences of 99 % while only 8 ...
2
votes
0answers
458 views

Per-user GPU usage on a Linux machine (CUDA)

I use the CUDA toolkit to perform some computations on my Nvidia GPUs. How can I see the per-user GPU usage on a Linux machine (CUDA)? nvidia-smi doesn't seem to contain information: I am aware I ...
2
votes
0answers
1k views

Collectd: How to sum cpu-user and cpu-system metric

I have the challenge to feed some metrics to our central metric collection infrastructure, and one of those is the total CPU usage of the system. I'm using collectd to do so. By default, collectd ...
2
votes
0answers
45 views

Smokeping list only systems down

I'm using smokeping to monitor our 400+-systems. Everything works and functions as it should. Only i want to make a view or a filter that only shows the lines that are down, or that match a certain ...
2
votes
0answers
137 views

loggedfs crashes system with “access: Transport endpoint is not connected”

I'm trying to use loggedfs to monitor my system changes, and it works great for some time, but then, eventually, it crashes and my fish shell starting to output "access: Transport endpoint is not ...
2
votes
0answers
428 views

monitor a process by matching the full cmdline

I'm looking for a software that can monitor a process (specified as a partial string/regexp match (e.g. grepping) in its full command-line) in terms of cpu and memory usage. If any of those processes ...
2
votes
0answers
724 views

cannot set up lm-sensors propetly

I actually try to get lm-sensors to work as I wish. And my only wish is to see how the cpu is doing. (Optional HDD's, FSB and I'm open your suggestions) So I run Debian wheezy, and did a apt-get ...
1
vote
0answers
10 views

VAAPI usage monitoring

I have Intel Core-i7 8650U processor. I transcode video with ffmpeg. I take attempts to accelerate it. Now I use VAAPI codecs in ffmpeg (h264_vaapi) and vaapi rescaling (scale_vaapi) in filters. And ...
1
vote
0answers
15 views

System statistics from different utilities don't agree

I am running an Aliyun instance with 8 vCPUs to do some high performance computing, so I want to make full use of the machine. In other words, extremely high CPU usage is not a problem; instead it is ...
1
vote
0answers
25 views

can dstat sum network and disk activity?

i'm setting up a simple perf log using dstat as a systemd daemon that dumps to a csv file. i got it working but noticed that it only records what appears to be moving averages over the given interval. ...
1
vote
0answers
666 views

Prometheus and InfluxDB as long time storage

I'm trying to connect prometheus to influxdb to store data longer than 15 days. Grafana and Prometheus are working if promehteus isn't connected to influxdb. Following I posted my error and all the ...
1
vote
0answers
31 views

PMU and tracepoints

I am searching for information about the mechanism of creation of tracepoints. From this topic What are Kernel PMU event-s in perf_events list? and this blog brendangregg I've got that tracepoints are ...
1
vote
0answers
30 views

Aws how to read cloudwatch graph?

I have one instance on AWS and here is the graph from cloudwatch but those Network (in) and Network (out)? How do i calculate how much bandwidth my instance eating? They are in Bytes
1
vote
0answers
142 views

Why is `iotop` failing to show me small disk writes?

I noticed iotop is not showing me small disk writes. It completely omits them in its report. To show you what I mean, here is a little bash script: #!/bin/bash sudo echo '' # ask for the sudo ...
1
vote
0answers
119 views

auditd misses execution on some commands

I've placed an auditd rule on the jcmd command as follows: auditctl -w /usr/bin/jcmd -p x -k jvm_debug However, when I execute it, it writes nothing to log. Looking at guides and previous questions ...
1
vote
0answers
26 views

How to initiate process for a script via cronjob, monitor status, and log execution time

How to initiate process for a script that will run via cronjob, then monitor the status, and log start and stop run time. Any code snippet will be helpful... Thanks
1
vote
0answers
96 views

NSClient CheckEventLog gives no entries for id

We have a Red Hat server that runs Icinga2 with NSClient++ 0.5.0.62 to monitor some devices and services in our network. Everything works perfectly fine except for one new check I'm trying to use. I ...
1
vote
0answers
63 views

Nagios/SNMP - devices alerting when ppp/tun connections cycle

Sorry if this is a repeat. I searched, but with no luck. I'm using SNMPd on an openwrt/wr host with some ppp and tun connections. These connections get IDs in the if table, and will actually get a ...
1
vote
0answers
76 views

Graphics are NaN whereas no heartbeat was received: what could explain this?

I use ganglia to monitor my computer cluster. On Ganglia Web Interface, I sometimes have the following issue: given a node, according to the physical view and the node view, the node has sent a ...
1
vote
0answers
30 views

How can I see file events of all processes matching those with keyword in path?

How can I see file events of all processes matching only those with keyword in path ? Here is my typical usecase. I'm investigating why Docker can't authorize with 3rd-party service using credentials ...
1
vote
0answers
477 views

conntrack -E - traffic counter reporting

I'm currently in the process of writing small solution which would continuously receive output from conntrack -E command and along with some other stats, it would count/monitor traffic. The only ...
1
vote
0answers
126 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: IF-...
1
vote
0answers
85 views

Sample monitoring of ZFS using mrtg

Was wondering if anyone has a quick and simple mrtg hack to monitor a ZFS file system, thought it would be wise to ask before writing one up myself....
1
vote
0answers
164 views

Passing a parameter to a dstat plugin

I wrote a simple plugin (dstat_externalBackup.py) for dstat to monitor the filesystem free space and placed it in /usr/share/dstat and it works as intended. € dstat --externalBackup 3600 extern free ...
1
vote
0answers
82 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
1
vote
0answers
729 views

How can I get read/write instant speed of a Hard Drive using /proc/diskstats data?

I know that the proc/diskstats file presents these data columns: 1 - major number 2 - minor mumber 3 - device name 4 - reads completed successfully 5 - reads merged 6 - sectors read 7 - time spent ...
1
vote
0answers
262 views

mrtg configuration

I installed mrtg and want add CPU, Memory graphs of local machine (not router) . Traffic graphs page working properly.Tried to find tutorial how to do that but: I do not have mrtg dir on /etc to ...
1
vote
0answers
945 views

Icinga2 node wizard does not set address

We have successfully installed Icinga2 on a master server and on several client nodes. We used the new icinga2 node wizard to setup first the master and then the nodes. After the process is completed,...
1
vote
0answers
1k views

Monitoring Disk Latency

We have quite a few physical machines in our environment, yet we have no trending data over a period of time for disk latency statistics. We can easily run the standard iostat commands to see what the ...
1
vote
0answers
195 views

Tracking user CPU hours

I am looking to work out which users on our system are using the most CPU resources. to check this? So I would like to find out: CPU-hours this month, (and % of total) CPU hours this week, (and % of ...
1
vote
0answers
2k views

Why are ifconfig's rx/tx bytes reset?

I save every 30 minutes ifconfig's rx and tx bytes for a given interface (ppp) and I see most of the time a steady increase but there are lots of drops/decreased, as if ifconfig's counter was reset ...
1
vote
0answers
79 views

memory consumption alert

My VPS has reported a memory consumption alert says reached 273% and I cannot access any of my sites. But I checked on the terminal today and it does not look like a memory problem. Am I correct in ...
1
vote
0answers
215 views

Plotting data from a text file on the desktop

I want to monitor some simulations I run In a way similar to how text monitor display data. I can easily generate a bunch of text files or image files with the data/plot I want to follow. How can I ...