What Zenoss can tell you

What Zenoss can tell you


Zenoss is extremely configurable, so it can probably be set up to tell you just about anything you want to know about the computers you are monitoring. I'm just going to go through some of the things I personally was most interested in for my LAN computers, and then for my web server.

How are those NFS mounts holding up?

My Network File System (NFS) mounts have always been a little shaky: partly because the network itself is a bit slow, and partly because it appears that the servers are underpowered to do the job. One oddity you may have noticed is that two NFS mounts (in fact, the largest ones) are on the kids' computer. This is because it is a newer system and supports the 500 GB hard drive they are on, while the older file server doesn't. Oops. A commercial admin would fix this by buying new hardware, but we can't afford it, so for the present, it stays like this. This creates some problems, for example, when we are trying to access a multimedia file on the /art partition while my son is trying to play bzflag (which is a big hit on both the network and the CPU).

Ack! No disk space!

There are few things more disturbing to users than to attempt to log into the computer and be bounced right back out to the login prompt. Yet, this is precisely what happens if the /home partition fills up: with no space left on the drive, the shell can't write temporary files it normally does on login, and the result is that you can't log in (unless you're root).

So, obviously it would be good to get a warning about systems where this is about to happen. Similar failures of the /, /var, /tmp, or /usr drives are not as catastrophic, but are by the same token more insidious. As a result, I long ago adopted the practice of doing a df to check disk usage as a first step whenever anything mysterious goes wrong on a system. Surprisingly often, this leads right to the source of the problem.

So I have configured SNMP on my LAN machines to report nearly-full disks, particularly on the /home and /var drives where this is most likely to happen. The /home drive usually fills due to user activities, like excessive downloading; while /var most often fills due to runaway log files or cache directories. Whatever the reason, disk fill warnings are useful. Figure 15 shows what a disk warning looks like on one of my computers.

Figure 15: Dumbledore events, showing disk fill warningsFigure 15: Dumbledore events, showing disk fill warnings

If you want to look at the trend in the fill of a given drive, Zenoss can also generate graphics for that, such as the one in Figure 16.

Figure 16: Fill status of a /home partition over timeFigure 16: Fill status of a /home partition over time

Are we going to need new computers?

Somewhat more subtle is the question of how hard the computers are working: do we have enough CPU power for the job, or do we need to upgrade to handle the workload? The best way to monitor this is probably to look at the performance graphs, particularly the "load averages". These are measures of how much of a backlog the CPU has to get through at a given time. Figure 17 shows some of the performance graphs on one of my computers.

Figure 17: System performance graphics provides a view on CPU and memory useFigure 17: System performance graphics provides a view on CPU and memory use

Is my web server working?

Looking at the OS tab of the device page for my web server, I can see at a glance whether HTTP service is up and running. Figure 18 shows the OS report for my service with the HTTP daemon working properly. The SMTP daemon was showing a problem because it was running somewhat slowly, resulting in timeouts (I later fixed this by using the zProperties tab mentioned earlier to increase the zCommandCommandTimeout setting).

Figure 18: OS Report for remote web host, based on the SSH/Command modelFigure 18: OS Report for remote web host, based on the SSH/Command model

Additionally, Figure 19 shows the CPU utilization report for the web server. It's the same information as was gathered by SNMP for the same report for my LAN computers.

Figure 19: Performance data from web serverFigure 19: Performance data from web server

Eye candy

If you have a flash animation plugin in your browser, Zenoss can generate a graphical network topology diagram for your network. For large networks this is probably of some practical use, although it qualifies as little more than eye candy for a network as small as my LAN. Still, it does look nice (Figure 20).

Figure 20: Flash animated representation of LANFigure 20: Flash animated representation of LAN

Author information

Terry Hancock's picture

Biography

Terry Hancock is co-owner and technical officer of Anansi Spaceworks. Currently he is working on a free-culture animated series project about space development, called Lunatics as well helping out with the Morevna Project.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!