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
3answers
137 views

Recommendations for Free Linux monitoring tools [closed]

My Linux version is Linux 3.4.76-65.111.amzn1.x86_64 x86_64. It's AWS. These days I'm suffering from the absence of monitoring tools, processes sometimes die without knowing it. My need is simple. ...
2
votes
1answer
197 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
3k views

IBM V7000 scripts for monitoring

Hello (I'm no hard core coder:), I try to develop a script to do some very basic monitoring on an IBM SVC. My goal is to get some information about the nodes and my quroum status and then send ...
1
vote
1answer
20 views

Getting the size of an URL with referenced content

Is there a recommendable way to get the bytes size of an URL with all referenced images, CSS and javascript files (the number of bytes a normal visitor has to receive before the page has fully loaded ...
1
vote
2answers
40 views

How to execute a command when internet is back

Sometimes my wifi is connected to router but my router is not connected to internet. How can I execute a command when my internet is back (from command line)? I want to execute: mpg123 ...
4
votes
1answer
3k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
0
votes
1answer
28 views

Sensu remediation : not able to trigger client

I am a newbee to Sensu remediation i tried to restart process with custom script Senario: if my http link goes down then i use to manually run the script and start it. we moved to Sensu recently as ...
0
votes
4answers
52 views

Ensure that cron daemon stays running

If on a debian 7 server (wheezy) running in a hosted VM and an up-to-date cron daemon there is a bug so cron stopped running without obvious reason. Since this only happened once ever since, it is ...
7
votes
3answers
89k views

How can I see what processes are running?

I use Ubuntu Server 10.10 and I would like to see what processes are running. I know that PostgreSQL is running on my machine but I can not see it with the top or ps commands, so I assume that they ...
1
vote
1answer
761 views

Monitor CPU Registers

I'm looking for such tool, to see state of CPU registers, eax, ebx, ecx, edx. I've discovered cpuid: eax in eax ebx ecx edx 00000000 0000000d 756e6547 6c65746e 49656e69 00000001 ...
1
vote
2answers
154 views

Test script/program/app to check if my website is live

I just deployed my webserver using Apache in CentOS and I was wondering if anybody has any good ideas in how to check every specified amount of time if the server goes down and then I can use postfix ...
0
votes
0answers
37 views

Zabbix web install Redhat conflicts php

I am trying to install Zabbix on redhat 7 64bit. The zabbix server installed successfully with command yum install zabbix-server-mysql But I am getting conflicts with php70u with php56u when I tried ...
0
votes
1answer
35 views

How do I monitor bash_history file for manual modifications?

I am trying to create a daemon to monitor a users's bash_history file for manual modifications. In other words, if a user opens the file and modifies it, the daemon will notify this action for safety ...
2
votes
2answers
51 views

How can strace monitor itself?

I have a Hypothetical Situation. (1) Let us say we have two strace Processes S1 & S2, which are simply monitoring each other. How can this be possible ? Well, in the command-line options for ...
1
vote
1answer
49 views

udev monitor hotplug rule not running

I have setup a basic udev rule to detect when I connect or disconnect a mDP cable. The file is /etc/udev/rules.d/95-monitor-hotplug.rules KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ...
8
votes
5answers
17k views

monitoring file changes + process access to files

I would like to see what's happening in my app server folders, which files are changed by process x or which *.war files has been changed (replaced/created) in last x minutes. I am software developer ...
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 ...
0
votes
0answers
7 views

Heartbeat with no utilization nor load with ganglia

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
1answer
32 views

How to monitor system performance over time

I wrote the below script to determine how my system is holding up against various games. It checks all the vitals (GPU, RAM, and CPU) and then appends the data to a log file. Is this a reasonable ...
5
votes
1answer
7k views

What is the difference in CPU utilization between 'ps aux' and 'ps -ef'?

I use Ubuntu 12.04.1 Linux. I see a difference between %CPU and C output format of ps command for a process. It is not clearly noted in the ps man page. Man pages says: CODE HEADER ...
2
votes
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
1
vote
1answer
41 views

Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)

While an application is running, I can monitor disk bandwidth usage using linux tools including dstat. Now I'd like to know how many sequential or random disk I/Os are occurring in the system. Does ...
2
votes
2answers
2k views

How can I prevent smartd from reporting that it cannot find a disk?

I have smartd monitoring my hard drives. It works fine generally, but the following error window has been consistently popping up every 24 hours. This email was generated by the smartd daemon running ...
13
votes
4answers
18k views

List ports a process PID is listening on (preferably using iproute2 tools)?

I'm looking to list all ports a PID is currently listening on. How would you recommend I get this kind of data about a process?
1
vote
0answers
11 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 ...
2
votes
3answers
69 views

Monitoring a GPU cluster

I have 10 servers running on Ubuntu 14.04 x64. Each server has a few Nvidia GPUs. I am looking for a monitoring program that would allow me to view the GPU usage on all servers at a glance.
5
votes
4answers
7k views

Constantly check if file is modified bash

I have a file called file1 I want in a script, whenever there is a change in it, do something, a beep sound actually. How do I do that ¿? Thank you in advance
0
votes
1answer
13 views

monitor simple process output

On my system I can check a job's status using qstat: $ qstat 2048930 Job ID Name User Time Use S Queue ------------------------- ---------------- ...
7
votes
2answers
2k views

Move file but only if it's closed

I want to move large file created by external process as soon as it's closed. Is this test command correct? if lsof "/file/name" then # file is open, don't touch it! else if [ 1 -eq ...
0
votes
2answers
31 views

How to find processes which uses the most RAM in last X seconds?

Could you please help me to sort this out? I'm trying to write a bash script which will monitor ram usage (not only ram but cpu and network as well) and show me 3 processes which use the most ram in ...
1
vote
1answer
576 views

Why doesn't monit like this syntax

I am trying to setup monit for my debian server. I have a main monitrc file in /etc/monit which at the end has include /etc/monit/conf.d/*. In conf.d I have two files for my apache and mysql servers: ...
0
votes
1answer
49 views

Network monitor - delay

I am currently running Kali Linux on Raspberry Pi 2 and using it as network monitor. I have developed my own C application with libpcap and I am getting average delay on LAN about 300 microseconds, ...
0
votes
1answer
53 views

Count number of tcp connections per second

I have a service which can only handle a max of 10 requests per second and I need to monitor how often this is exceeded. I have seen various solutions with tcpdump, ss, netstat, ntop but none seem to ...
1
vote
2answers
39 views

Tracking/Monitoring Short-Lived CPU-Intensive Process on one CPU

So I've been working with this issue for some time now, and I'm having trouble finding the tools to troubleshoot this problem, which I have to imagine exist. So here's the basics of my problem: We ...
0
votes
1answer
29 views

Capture specific string and send notification every time

This is a script in bash. Here Which capture a string "ERROR: your TCP- connection is dead." from a Live dynamic log file. Here the name of a log file "TcpRcpt.log" which contain sample of a log ...
0
votes
1answer
39 views

FileSystem monitoring using a config file

I am trying to monitor filesystem space using a shell script. That script should refer a config file that has alert status constraint. The config file is as below FileSYSTEM WARNING CRITICAL ...
1
vote
2answers
44 views

How to detect which process filled up disk space

During weekend my Debian based proxy crashed due to insufficient free space. After reboot it was fine again, so on monday I went hunting for logs and/or explanations for saturday hang but I couldn't ...
41
votes
7answers
60k views

GPU usage monitoring (CUDA)

I installed CUDA toolkit on my computer and started BOINC project on GPU. In BOINC I can see that it is running on GPU, but is there a tool that can show me more details about that what is running on ...
0
votes
1answer
76 views

nagios SSL handshake

I have nagios client which gave sudden error after an upgrade. I reinstalled nagios-plugin and nrpe agent again but unable solve error. This version uses nrpe under xinetd. # ...
13
votes
4answers
717 views

Monitor hard disk activity

In a Ubuntu 14.04 server I am experiencing a massive hard disk activity which has no apparent justification: it comes as a burst, it lasts a few minutes and then disappears. It consumes system ...
0
votes
2answers
62 views

Memory usage and space disk on Solaris 11

How can I monitor Memory Usage: 33/512MB (6%) Disk usage: 4.2/20GB (23%) CPU Load: 0.01 on a Solaris 11 System? I want to make a script to monitor my desktop resources.
0
votes
2answers
117 views

Monitor and limit internet bandwidth per network client

On a linux server with dhcpd that acts as the internet gateway for all clients of the LAN: how can I monitor the internet usage based on IP/MAC address, and deny internet access if a certain bandwidth ...
0
votes
0answers
29 views

Linux system and services information

I am trying to create a process to fix machines in my organization. We have a few thousand machines and what I am trying to do is the following. A) Create a script that can create a config file ...
0
votes
0answers
11 views

collectd doesnt remove old disks

I'm using collectd on Debian. As the result of a separate problem, I removed a disk, but the disk's corresponding rrd file still exists on the system, and it could be there forever. Is it possible ...
1
vote
1answer
28 views

Connect gnome-system-monitor to another (headless) machine

This might be a shot in the dark, but I am wondering if there is a way that I can connect my system monitor on my computer to my headless box. It would be awesome to somehow use that interface ...
1
vote
0answers
32 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 ...
5
votes
3answers
656 views

On a Linux system, see how busy is file system

I want to know of a command that will show me how (currently) busy is the file system. I'm assuming there exists such a command that will show me this. With such command, are there specific arguments ...
1
vote
2answers
42 views

How much was uploaded in the last five minutes?

I do not need some kind of realtime visual status of my ethernet - I want to run my script when last five minutes I uploaded less than X. So I need to get only one number from some command. What can ...
27
votes
3answers
16k views

List the files accessed by a program

time is a brilliant command if you want to figure out how much CPU time a given command takes. I am looking for something similar that can list the files being accessed by a program and its children. ...
3
votes
2answers
120 views

How to detect and warn if a process is using 100% CPU for a long time?

Every now and then (every few days) I notice that a process is using 100% CPU. The process is avrdude started by the Arduino IDE which, under certain circumstances that I haven't been able to ...