Compaq-HP Proliant Server and Blade Checks (v2.16)

Thanks this time to an improvement by Steffen Weinreich who added a parameter that allow “requiring” the presence of some subsystems (they not being there during the check being the issue at hand). Use it by specifying the following:

-r subsystem1,subsystem2,…

PS: please verify if the library-settings work for you. If they don’t and you think you have a quite common path, let me know and I’ll add it to the next release!

1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 4.14 out of 5)
Loading...

DOWNLOAD:  check plugins for Compaq/HP (1906 downloads)

PS: v2.16 is a bugfix-release for v2.15 and v2.14 – those were broken because of the automatic libexec folder-discovery! Sorry to everyone – it took me 2 months to get to fix things!!

Compaq-HP Proliant Server and Blade Checks (v2.13)

Many thanks to Rod Payne, Buffalo NY, for the current addition.

He suggested it would be helpful to specify particular values that should be treated as warnings. Specifically this could mean that instead of treating all NIC logical group problems as warnings, he would want to make “redundancyReduced” a warning and leave “redundancyLost” as critical. He extended the code to allow the
warning exception to be more specific using the following syntax:

-w cpqNicIfLogMapStatus=6

1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 3.29 out of 5)
Loading...

DOWNLOAD: check plugins for Compaq/HP (2278 downloads)

Compaq-HP Proliant Server and Blade Checks (v2.12)

Got a few nice inputs from George Hansper, who thought it better to indicate more details about single component units in order to have the possibility to exclude some specific device.

This may not be a best practice to be followed, but nevertheless is a valid requirement in some specific and possibly temporary cases.

Thanks George for pointing out and testing the current version!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

DOWNLOAD:  check plugins for Compaq/HP (1488 downloads)

PHP EPP library IT-NIC (v5.3)

What has changed:

  • this version now supports IT-NIC’s infContacts (in domain object and WSDL – examples for both are provided)
  • contacts now allows entitytype to be set to “0” (zero) and
  • domain objects are now correctly assigned to a default userid (only relates to eppitnic-webinterface which now allows for full agent/reseller support).
1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 4.78 out of 5)
Loading...

DOWNLOAD: EPP library IT-NIC (PHP) (1408 downloads)

UPS Socomec Sicon Netvision (v1.0)

This is a first try at the Socomec Sicon Netvision UPS. What it does:

  • verify output voltage (currently only the first element of 3; this defaults to a warning below 200 volts)
  • verify output load in percent (currently only the first element of 3; this defaults to a warning above 95 percent)
  • verify battery and EMD temperature sensors (defaults to a warning above 37 degrees celcius)
  • verify if any alarm is present (without giving specifics yet)

The output produces:

  • OK/WARNING/CRITICAL states, while specifying the output source
  • performance data (which can be graphed) for output voltage, load and temperatures
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

DOWNLOAD:  check_netvision (1401 downloads)

Compaq-HP Proliant Server and Blade Checks (v2.11)

Some more testing done by Martin Boer together with some nice feedback on how to shorten down and beautify the code:

  • replaced a lot of silly ‘elsif’ statements with a single (but safe) ‘eval’
  • introduced a ‘-w’ parameter to set some failures to WARNING states instead of CRITICAL since “you don’t consider a bad disk in a RAID configuration necessarily something you want to find out in the middle of the night”

Since I published this without much testing, that would now be up to you guys 😉

1 Star2 Stars3 Stars4 Stars5 Stars (10 votes, average: 3.70 out of 5)
Loading...

DOWNLOAD: check plugins for Compaq/HP (2004 downloads)

XMLFormatter2

XMLFormatter2 is a XML beautifying tool deriving from XML_Formatter originally developed by Žilvinas Šaltys. If you are in need of handling big files you should still resort to that solution, since it reads chunks of data at a time using file streams. Maybe at some point I will integrate that too…. (or maybe I should just simply do it right now).

So what is it about:

  • it is a very small PHP class
  • taking an XML input string
  • fixing XML indentation (indenting being the reason I first looked for the original tool)
  • and finally giving you an nicely formatted XML output string as a result

If you are looking for an easy way to indent XML strings in PHP this is for you. The most common usage example would be a requirement to fix the reading style of some “compressed” XML string you got from a third-party application.

Here a quick usage example:

require_once("XMLFormatter2.php");

$data = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>....';

try {
  $formatter = new XMLFormatter2();
  echo $formatter->format($data);
} catch (Exception $e) {
  echo $e->getMessage(), "\n";
}
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

DOWNLOAD:  XMLFormatter2 (1194 downloads)