Category Archives: Linux

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