Home Directory Plugins Hardware Server Hardware Sun Plugin to check Sun's XSCF (local service)

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

Plugin to check Sun's XSCF (local service)

Rating
3 votes
Favoured:
0
Hits
101161
Files:
FileDescription
check_xscf.plcheck script
check_xscf.cfgconfig file
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 script checks Sun's eXtended System Control Facility (used on M4000/M5000/M8000/M9000 series)
usage:
./check_xscf.pl -h # prints a short help
./check_xscf.pl -n [hostname|ip] -u [username] -i [keyfile] -c [command] [cfg_file]

There are two commands supported: "showhardconf", "showenvironment". To use showenvironment you need to setup the cfg_file or just use the example.

prerequisite:
you must install your public key onto the XSCF device
XSCF> setssh -c addpubkey [-u user_name]

hints:
all hardware states not as expected come to critical
for temperatures you can define a warning and a critical level (cfg file)
for voltages you can define a lower and upper limiting factor, it allways come to warning (cfg_file)
all fan's not on low speed come to warning
Reviews (2)
by, May 28, 2015
To use the plugin with M10 servers you have to add in script check_xscf.pl line 86 the variable or ($_ =~ "ON").
old line
if (($_ =~ "Status") and !(($_ =~ "Normal") or ($_ =~ "Running") or ($_ =~ "On"))) { {
new line
if (($_ =~ "Status") and !(($_ =~ "Normal") or ($_ =~ "Running") or ($_ =~ "On") or ($_ =~ "ON"))) {

It is necessary because the PSU Units Power_Status ON ist top priority.
bydagobert, February 27, 2013
1 of 1 people found this review helpful
To use the module a restricted account on the server should be set up with something like this:
adduser nagios
setprivileges nagios platop
setssh -c addpubkey -u nagios


The is combined with the and must be specified in the exact order as in the example.

Apart from that the modules works if you don't look too close to the perl style.