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

1
vote
0answers
39 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 ...
0
votes
1answer
64 views

Nagios Core Acknowledgement notification (email)

Nagios Core 3.X on RHEL. I want to know how to send an email to the relevant contact group when someone Acks an alert.
0
votes
1answer
34 views

w command: same output with(out) -u option?

According to the manpage for w: -u   Ignores the username while figuring out the current process and cpu times. To demonstrate this, do a "su" and do a "w" and a "w -u". I've tried this ...
1
vote
3answers
225 views

tenshi and logfiles

I'm about to set up Tenshi in order to get important log excerpts. Everything works fine except if I add some apache2 logs, # /etc/tenshi/tenshi.conf ... set logfile /var/log/apache2/error.log I ...
1
vote
3answers
243 views

Detect process if not found then run it

I am running several process at startup using "crontab -e" @reboot tranmission-daemon && python defualt.py && python MonitorService.py But for some reason, those service can ...
-1
votes
2answers
166 views

Bandwidth Management tool

There are tools available like MRTG , Cacti etc through which we can monitor network traffic on network interfaces on a host. The network traffic flow information that is provided by these tools is ...
4
votes
1answer
747 views

how can I retrieve disk IO utilization in percents on HP-UX

I need to collect data about disk utilization for selected disks. I can use glance-plus monitoring tool to display the current data in percents (it looks similar to top), but I need to collect these ...
1
vote
1answer
142 views

how does blktrace work?

I am trying to understand the Linux block layer so I am writing a blog about it: http://www.linuxintro.org/wiki/blktrAce. When calling blktrace like this: blktrace -d /dev/sdg -o - | blkparse -i - ...
2
votes
0answers
199 views

udev rule for bluetooth device(logitec)

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
0
votes
1answer
125 views

What tool to use to monitor network issues? [closed]

I need a network analysis tool that can help me to find if there are some issues regarding: packet transmission sessions any other stuff is welcome. I'm connected to the appliance I need to check ...
9
votes
1answer
244 views

How can I track executables created by my user on Linux?

Using Linux, I would like to track the executables that are executed in my name, including the whole command line (in practice, every exec*() done as my own user). A program I do not control is ...
1
vote
1answer
4k views

iostat: await vs. svctm

In the iostat manpage I have found these two similar columns: await The average time (in milliseconds) for I/O requests issued to the device to be served. This includes the time spent by ...
1
vote
1answer
1k views

No response from remote host for Nagios check_snmp_mem.pl plugin

Trying to setup memory usage monitoring for Nagios using the check_snmp_mem.pl from Nagios SNMP plugin. I could not even get it working from the command line, I mean I go to /usr/lib/nagios/plugins ...
9
votes
2answers
197 views

How do I get the current bandwidth speed of an interface from the terminal?

I want to get the current Bandwidth of an interface say "eth0" from the terminal. It better be as simple as possible. Say up 10 dn 30. Instead of giving out a lot of text like "vnstat" does. ...
2
votes
1answer
166 views

With NIS users, how to find out which users are currently logged in?

I'm using a NIS server to control 100 clients. I'm using NIS for centralized authentication and NFS to share the home directory. The main problem I'm facing is that I cannot find out which users are ...
3
votes
2answers
180 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
4
votes
1answer
113 views

Is there a tool for tracking uptimes across reboots?

A tool such as this might on the surface appear to serve no real useful purpose, but people that take care of systems like to brag, and uptime is just one of those things that they like to brag about ...
2
votes
4answers
80 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
0answers
71 views

CUPS and printer security

I would like some help on securing a networked printer. Specifically, I'm interested in the following: 1) Preventing unauthorized access to the printer: I would like only certain laptops that connect ...
0
votes
1answer
29 views

Where can I find hplip debug documentation?

I need to monitor HP printer state (ink, paper, etc). Hplip has hp-info tool with debug-mode and very verbose output. But I can't find any documentation with explanation of its data. For example: ...
2
votes
1answer
1k views

log network activity in ubuntu server

I administer an Ubunu Server exposed to the internet and have the need to monitor and keep track of all the network activity in a manner that allows me to analyze it afterwards. I already tried some ...
3
votes
1answer
331 views

Bind9 — How to find which programs are making which dns lookups?

Using bind9 on a laptop shows lots of nonsense domains when network connectivity is down: Oct 18 19:56:18 lap3 named[1536]: error (network unreachable) resolving './NS/IN': 128.63.2.53#53 Oct 18 ...
2
votes
3answers
296 views

List all open '.log' files in *nix

There are times as a system administrator, you might not be sure of the log file paths of a new application. Depending on the system, there may be multiple ways to find the same. Please share the ...
2
votes
1answer
69 views

starts logging when the limits are hit

/etc/security/limits.conf. The file is responsible to limit resources of users/groups on a Linux server. Unfortunately, the file does not generate any logs (or the case could be that I do not really ...
0
votes
2answers
4k views

CPU usage monitoring in AIX servers

In order to monitor the CPU usage in an AIX server I'm using the following script that is executed every 10 mins. lparstat 2 10 > cpu usage=$(tail -10 cpu | awk 'BEGIN {sum=0;} {sum+=$4} END{print ...
1
vote
1answer
109 views

Linux statistics script (Google analytics-like)

We own a few servers, each with about 100 users on it, some with 1 domain, some with a few. I'm looking for a script which runs in the background which can provide information about which users uses ...
5
votes
1answer
2k views

How to I install zabbix-agent over apt-get

Why is it that on my Ubuntu 13.04 system I can easilly install zabbix-agent by doing apt-get install zabbix-agent. When I do it in Debian 7.1, it says that the package zabbix-agent can not be found. ...
1
vote
0answers
251 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 ...
0
votes
0answers
31 views

Which of HIDS can do this?

I'm currently in choosing of HIDS ( Host-based intrusion detection system ). I'm discovery etckeeper on my ubuntu. My question is: Which of HIDS can trace each file on the filesystem? E.g. keep ...
1
vote
4answers
972 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
2answers
472 views

How to monitor average stats of CPU and memory usage of a Solaris server using scripts?

I need to monitor average CPU and memory usage for a Solaris server. How can I automate the process using scripts to monitor daily CPU and memory usage and give it as an average over a month?
1
vote
4answers
955 views

how to monitor up time and down time of a linux service

How to monitor up time and down time of a linux service. I have created a service for my application using chkconfig (RHEL 6.3). I want monitor when the service is turned started and stopped. I can ...
4
votes
1answer
196 views

Monitor a process in Debian

I want to create a service that monitors the existence of a certain process. I wrote the following shell script: #!/bin/sh while : do w=`ps u -A | grep -P ".+Sl.+/usr/local/MySource/endpoint" -c` ...
14
votes
3answers
2k views

Determining Specific File Responsible for High I/O

This is a simple problem but the first time I've ever had to actually fix it: finding which specific files/inodes are the targets of the most I/O. I'd like to be able to get a general system overview, ...
1
vote
1answer
628 views

SSH alerts for outside IP addresses

So i have a script that emails me if a login is from anything besides an ip address that starts with "10.1.": #!/usr/bin/python import smtplib, os server = "10.10.10.10" From = ...
3
votes
3answers
318 views

Is there any way to see how much data I sent via Internet?

A big German ISP (Telekom) recently decided to volume limit their DSL internet connection to 75GB per month. Now I would like to know how much I download / upload. I use Linux Mint 14 Nadia and I ...
0
votes
1answer
104 views

How can I see the rate of my wireless card?

I am setting manually the bit-rate of my wireless card ! sudo iwconfig wlan0 rate 54M Where can I see if it is applied, because the command does not give any feedback !!!
0
votes
0answers
45 views

High Availability of Services

I want to monitor a couple of services in linux. In case they go down I want to restart them. I'm writing a crontab which will get the name of the services using jps command every 60 seconds, and if ...
0
votes
1answer
41 views

Does IPTraf includes its own activity in the report?

Does IPTraf includes its own activity in the report? If it does how do I exclude it?
7
votes
1answer
391 views

How can I make tmux monitor a window for inactivity?

I've switched from GNU Screen to tmux. They're both similar, except that tmux is still maintained. GNU Screen has a C-a _ ("silence") command. This command makes GNU Screen monitor the current ...
2
votes
1answer
409 views

Writing triggers for mcelog

Just starting to look into mcelog for the first time (I've enabled it and seen syslog output before, but this is the first time I'm trying to do something non-default). I'm looking for information on ...
3
votes
1answer
528 views

Power consumption monitoring problem

I used powertop v.2.1 under Ubuntu 12.04 but it missed the power est. column.It's the same situation as described https://bugzilla.redhat.com/show_bug.cgi?id=796068‎ and that bug is supposed to be ...
1
vote
3answers
289 views

Was my CPU kinda broken?

Today I've received some message from mcelog utility, Processor 3 heated above trip temperature. Throttling enabled. Please check your system cooling. Performance will be impacted It happens when I ...
0
votes
0answers
931 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
2answers
341 views

Monitoring script started by rc.local

We have a C program which is started using rc.local´. We added a line like this: /usr/local/bin/pc to the rc.local file. pc is a compiled C program. Everything is working fine at the moment. What ...
3
votes
5answers
198 views

find which system is transmitting through a particular port

I am using command nc -lu <port no.> to find on given port any data is receiving or not. I am getting data if there is transmission going on (but don't know from where!). Is there any way that ...
1
vote
1answer
136 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 ...
0
votes
1answer
873 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
2answers
554 views

How to transparently monitor SSH access/network traffic in Gentoo/general linux?

What's the most effective way to monitor SSH access in Gentoo Linux? My Gentoo box is operating locally behind my broadband router. I have SSH port forwarding on the router and a DNS entry pointing ...
2
votes
1answer
140 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.