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
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 ...
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
0answers
12 views

CPU/RAM/Disk statistics similar to vnstat

Is there any application similar to vnstat, but for monitoring CPU usage (0-100%), number of active process, ram usage, active disk IO count/bandwidth on CLI basis? but I don't want something that ...
1
vote
0answers
36 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 ...
0
votes
1answer
106 views

to check the url is live [closed]

I have written a script to check if our three URLs are up else echo down. Now the problem is, even if the URLs are down in that script, I get the message "URLs are up" In the code I have greped 302 ...
1
vote
1answer
792 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 ...
0
votes
1answer
2k 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 /etc/icinga2/conf.d/hosts,...
1
vote
3answers
572 views

Is there a way to find out which webpages are being accessed by clients on a UNIX webserver?

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file. Is there any way to view the pages that ...
4
votes
3answers
2k views

Any way to list wireless clients in range

I'm looking to see whether it's possible to implement a staff 'in office/out of office' facility by tracking the active wifi (phones/tablets/laptops) in the building. Is it possible to return a list (...
4
votes
2answers
2k views

Is there a way to get “top” to run exactly once and exit?

I find the output of the shell command top to be a simple and familiar way to get a rough idea of the health of a machine. I'd like to serve top's output (or something very similar to it) from a tiny ...
44
votes
8answers
64k 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 ...
2
votes
1answer
2k 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 'smtplib.SMTPServerDisconnected'&...
1
vote
2answers
34 views

How can I log how often a file is modified on OS X?

I would like to know which files in my system I access most often, as a gauge of how important they are. I know the OS records the last time the file was accessed. Is there someone way to log in a ...
1
vote
2answers
653 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: ...
3
votes
1answer
64 views

How to tell whether a process is network I/O intensive or not in user mode in Linux?

I am currently writing a program in Linux which needs to tell whether a specific process is network I/O intensive or not at runtime. I have tried some tools such as iotop and iftop, but none of them ...
1
vote
1answer
26 views

How to bypass route path filtering (for ping)?

I know asymmetric is wrong and I do not want to use it. But on the other hand I have Linux server having multiple interfaces (prod, backup, interconnect) and I want to monitor them all - via ping for ...
1
vote
1answer
44 views

Will these commands return the same output on different Linux distributions? [closed]

I am writing a monitoring script. I am running it on a specific machine, and it works. It is planned to be ran on several Linux machines, not bound to a single distribution. Here are the commands and ...
3
votes
1answer
478 views

Script to send mail if there has been no entry in a log file for a certain amount of time

I am new to shell scripting. How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
0
votes
2answers
91 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 -...
14
votes
5answers
45k views

How to monitor incoming http requests

How can I monitor incoming HTTP requests to port 80? I have set up web hosting on my local machine using DynDNS and Nginx. I wanted to know how many request are made on my server every day. Currently ...
0
votes
1answer
64 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
3answers
140 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
236 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 ...
1
vote
1answer
22 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
42 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 /home/user/...
0
votes
1answer
43 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
66 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 ...
8
votes
3answers
93k 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
2answers
155 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
1answer
36 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
56 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
60 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", ENV{...
9
votes
5answers
19k 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
0answers
13 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
39 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 ...
1
vote
1answer
47 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
21k 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
14 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
86 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.
6
votes
4answers
8k 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
16 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
3k 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
35 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 ...
0
votes
1answer
50 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
62 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
47 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
32 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
45 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 /...