Author Archives: Mihai

About Mihai

I'm a network administrator and technology lover. I keep this blog in my spare time as a notebook (a small wiki if you want) of my experience in the IT field.

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

How to backup an off-line installation of Cisco WCS 6.0.196.0

Well let’s say you have an error that brings down all your WCS installation and you do not have a recent backup. What can you do? How can you recover the DB?

For this there is a simple answer but first let’s take a minute to analyze the WCS structure. It’s made from three primary components:

  1. the Solid database engine;
  2. the Apache web server engine;
  3. and the Java virtual machine that contains a Java-based SNMP engine. Continue reading

Cisco Wireless Control Station 6.0.196.0 does not start…

In the recent days I’ve had problems with our install of Cisco Wireless Control Station v6.0.196.0. After a system restart, the service did not start and no apparent reasons where given to the user.

The Cisco support wasn’t of much help too, as apparently did not encounter the error before.

Whenever I tried to start the WCS via the batch file the result was an error:

Java Virtual Machine Launcher: Could not find the main class: com.zerog.lax.LAX .

In fact all the batch files associated with the control functions of the WCS (START SERVER / STOP SERVER / DATABASE BACKUP / RESTORE) presented the same error when started.

Also trying to start the WCS service, via the computer management console, did not helped as the service terminated unexpectedly (error 1067).

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