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_hrconf

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2013-05-23
Compatible With
  • Nagios 3.x
Hits
37730
Files:
FileDescription
check_hrconf.vbscheck_hrconf.vbs
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!
check_hrconf
NRPE-Plugin (NSClient++) that checks the states of a Adaptec Controller via hrconf and a cscript for Windows
Requirement:
Monitoring host: OS Windows, NSClient++, hrconf (Adaptec Storage Manager)
Monitoring server: nagios


Configure NSClient++ on Windows.

in file nsc.ini
1) Uncomment line:
CheckExternalScripts.dll
2) Add this line in section [External Scripts]:
check_RAID=cscript.exe //T:30 //NoLogo scripts/check_hrconf.vbs



Configure Nagios server

1) Check a command definition (if not, add this):
# Command to check with NRPE
define command{
command_name check_remote_command
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
2)Define service:
define service{
service_description Check Adaptec RAID on Windows
host_name windows-server-host-name
check_command check_remote_command!check_hrconf
use generic-service
}

That's all. Good luck!

Sample output: "OK: Cntr. 1, Optimal: LD 1, Optimal, RAID 1, 953737 MB, PD 2"

Disclaimer:
This software comes without any warranty and has to be treated "as is". Feel free to change it to fit your needs or contact me for any kind of comment.