News for hackers. Stuff that matters.
Re:Linux System Monitoring Tools by dmytton on Monday November 15, 2010 @09:08AM (#1906259)
These tools are great for looking at what's happening now if you're logged into the server.

They're complemented by monitoring products like:

Self hosted:

- Nagios (already mentioned in the post)

- Cacti / Munin

Hosted:

- http://www.serverdensity.com (tool my company produces)

- http://www.cloudkick.com (monitoring + cloud infrastructure management)

- http://www.scoutapp.com

these give you similar metrics plus various other things like alerting, graphs, mobile apps, etc.

Re:Linux System Monitoring Tools by josephruscio on Monday November 15, 2010 @12:00PM (#1906970)
http://librato.com is another hosted product (disclosure: I work on this) for systematically monitoring/managing applications.
Re:Linux System Monitoring Tools by daten on Monday November 15, 2010 @10:20AM (#1906487)
I suggest dstat over vmstat, it has color coded output and abbreviates units automatically. It's easy to add columns or monitor specific devices or interfaces.

http://dag.wieers.com/home-made/dstat/

I suggest OpenNMS as a cacti and nagios alternative. It eliminates most of the manual configuration. It can automatically detect nodes and services and if you give it SNMP information it can monitor specifics of each machine. I've used it to monitor hundreds of machines but it can be resource intensive.

http://www.opennms.org/

iftop is also a nice lightweight alternative to iptraf and helps track down bandwidth heavy processes and connections.

http://ex-parrot.com/pdw/iftop/

Re:Linux System Monitoring Tools by Throlkim on Monday November 15, 2010 @10:41AM (#1906578)
Does anybody actually use top, rather than htop? It's the first thing I install on every system I build.

Something I've become very fond of recently is Monit, which doesn't appear to be on the list. I've found it very reassuring to have Monit set-up and watching the processes on my server.

Re:Linux System Monitoring Tools by StavrosK on Monday November 15, 2010 @11:03AM (#1906683)
I came here to say the same thing. htop is streets ahead from top.
Re:Linux System Monitoring Tools by seiji on Monday November 15, 2010 @01:08PM (#1907221)
atop is fun too
Re:Linux System Monitoring Tools by geoka9 on Monday November 15, 2010 @10:15AM (#1906470)
Another one I find quite useful is iotop:

http://guichaz.free.fr/iotop/

Very handy to quickly see what process is causing that disk thrashing, for example.

Re:Linux System Monitoring Tools by fossguy on Monday November 15, 2010 @10:05AM (#1906430)
For people that care about security, I would add those monitoring tools:

-OSSEC - log + file system security monitoring (http://ossec.net)

-Snort - Network-based IDS (http://snort.org)

-Sucuri (not free) - web site monitoring (http://sucuri.net)

Re:Linux System Monitoring Tools by zoomzoom on Monday November 15, 2010 @10:56AM (#1906653)
I have also seen Munin, which provides robust monitoring.
Re:Linux System Monitoring Tools by tszming on Monday November 15, 2010 @12:46PM (#1907127)
ps_mem.py - Determine how much RAM is currently being used per program, is useful when top command failed to report actual memory shared due to copy-on-write among multiple processes.

http://www.pixelbeat.org/scripts/ps_mem.py

http://wiki.apache.org/spamassassin/TopSharedMemoryBug

Re:Linux System Monitoring Tools by jazzyb on Monday November 15, 2010 @09:09AM (#1906261)
In addition to tcpdump, I'd like to add the command 'tshark'. Tshark usually comes bundled with wireshark and allows you to use the same search capabilities as wireshark from the command line. I find it much easier to use than tcpdump especially if you already have experience with wireshark.
Re:Linux System Monitoring Tools by pixdamix on Monday November 15, 2010 @09:58AM (#1906408)
When it comes to wireshark and remote servers i often do this:

    ssh root@someserver "/tmp/tcpdump -i any -p -s0 -w - not port 22" | \
        wireshark -i - -k
Re:Linux System Monitoring Tools by jsaparov on Monday November 15, 2010 @10:06AM (#1906438)
I often use basic command line tools (vm/io/snmpstat, fiddle with /proc with cat/cut) and chart the results along the way, in realtime, with this little tool: http://freshmeat.net/projects/trend
Re:Linux System Monitoring Tools by cagenut on Monday November 15, 2010 @10:25AM (#1906512)
Wait, you don't just look at the load average?
Re:Linux System Monitoring Tools by daten on Monday November 15, 2010 @10:29AM (#1906528)
After you see that you have a high load average, these are the tools you would use to track down why.