Monitoring the network with Zenoss
The Watcher
Find out how the free and flexible Zenoss tool can help you monitor your network.
With a convenient web interface and a flexible design, the Zenoss monitoring tool is winning converts around the world. Zenoss has an impressive list of features that seem to grow every month. The tool does a great job as a status monitor, and it even supports Nagios plugins. The Zenoss system is also good for monitoring performance and trending (Figure 1). The tool comes stocked with defaults for various types of devices, such as Linux boxes, switches, routers, and even Windows machines, and additional features are easy to add. In the grand tradition of *nix environments, Zenoss is designed with a modular architecture. To add new functionality, just plug in a new module (a ZenPack, in the parlance of the Zenoss masters).
Syslog Server
One function I find especially useful is Zenoss' syslog server. Zenoss will take standard syslog output and act as a syslog server. This means that, in addition to checking status and monitoring performance, you can also view log information, which is often the best way to see cause and effect. Your Windows machines aren't left out of the logging loop either because Zenoss handles Windows event logging via WMI (Windows Management Instrumentation.
Protocols
Zenoss supports monitoring and management technologies such as SNMP, WMI, ping, portscan, and ssh-based monitoring.
SNMP is the defacto standard for garnering network information, and virtually all computing or networked devices support SNMP.
For devices that don't use SNMP or WMI, or that are beyond the access of conventional monitoring tools, you can perform limited network tests with ping- or portscan-based monitoring.
Monitoring via ssh lets Zenoss connect to a machine and execute commands to determine a machine's status.
Network Monitoring Options
Network monitoring occurs for a number of reasons, but the most common is the desire to know when something goes awry. In addition to watching for failures, monitoring can also help predict a failure or avoid an unwanted event. Knowing, for instance, that the disk on your mailserver is at 95% of its capacity permits you to add more disk space before a problem occurs.
Another benefit of network monitoring is that it helps you plan growth. For instance, trending that looks back in time and provides historical data will let you know that mail is increasing by 10% a month and that, in n months, you will need a new mail server.
Historically, monitoring applications have focused on one of three areas. Status monitoring is the most well known form, particularly since Nagios has appeared as an important status-monitoring application. Status monitoring essentially answers yes or no to questions like, "Is the mail daemon up?" This functionality is the core of most network management systems.
Performance monitoring, or trending, is the next most common type of monitoring, and RRDtool is the performance application that immediately jumps to mind. A performance monitor tells you that your CPU has been at 20% utilization for the past 6 months but has suddenly increased to 80% over the past week. This information is particularly useful for gauging things like bandwidth usage.
The final form is log monitoring. Virtually all applications generate logs that provide insights into what is happening and what is going wrong.
These tools together are a network monitoring system.
Interfaces
Zenoss offers several avenues for communicating network information. The first option is the web interface. The most useful view of what is happening on your network is the Event Console (Figure 2), which provides an interface for viewing and configuring monitoring events.
Most people, however, are not likely to be watching the event console all of the time. Thankfully, Zenoss can push out alerts to SMS and email. What's really fabulous is the granularity you can apply to alerts. For instance, a mail admin might want to know about a problem with a mailserver anytime, but other network problems only during the business day. Zenoss makes it quick and easy to configure a range of alerts for a range of different events.
Another Zenoss tool for viewing network data is a desktop applet called Zapplet. This applet provides status and event information in your system tray. Zapplet runs on just about anything that supports Gtk2.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.