Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_http_ilo

Rating
0 votes
Favoured:
0
Current Version
0.9
Last Release Date
2014-01-29
Compatible With
  • Nagios 3.x
License
GPL
Hits
29761
Files:
FileDescription
check_http_ilocheck_http_ilo
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
The plugin is a rough http scrap to get the text from ilo 100 server monitors. The ilo 100 monitors do not have an snmp engine and pass snmp queries to the local OS. So if your OS does not have the snmp drives running you cannot get the ilo sensor data... until now.
The plugin is a rough http scrap to get the text from ilo 100 server monitors. The ilo 100 monitors do not have an snmp engine and pass snmp queries to the local OS. So if your OS does not have the snmp drives running you cannot get the ilo data. This plugin uses WWW:mechanize to login to ilo (please use a seprate view only account). Then scrapes the sensor data from the webpage and dumps the data into the long output for the plugin. You should get something like this:
ilo status online: sensor readings
Sensor Type Sensor Name Sensor Status Current Reading;
Processor CPU2 Therm Trip Limit Not Exceeded 0;
Processor CPU1 PROC Hot Limit Not Exceeded 0;
Processor CPU2 PROC Hot Limit Not Exceeded 0;
Processor CPU1 Therm Trip Limit Not Exceeded 0;
Module/Board NMI Detect State Deasserted 0;
Voltage PVCORE1 Normal operating range 1.0976 Volts;
Voltage PVNB CPU1 Normal operating range 1.0976 Volts;
Voltage P1V5 DDR3 CPU1 Normal operating range 1.4994 Volts;
Voltage PVCORE2 Normal operating range 1.078 Volts;
Voltage PVNB CPU2 Normal operating range 1.1074 Volts;
Voltage P1V5 DDR3 CPU2 Normal operating range 1.4994 Volts;
Voltage P12V Normal operating range 11.928 Volts;
Voltage P5V Normal operating range 5.1012 Volts;
Voltage P5V STBY Normal operating range 5.031 Volts;
Voltage P3V3 Normal operating range 3.3572 Volts;
Voltage P3V3 STBY Normal operating range 3.311 Volts;
Voltage P1V1 SR5670 Normal operating range 1.1172 Volts;
Fan Fan1 Inlet Normal operating range 5709.7 RPM;
Fan Fan1 Outlet Normal operating range 4702.1 RPM;
Fan Fan2 Inlet Normal operating range 5576.9 RPM;
Fan Fan2 Outlet Normal operating range 4702.1 RPM;
Fan Fan3 Inlet Normal operating range 5848.9 RPM;
Fan Fan3 Outlet Normal operating range 4702.1 RPM;
Fan Fan4 Inlet Normal operating range 5709.7 RPM;
Fan Fan4 Outlet Normal operating range 4611.6 RPM;
Fan Fan5 Inlet Normal operating range 5848.9 RPM;
Fan Fan5 Outlet Normal operating range 4702.1 RPM;
Fan Fan6 Inlet Normal operating range 5329 RPM;
Fan Fan6 Outlet Normal operating range 4282.2 RPM;
Fan Fan7 Inlet Normal operating range 5329 RPM;
Fan Fan7 Outlet Normal operating range 4360.1 RPM;
Fan Fan Redundant ;
Temperature CPU1 DIMM1 Normal operating range 29 deg. C;
Temperature CPU1 DIMM2 Unavailable ;
Temperature CPU1 DIMM3 Unavailable ;
Temperature CPU1 DIMM4 Normal operating range 27.5 deg. C;
Temperature CPU1 DIMM5 Unavailable ;
Temperature CPU1 DIMM6 Unavailable ;
Temperature CPU1 DIMM7 Normal operating range 27.5 deg. C;
Temperature CPU1 DIMM8 Unavailable ;
Temperature CPU1 DIMM9 Unavailable ;
Temperature CPU1 DIMM10 Normal operating range 27.5 deg. C;
Temperature CPU1 DIMM11 Unavailable ;
Temperature CPU1 DIMM12 Unavailable ;
Temperature CPU2 DIMM1 Normal operating range 25 deg. C;
Temperature CPU2 DIMM2 Unavailable ;
Temperature CPU2 DIMM3 Unavailable ;
Temperature CPU2 DIMM4 Normal operating range 25 deg. C;
Temperature CPU2 DIMM5 Unavailable ;
Temperature CPU2 DIMM6 Unavailable ;
Temperature CPU2 DIMM7 Normal operating range 25 deg. C;
Temperature CPU2 DIMM8 Unavailable ;
Temperature CPU2 DIMM9 Unavailable ;
Temperature CPU2 DIMM10 Normal operating range 25 deg. C;
Temperature CPU2 DIMM11 Unavailable ;
Temperature CPU2 DIMM12 Unavailable ;
Temperature Inlet Ambient Normal operating range 19 deg. C;
Temperature CPU1 Normal operating range 33 deg. C;
Temperature CPU2 Normal operating range 31 deg. C;
Temperature PCI Outlet Normal operating range 52.5 deg. C;
Temperature SR5670 Outlet Normal operating range 42 deg. C;
Temperature Rear Board Normal operating range 49 deg. C;
Temperature PCI Mid Normal operating range 34 deg. C;
Temperature PCI Inlet Normal operating range 23 deg. C;
Temperature Rear Board2 Normal operating range 38 deg. C;
Temperature CPU Inlet Normal operating range 22 deg. C;
Temperature PS Inlet Ambient Normal operating range 21 deg. C;
Temperature IO Controller Normal operating range 68 deg. C;
Temperature PCI16_RISER Normal operating range 31.5 deg. C;
Temperature PCI4_RISER Normal operating range 25 deg. C;
Watchdog 2 Watchdog ;
Chassis Chassis State Deasserted 0;
Sys. ACPI Pwr. State ACPI State ;


In theory you could use modify this plugin to login to many websites and scrape the data in question and output it to plugin output. I have borrowed parts of http_check and others to get what I am looking for. This plugin could and should be made to output the data in a format that could be fully monitored by nagios instead of just dumped to long output and should accept user and password at ARG instest of being hard coded but that is beyond my coding ablity, and currently does what I needed it to do. I hope it helps you too.

Usage:
check_http_ilo -U http://xxx/sensors.html
where xxx is your ilo's ip address or hostname

Depends on CPAN modules:
WWW::Mechanize
Getopt::Std
LWP::UserAgent
HTML::TableExtract