Category Archives: Nagios

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:

 

Installation:
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 “jquery.zip” 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:
http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Mobile-Device-Interfaces/Nagios-Mobile/details
And the install instructions here:
http://assets.nagios.com/downloads/exchange/nagiosmobile/Installing_Nagios_Mobile.pdf

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:
http://exchange.nagios.org/directory/Documentation/Nagios-XI-Documentation/Mass-Deploy-NSClient-Plus-Plus/details
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: http://mihai.radoveanu.ro/my-plugins/check_windows_logs_via_wmi

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 http://www.linuxquestions.org 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: http://www.shinken-monitoring.org/features/ Continue reading

Monitoring Keepalived with Nagios

This is one of the cases where the passive check of the Nagios monitoring system comes in handy as we need to be informed immediately when the Keepalived changes state. So you will need an NSCA system implemented with your Nagios configuration.

Studying the Keepalived configuration we found that the authors have implemented the option to run a script that when the state of the VRRP changes. The script I’m referring to is run under the “notify” option.

Continue reading