Technology Insights

Monarch Configuration Tips and Tricks to Manage Nagios Configuration Files

As you add services, contacts, contact groups, commands, and devices to Nagios the bulk editing begins to become very tedious. Monarch is a great tool to manage Nagios configuration(.cfg) files.  To install Monarch follow the instructions provided in the README.txt that comes with the product. Below I provide instructions to assist in that installation along with some tips and tricks that I learned along the way.

**UPDATE** I realized when reading back through this article that I had not included a download link for Monarch so click here to download Monarch to manage your Nagios configuration files.

How to Install Monarch

  1. Install Perl Modules: Install the following perl modules via the CPAN shell: CGI-Session, Class-Accessor, XML-LibXML-Common, XML-NamespaceSupport, XML-SAX, XML-LibXML-1.58, CGI, DBI, DBD-mysql, File::Copy, CGI-Ajax, Data-FormValidator, JavaScript-DataFormValidator, Carp, IO-Socket, Time-Local, and URI-Escape.First start CPAN.

Technology Insights

Easy Management of Nagios Configuration Files with Web Based GUI Monarch

Nagios is a great solution for monitoring hosts, networks, and services on one or more networks. Nagios will monitor as many services as needed per device and then will send an alarm if one or more services has an issue. By default Nagios monitors a bunch of services such as ICMP, HTTP, etc. but can easily be expanded by the use of plugins and other community based open source development projects where code is developed for a specific need and then shared with the development community.

Technology Insights

pgtop – postgresql monitor like mytop

Any administrator who is responsible for one or more MySQL servers has probably run across the indispensable [mytop][], but a similar tool for PostgreSQL is less well known. However, Cosimo Streppone has ported and converted [mytop][] to [pgtop][], a Perl package to provide the same functionality – monitoring of threads, performance, reads and writes per…