0
votes
2answers
143 views

CPU usage command for monitor script

Is there a command for FreeBSD (except the top -P) I could use to monitor my dedicated server CPU usage? I am in progress of writting my bash script which will notify me as soon as any of the CPU core ...
4
votes
2answers
2k views

Shell script to notify when CPU usage goes to 100%

sar -u 1 | awk '{print $9}' so this will give me "CPU Idle" value every second. I'd like to get email in this case the value goes to "0" 10 times in a row? What would be the appropriate way to ...
5
votes
1answer
470 views

What's the point of using runit in combination with monit?

I see a lot of people using monit in combination with runit. Isn't that redundant? What is the point of using runit as well? Is it because it's more reliable when dealing with services (as it doesn't ...
1
vote
3answers
1k views

Monitoring CPU, Mem, disk, on a single remote server

I've been looking for a simple starter solution for monitoring my [currently] single server hosted solution. Other than Nagios and similar, are there other good (simple) solutions people are using?
5
votes
4answers
18k views

How can I manually run a nagios check from the command line?

When defining and testing new services in nagios I have been restarting nagios, then clicking the service, and rescheduling a check for as soon as possible, then waiting until the check happens. Is ...
3
votes
5answers
4k views

Monitor network traffic volume over interface

Is there a way to monitor the traffic (e.g., get a live view of the utilization) over a particular network interface, say eth0? The catch here is that the set of tools on the box is fixed, and is ...
4
votes
1answer
168 views

What is a solid process for designing a monitoring system?

The short version: I've got a heterogeneous environment of ~400 hosts using Groundwork/Nagios for monitoring. The current checks, hostgroups, and servicegroups have been put together in an organic, ...
1
vote
1answer
947 views

Munin's fw_conntrack reports strange number of sockets in TIME_WAIT

Ubuntu Server 10.04.1 x86 Munin 1.4.4 Here is what Munin tells me about connections through firewall on my server: Here is what netstat -n has to say about this: $ netstat -an|awk '/tcp/ ...
5
votes
3answers
457 views

Does anyone know a simple way to monitor root process spawn

I want to exec a script when a new root process spawns. (on Linux) How can I simply do that ? Thanks
2
votes
3answers
146 views

Unix CLI-driven monitoring suite

I'm looking for something like Cacti or Zabbix, but driven from a command line. I hate clicking, I like scripting and shell automagic. I'm looking for some monitoring suite that would allow me to ...
2
votes
3answers
369 views

Easy notification of arbitrary events on remote Linux/Unix computer

I am looking for a way to easily define one-time notifications of some events that take place on a Linux box. Events might include things like: file /tmp/my.lock is unlinked or process 666 finished ...
3
votes
6answers
414 views

Server monitoring for medium scale UNIX network [duplicate]

I'm looking for suggestions for a good monitoring tools, or tools, to handle a mixed Linux (RedHat 4-5) and HPUX environment. Currently we are using Hobbit which is working reasonably well but it is ...
6
votes
6answers
4k views

Monitor the shell activity of a user on your Unix system?

Trust, but verify. Let's say I want to hire someone a sysadmin, and give them root access to my Unix system. I want to disable X windows for them, only allow shell usage (through SSH, maybe), so that ...
5
votes
3answers
163 views

Sort Active Processes in Unix

How can i sort active processes by total process time in unix?
0
votes
1answer
78 views

Monitoring User Account Time

Is there a good way (on networked *nix systems) to keep track of how much time user accounts have been logged in on a daily/weekly/monthly basis? Also, it would be cool if I could set adjustable time ...
0
votes
2answers
114 views

Monitoring Network Useage

I have a server (running Ubuntu, but I can put a BSD/Solaris or other distro on if that helps) running beween my LAN and my sattelite modem (basically acting as a router). I would like to track ...
0
votes
2answers
188 views

“Must have” tools for managing arbitrary *nix daemons and their activities

What tools do you advise for managing running daemons? This includes: Load monitoring: renice a daemon when it slows down the whole server Keeping alive: restart it when it's not functional. Maybe, ...
5
votes
4answers
873 views

Log monitoring toolsets for Unix? [closed]

What are some good tools for monitoring logs on a system? I am currently using logsentry, which basically just runs grep on logs, ignores regexps I tell it to ignore, and mails me everything else, but ...
17
votes
3answers
7k views

How i configure monit to start a process with a determinated user?

Monit runs with root, but i don't want to start my processes as root.. like mysql, mongrel, apache..
4
votes
8answers
1k views

Tools for Monitoring Multiple Unix Based Systems [closed]

What's your suggested tool to monitor multiple Unix (Linux and OSX specifically) based systems at the same time? I need to monitor the utilization of the CPU, memory, and disks in real time and would ...
4
votes
4answers
5k views

Ganglia without multicast

I'm running Ganglia 3.1.2 on a network where there is no multicast (nor can I turn it on). Does anyone have an elegant solution for getting ganglia to work correctly? I found this: ...
13
votes
4answers
2k views

Log transport and aggregation at scale

How're you analysing log files from UNIX/Linux machines? We run several hundred servers which all generate their own log files, either directly or through syslog. I'm looking for a decent solution to ...