Category Archives: Scripts

Nagios search auto complete

Today I have discovered a very nice plugin for the Vautour interface in Nagios that adds an auto complete query to the search box! In this article I will describe the installation (the author made-it extremely good but I wanted to add a small contribution too).
What you will need:


As I said the author made a very good  job describing the installation part, so I’m just put it here with some small comments:

Extract “” in the “share/js” folder.
You should now have “jquery.js”, “jquery-ui.js”, and a “jquery-ui” folder in the “share/js” folder.
Make sure that all files in there are readable and executable.
Note: I made modifications to the jQuery UI files, to make them work with the (slightly rigid) Nagios iframe setup.
This is why I recommend downloading the files from Nagios Exchange, rather than from the creators themselves.
By the way, kudos to the jQuery team and also to the guys at jQuery UI! Without them, this mod wouldn’t be here. (:
Now, open “sidebar.html” (in the share folder) for editing.
Replace lines 10 and 11 (the two script references) with this:

css” href=”js/jquery-ui/jquery-ui.css” media=”screen, projection” />

Small comment – the original lines that need to be replaced are:

Continue reading

Nagios Mobile – Nagios on your (smart) phone \ tablet

Yesterday I have discovered a new addition to the Nagios family: Nagios Mobile.
It is a PHP application made by Hirose Masaaki and promoted by Nagios Enterprises.

From the author:
Nagios Mobile is a lightweight web interface, based on the Teeny Nagios project by Hirose Masaaki. Nagios Mobile is a PHP web-based application designed for Mobile and touch-screen devices.

You can find the application here:
And the install instructions here:

That’s all,
Mihai out.

Mass deploy a Nagios agent (NSClient++)

Today I have seen on the documentation page of Nagios a new tutorial that talks about deploying a NSClient++ to your servers with the help of SCCM 2007.

The document covers all the steps of the deployment from the creation of the .msi package  to the deployment verification of the package. All the stages are covered with screen captures. This type of deployment offers multiple advantages like selecting the hours of the installation or how much bandwidth should be used and makes updating the software package a breeze and I recommend it over other ways to install the client.

You can grab the document from here:
Continue reading

How to monitor Windows logs with WMI.


The script:

First you will need to download my script and make a copy of it on to your windows box.

Download it from here:

Continue reading

Using Nagios in a efficient way (in a generic install):

Nagios is a highly configurable monitoring platform. Basically it gives you the possibility to take any output and can monitor it!

It has a great community around it; it’s very well documented and has many, many plug-ins.

There is a free and a paid version available:

  • The Core version gives you the possibility to make the installation in any way you want, but requires some knowledge on how you can get the things done.
  • The paid version (current named Nagios XI) try’s to include a unified interface where the user can administrate the whole Nagios server in one interface.

Continue reading

A new monitoring tool is in town…

Watching the “Network Monitoring Application of the Year” vote on I have noticed a new Nagios / competitor: Shinken. The name describes a very sharp Japanese sword – associating the program with its large scale monitoring capabilities.

The software it’s written in Python and it’s compatible with the Nagios configuration. Also they say that they use fewer resources than the Nagios counterpart. The developer has put an accent on the Business rules, Cloud computing and “Very large monitoring capabilities”. Take a look at their features: Continue reading

Backing up a highly utilized MySQL db

After I have done a research on the web I have found that the best method is by using LVM. We will need to lock (temporarily) the tables, flush the changes to the disc, do a LVM snapshot of the directory that contains the MySQL data and unlock the tables again.

Continue reading