Tag 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:


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:
And the install instructions here:

That’s all,
Mihai out.

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

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

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

Small routing script

In recent days I was confronted with a problem regarding the routing under Linux.

The request was to add a route on a Proxy ARP server.

The Linux OS does give you the possibility to do add a route, in an “automatic mode”, in ways like:

  • add a route on the interface configuration (it will be applied only when the interface will go on-line) – for example Ubuntu and SUSE Linux
  • add a route on the network start script
  • add a route in the static-routes file
  • add a route with a script on the ifup folder on the “/sbin/ifup” (here more details: http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlsysconfig.html)

But because this was a complicated setup I was forced to use a bash script under the “/sbin/ifup”.

The script looked like this:

DMZ_INTERFACE=”eth0″               #we should have an IP address on this network –
LAN_INTERFACE_1=”eth1″          #we should have an IP address on this network –
EXTIPADDR=”″     #an dmz gateway
INTIPADDR=”″           #all the internal traffic

exit 0

I hope that this is going to help you,

Mihai out!