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

0
votes
0answers
29 views

How to stop nagios from initially pulling a report?

I work with the nagios webapp with a rather large number of machines; so many in fact that when I pull up the report window the window times out when it does it's inital "today" query. If I'm fast ...
2
votes
0answers
169 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 ...
0
votes
1answer
33 views

Debug possible SSL/TLS problem?

I'm running into a couple networking issues which I suspect could be related to SSL/TLS, but I'm not sure how to go about confirming that that's the case. The main problem I'm having is I'm unable to ...
0
votes
1answer
30 views

Hide / ignore the packets you are creating in iptables firewall when connected with ssh into a Linux machine?

If I'm using SSH to remote into a machine and I'm running a command like: sudo iptables -L -v -n how do I get a packet hit count that excludes the packet traffic I'm creating by using SSH? I mean I ...
1
vote
1answer
436 views

Monit alert/exec when host is back to normal

I use Monit to quick check uptime of Elasticsearch service. Here is my configuration: check host [Elasticsearch]-test with address 1.2.3.4 if failed port 9200 protocol http ...
1
vote
1answer
79 views

Using one PC on LAN to monitor traffic usage on other PC's on same LAN

I have a cisco epc3825 cablemodem that provides internet to a number of PC's via Wifi. I'd like to add Linux PC on the LAN to monitor traffic usage on all PC's on the same LAN. Is this possible? Would ...
1
vote
0answers
673 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 ...
0
votes
0answers
1k views

monit and run script

I want monitor MariaDB with monit tools. my monit script is : check process mariadb_pid with pidfile /var/lib/mysql/db1.pid check program telnet with path "/root/telnet.sh" if status eq 99 then ...
2
votes
0answers
70 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
1answer
172 views

systemd shows as reading 300M in atop?

I just installed atop, waited half an hour, and looked at the logs with atop -r /var/log/atop/atop_20180216. Why does my systemd --user instance show hundreds of megs of disk usage, including tens of ...
0
votes
0answers
3k views

Error for wireless request “Set Mode” (8B06) “tl-wn821n”

I'm trying to put my adapter in monitor mode, but occurs the error: Error for wireless request set mode. iw list | grep "Supported interface modes" -A10 Supported interface modes: * IBSS ...
1
vote
1answer
728 views

How can I monitor load average CPU other servers via monit tools?

How can I monitor load average CPU other servers via monit tools? this example shows the only localhost. check System my_server if loadavg (1min) > 4 then alert if loadavg (5min) > ...
0
votes
0answers
138 views

zabbix template mysql (800+item)

I use this template. template-mysql-800-items when i send parameter by this command zabbix_sender -z zabbix -s db1 -k mysql[innodb_queries_inside] -o 100 -vv On zabbix server i can see result. ...
0
votes
2answers
46 views

How to measure IO/disk usage of a program

I am looking for a way to get total disk access of a program, ideally something like time(.) command that reports back disk read/write of the program.
0
votes
1answer
446 views

zabbix_sender error

What is the meaning of this error? [root@db2 zabbix]# zabbix_sender -z zabbix -s zabbix -k mysql[Threads_running] -o 100 -vv zabbix_sender [55944]: DEBUG: answer [{"response":"success",...
0
votes
1answer
615 views

Confused about using the Zabbix Template MySQL (800+ items)

Please explain the full use of this template.link template I searched very much on Google, I have configured as described but i can't use this yet. Can you fully explain? i have two centos 7. zabbix ...
2
votes
0answers
293 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 ...
0
votes
1answer
97 views

Monitoring tool installation without root/sudo privileges and no compilation

I originally planned to use zabbix as a monitoring tool but I found out that I can't use it because it requires root access, and I can't make the compilation either due to the client and security ...
1
vote
1answer
87 views

How to monitor an already running application in a new Bash Terminal window? [duplicate]

An application is already running without command output, only GUi. How can I grab the application's command output from a new terminal window? Another application is already running as CLi, but I ...
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
votes
1answer
29 views

Monitoring folder and compile [closed]

Monitoring the folder and when the .CPP file arrived inside the folder then automatically compile the program in ubuntu can anyone help me to solve this problem please?
0
votes
2answers
238 views

Best way to monitor changes in filesystem in a server

Recently I have an attack to one of my servers. Apart from harden the security measures at place, I am planning to install a tool to monitor changes in the filesystem. I want a free tool (no cost) ...
-2
votes
1answer
50 views

Notifying myself thtat my webapp/website is down (Nginx environment) [closed]

I have an Ubuntu 16.04 xenial Nginx server environment with postfix and a few webapps under /var/www/html. How could I notify myself by my an email sent to my personal Gmail account, if my site is ...
1
vote
2answers
7k views

Disk I/O per Process

I want to check which process taking highest I/O. To be exact I want to check which process doing the highest write operation and how much. I know there are some tools like iotop. But as I have to ...
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
143 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 ...
4
votes
1answer
1k views

Figure out which process forks too many threads

I have a process in a Linux installation that at some point has some kind of spike and passes the max allowed number of threads/processes allowed by the system. I found this by checking ps -elfT | wc -...
0
votes
1answer
42 views

How to monitor/remove dowloaded movies and music from network storage? [closed]

I am looking for some solution to remove or list all movies that are dowloaded on our network storage. We are running short on free space and I noticed that a lot of people started downloading movies ...
1
vote
1answer
563 views

How to get network and disk usage per process

How to get network and disk usage and ram and cpu utilization per process in simple command?
1
vote
0answers
13 views

How Can I Pull Events (One At a Time) from an Active Log File? [closed]

I have a log file which is populated on a Linux system (for which sudo privileges are available). The log file is populated automatically and erratically with either one event per write or numerous ...
1
vote
0answers
180 views

Error using monit to monitor mosquitto, grafana and influxdb [closed]

I've setup monit to monitor Mosquitto, Grafana and Influxdb. However, I'm getting the errors when monit starts up: root@TB-IOT01:/etc/init.d# monit reload /etc/monit/monitrc:218: Program does not ...
0
votes
0answers
119 views

Memory Usage to CSV file

I am doing some calculations and want to monitor the RAM usage of different approaches to compare them. This means, that I want to monitor the ram usage of one single process over a time frame of ...
0
votes
2answers
90 views

Memory resouce monitoring program

How to write a shell script to filter out the %Mem consumption of some process like Mozilla Firefox and LibreOffice Writer. Both values need to sum up.
2
votes
2answers
69 views

How to record the maximum size of a folder?

Packages are unpacked and compiled on a test system in /tmp/test. I need to get the maximum size the directory had at any moment during all these steps. At the moment I help my self by recording the ...
1
vote
0answers
120 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
2answers
1k views

How would one monitor Swap usage?

I want to know if the Swap is used at all. free shows the usage of the memory: # free total used free shared buff/cache available Mem: 1362084 169864 ...
1
vote
1answer
74 views

network etiquette, pinging, network connectivity and DDOS

I have a somewhat painful net service provider. In order to mitigate the issue, I usually use something like $ ping debian.org which basically goes ad infinitium unless I break it via CTRL+C I ...
0
votes
1answer
61 views

Monitoring suspicions writing on disk

I'm looking for a monitoring service which look for suspicious writing on disk. Let's say that I have a PHP/Ruby/Python website running on my server, and there is a vulnerability on my website. An ...
1
vote
1answer
113 views

How can I detect time of last harddisk/samba or zfs activity for a ifplugd like action?

I have built a little NAS-like device on armbian, that uses external harddisks for its file serving purposes. The (hardware) interface only provides a reduced SATA-command set and overrides some APM/...
0
votes
0answers
88 views

paplay doesn't play in genmon (Generic Monitor) script

Am I right that paplay doesn't play sounds in genmon (Generic Monitor) script? How to generate sounds in genmon script? I prepared a script for genmon plugin in my stretch debian xfce #!/bin/bash ...
1
vote
2answers
552 views

How may I watch for the creation of a particular “trigger file”?

I need to create a shell script that executes an application when a file called start is created in a particular directory. How may I write a shell script that waits for the creation of a file with a ...
4
votes
2answers
1k views

How to detect process's highest cpu usage during it's life

I've written some multi-thread test, and now I want to be sure that the highest CPU usage of this test is equal to 100 * CPU_NUMBER of current machine. Is it possible to do? UPD 0: I'm talking about ...
0
votes
1answer
531 views

mdadm RAID monitoring on Debian

I tested mdadm software RAID on a Debian 9 virtual machine. I migrated to RAID myself (i.e. didn't rely on the installer). It works nicely, and dpkg-reconfigure mdadm even offered to set up monthly ...
3
votes
1answer
2k views

How to use Monit Environment variables?

According to Monit link : No environment variables are used by Monit. However, when Monit executes a start/stop/restart program or an exec action, it will set several environment variables which ...
0
votes
1answer
425 views

How can I launch glances when installed as a python package in the home directory?

I installed glances as a python package in the home directory: pip install --user glances How can I launch glances? [me@server]$ glances -bash: glances: command not found
1
vote
2answers
130 views

Is it possible to get a PWD column in top output?

I know about pwdx, but it would be really nice if top showed the PWD: in other words, I want to see PWD and CPU/mem usage side by side. Does anyone have a script or one-liner to combine the output ...
1
vote
1answer
82 views

How can I see which processes upload/download how much data? [Debian 9]

So I'd like to gain some insight into which processes (incl. daemons) upload and download how much data on my Debian 9 machine. Sadly the System Monitor does not display such information. I'd prefer ...
1
vote
1answer
464 views

How to measure disk and network IO more frequently than a second?

I am running some experiments that use cpu, disk, and network resources. (by the way, I use Cent OS 7) I want to measure its cpu, disk, and network resource usage. Some tools I know (dstat, iostat) ...
3
votes
1answer
263 views

Why are there “skipped” temperature entries in the SCT Temperature History output?

To take a look at the temperature history in on my SSD, I used the smartctl -l scttemphist command. The output says that it is skipping lots of entries. Why is it doing this? I don't think that it ...
1
vote
1answer
24 views

Script to test staging server statuses

I am just trying to write a script to test the staging server statuses for my organization. What I am looking is to add a loop in the script, that checks all the server status and alerts us by an ...