Tag Archives: NRPE

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

I know what “I” did last summer!

Having a little time off from the day to day responsibilities I usually have at my work place, last summer I decided to build the map of Italy with all the offices, for our Help Desk.

So, with the magic of Wikipedia (http://en.wikipedia.org/wiki/Italy), Gimp and Mk-livestatus I have done in NagVis, a dashboard that displays live checks of the network and server software. This map is displayed on a TV in the Help Desk room, so that everyone can see the network status. Continue reading

Nagios check_snmp INVERTER

This is my first plug-in made for Nagios. It was made in order to help the administrator to check via SNMP the inverse scale variables such as UPS line in voltage.

For example, one needs to know when the input voltage of an UPS drops to zero => an error, as the power line is in fault, but not having problems when the same check is 220V in normal conditions.

With the normal “check_snmp” you can’t check those limits, as the check will always be in error.

Usage:  ./check_snmp_inverter.sh -H <remote_host_IP> -C <comunity_string> -o <OID> -w <warning value> -c <critical value> -u <measure block> -l <label>

The critical value is the real value that one needs to set, for example: 0, and the warning value greater than the critical – ex: 240.

You can download it from here.

Nagios WMI Proxy

This is a sketch article in which I want to do a brief description of how to install a Windows WMI proxy and do the checks via WMI in your windows network.

The WMI Proxy is basically a Windows Server / Workstation that has NRPE_NT or NSClient++ (you need to change a bit the configurations) installed and from which with an administrative user can do checks to the windows network via the WMI.

WMI is also used as a check for some other products including but not limited to: SCCM, SCOM, Spiceworks, etc.

Continue reading

Creating a WMI proxy for Nagios – arguments Pro and Contra

In this article I wish to mark some advantages / disadvantages of having a WMI proxy in your Nagios setup.

To WMI or not to WMI….

First we need to explain what exactly a WMI proxy is. Basically this machine is a Linux/Windows machine with a Nagios client installed that runs as a service. This WMI proxy has some scripts (I will detail them in my next post) capable to check other Windows servers with the help of the WMI repository located on each Windows server. The same technique is applied with success by SCCM, SCOM, SpiceWorks, etc.

Continue reading

Check the Cisco CallManager and CallManager Express (=> 6):

You will need first to check the SNMP OID’s with your systems (see the UPS tutorial ) and enable on CCM hosts the SNMP string and checks. All the checks that I have done for this tutorial are from the file CISCO-CCM-MIB.my

Continue reading

How to ease a heavy loaded Nagios server.

A usually Nagios setup is consisted in only one server that does all the checks by itself. In the moment that server arrives at 2000 checks or more (and especially if you configure the ndoutils on that server) you will see the processor going wild. At this point it’s time for a change. Continue reading