Obtaining real-time values of system parameters or events (processor load, server responsiveness, intrusion attempts, …), or getting alerted when certain events happen

learn more… | top users | synonyms

0
votes
1answer
34 views

How to Find Non-Responding Applications in Linux

I'm looking to migrate a monitoring script from Windows (Powershell) to Linux (Shell script). One of the things I check in Windows is whether an application is 'Not Repsonding'. (e.g. Open Task ...
2
votes
1answer
262 views

iotop showing 1.5 MB/s of disk write, but all programs have 0.00 B/s

I don't understand iotop output: it shows ~1.5 MB/s of disk write (top right), but all programs have 0.00 B/s. Why? The video was taken as I was deleting the content of a folder with a few millions ...
0
votes
0answers
48 views

Linux, LAMP, & Nagios server

as i'm somehow new in linux, and i'm required to install a monitoring system to our company using CentOS7 with LAMP & the monitoring Application NAGIOS. after installation everything goes well, ...
0
votes
2answers
34 views

How to find out contention

I'm looking for an easy tool, to graphically show the amount of resources being used realtime. Something like htop but with disk IO, memory and network usage as well. I tried ganglia and the fact ...
2
votes
1answer
95 views

Is there a way to detect whether a screen is in on/off/standby mode from within Linux?

The screen in question is HDMI. The power off/on action is initiated by clicking on the on-screen capacitive button. I just need to know if there is a way to get events like "now the screen is on", ...
1
vote
1answer
47 views

Linux - wrapper to monitor an application's file access?

Are there any user-level wrapper-like scripts/programs that can watch what files an application accesses, without impacting performance? I'm trying to capture what files are produced by an automated ...
2
votes
3answers
99 views

How to list all linux processes that had any network activity during some period of time (past or future)?

I'd like to know which processes use the network: To inspect if any unknown to me (and potentially malicious) programs on my system use the network; To learn the amount of network traffic by the ...
2
votes
1answer
207 views

Zabbix claims that HTTP service is down

I'm configuring Zabbix to monitor our servers. Zabbix is new to me. It is up and running, and monitoring works for some services. One of our Centos servers has http running, so it seems logical to ...
0
votes
1answer
38 views

Accounting of filesystem accesses

Is there any way to keep track of number of times each file system is accessed through system calls? I know that the super block will contain the details about the file system. But how can we access ...
1
vote
2answers
265 views

See progress in Files (Nautilus)

I am trying to copy a directory containing multiple subdirectories and files to an external drive. It is taking a long time (24+ hours). I copied in Files on Fedora 23 instead of cp -v on the ...
0
votes
0answers
18 views

How to monitor system, Database Query Values, and the Existance of Files?

I was looking through an old system today, and it had this monitoring software that could send out email alerts. It's very old, but it still seems interesting and useful. It allowed for monitoring ...
1
vote
3answers
86 views

Bash script to monitor server security?

I am using a shared server at HG and I want to automate a bash script that will run hourly once and notify me to my gmail account with details of authorized/non-authorized users who have logged into ...
4
votes
2answers
256 views

Monitor a program's I/O

I have a program which spawns several child processes. I want to know which files this program and its children are creating, deleting, and modifying. inotifywait can tell me which files are being ...
1
vote
1answer
13 views

What is the proper way for a sysadmin to be notified about each user connection and disconnection?

In order to watch a machine, I'd like to be notified for example by e-mail each time any user connect to or disconnect from the machine (even root)? It is a Linux machine, but I am also interested if ...
0
votes
1answer
39 views

SystemTap simple demo fails - Ubuntu 14.04

Started learning SystemTap using RedHat's manual. Here is the example I'm trying to run. While executing stap open.stp I got the error: [root@ror6ax ~]# stap open.stp semantic error: while resolving ...
0
votes
1answer
193 views

Files getting reverted to older version

One of my site was infested with malware once and since then I am seeing every alternate day the header.php files are getting reverted back to older versions (possibly by a script) and a malicious ...
2
votes
1answer
56 views

How would I monitor the running i/o statistics of an application?

In windows I find it incredibly useful to monitor total I/O read bytes to give myself an idea of how long a command line process is taking/will take to execute a task. For example, for capinfos: ...
5
votes
3answers
685 views

Show network connections of a process

There is a way to show the connections of a process? Something like that: show PID in which show is a command to do this, and PID is the pid of the process. The output that I want is composed by ...
1
vote
1answer
57 views

How do I read from a Serial Port, without using up its resource?

My boss at work needs to be making a monitoring app for a program they are using. Because of their business needs, I can NOT use any sort of virtual serial port. The data goes in and out of ...
0
votes
0answers
39 views

How do I program a serial sniff that does not redirect data to a different serial port

I need to make a monitoring application for a friend of mine. The thing I need to monitor is a hardware device's program on a Raspberry Pi. However, the program I need to monitor is hardwired to only ...
0
votes
0answers
91 views

Per-process monitoring in cacti

I've read in some question that you are performing a per-process cpu/memory monitoring with cacti. Could you point a how-to I can use to get the same? Many thanks in advance.
2
votes
2answers
68 views

Run and stop a monitoring command as sudo for s seconds every m minutes

I want to run sudo airodump-ng -w myfile every ten minutes or so, for m minutes. It does not matter if the running time shifts (that it, if it runs m minutes later each time). Notice that this is a ...
2
votes
3answers
174 views

How to find out the process(es) that forks a lot?

Recently I got an load-too-high issue on our server. I watched top for like half an hour to find out that it was Nagios that forked a lot of short-lived processes. After bouncing Nagios, everything ...
0
votes
3answers
43 views

Run several commands together, finish if one of them exits?

I have several commands that I run continuously during development of my website - Django development server, SCSS->CSS compiler in "watch" mode and so on. I want to have a convenient command to run ...
2
votes
0answers
405 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 ...
0
votes
0answers
32 views

Monitoring dashboard for a custom application, should also allow custom actions

I have a custom application, for which I need a dashboard which will monitor the application (show if the application is up/down) and allow an operator to start/stop the application from the ...
3
votes
4answers
132 views

How to link a log file to /dev/null and restore the space used automatically

I have a logfile which grows huge. The information that I can get from it is negligible. I want to link it to /dev/null. However, even if it is "deleted" (see below the output of lsof), it consumes ...
0
votes
0answers
36 views

Install orca on redhat

Has anyone successfully installed/ran orca (a performance monitoring tool for Solaris) on Redhat? I see some old posts asking about it but there have been no responses. ...
2
votes
1answer
49 views

Is there a brief way to view the top resource usage(CPU, memory or even bandwidth) of a program after its running?

I know I can use top to view the overall real-time CPU & Memory usage, and nload for overall real-time bandwidth usage. But I wish to view the maximum(or average) CPU, Memory, & bandwidth ...
1
vote
1answer
94 views

How to integrate daemon scripts with sensu?

I have some daemon scripts that run in an infinite loop that do some action if a detected node has failed. For example; in AWS to move an Elastic IP. How can I integrate this script that runs in an ...
2
votes
0answers
29 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 ...
1
vote
1answer
81 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...
5
votes
4answers
214 views

How do see the memory used by a program in ubuntu?

How can I see the raw memory data used by an application ? Like , suppose I have a file name something.sh . Now I run the command ./something.sh , and then I want see all the data its accessing in ram ...
4
votes
3answers
1k views

Log monitoring using shell script

I would like to monitor a log file for errors and then send an email to administrators. The log file contains data like below 11 Aug 02:30 Service1 restarted 11 Aug 05:35 Service1 restarted 11 Aug ...
0
votes
1answer
82 views

server monitoring / intrusion detection for home NAS

I'm looking for some kind of monitor or intrusion detection to monitor my NAS. The following things I would like to monitor: Incoming network traffic (source -> Router -> NAS) from another country ...
1
vote
2answers
107 views

Monitoring CPU usage by user

I'm looking for a tool which monitors the CPU usage (or CPU time) of all real/logged-in users and which provides some kind of graphical representation of the accumulated data, e.g., a graph of CPU ...
1
vote
0answers
88 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 ...
4
votes
2answers
231 views

Stop writing to a capture file after it reaches a specific size

I'd like to monitor my network traffic of an specific interface to file. Then I would like to stop the interface if the traffic counts over 60mb total. Is there a possible way to do that?
5
votes
1answer
201 views

Running Deamon Involving GPIO on Pi

I have a daemon that monitors various things using the GPIO ports. I have used python to write the code for this using the RPi.GPIO module. I would like to ensure that the daemon is always running, ...
2
votes
1answer
37 views

Log when program is run

I am running a "kiosk" computer - one for general use for anybody in the room - and I want to know if anyone is actually using it. Is there a log that tells me when firefox, chromium or other ...
2
votes
3answers
171 views

Monitor processes trying to access non-existent file or directory

We're moving websites from one server configuration to a new configuration and the websites will live in different paths than previously. We're planning to diligently go through and replace old paths ...
1
vote
0answers
179 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 ...
0
votes
1answer
1k views

Cannot add host to icingaweb2

I installed Icinga2 and icingaweb2. I have the dashboard, view of hosts, services, etc. I can log in, log out, etc. Ok, now I want to monitor something. So I added a host to ...
1
vote
2answers
90 views

Is there a good resource monitoring tool in linux?

I've been looking for a good resource monitor in linux for a couple of hours and all I have found is conky. Specifically I've been looking for something to monitor my core clock speeds. I've found ...
3
votes
1answer
148 views

Resource (CPU time and memory) limitation and termination of a process upon violation in Linux

The problem: Given a process, limit the resources it and its child-processes can use. I.e. set CPU time and virtual memory quotas. When the process group exceeds one of the limits, terminate it, ...
0
votes
0answers
41 views

Monitor application usage over time

I would like to monitor over time: the number of times applications are launched the time duration of the process the commands I have launched in the shell This is so as to have a rough estimate ...
2
votes
1answer
46 views

Is there a process logging tool for solaris?

Is there an existing tool for solaris/unix that keeps a history trail of the list of running processes. I'd like to be able to review backwards in time what processes were active/running. I can ...
-1
votes
1answer
52 views

Monitor Cpu & Ram Uasge Via Web

Sorry about that newbie question. But does anyone know how to make or where to find a script that will monitor CPU and ram usage, so i will be able to use it at my admin panel on web? I'm running a ...
4
votes
2answers
245 views

how to execute a script everytime any USB get mounted

I use a script that writes all mountpoints of my devices to a textfile using df. How can I execute my script everytime any device (especially USB) is mounted? script to execute: #!/bin/bash # save ...
0
votes
1answer
199 views

CentOS 6 apcupsd Trouble Shooting

I'm having issues with the recommended UPS monitoring software apcupsd. It installed ok but when I run it and check the error messages it is getting spammed with all these messages and doesn't seem ...