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

3PAR Check Script (PHP)

Rating
0 votes
Favoured:
0
Current Version
2.0
Last Release Date
2018-07-04
Hits
6505
Files:
FileDescription
check_3par.phpPHP script
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!
Connection to the 3PAR system is supported using SSH.
By the way, you will need to install PHPSECLIB v1 library http://phpseclib.sourceforge.net/

Usage:
check_3par.php
*optional depending the mode chosen

Supported commands :
check_pd : Check status of physical disks
Degraded -> Warning
Failed -> Critical

check_node : Check status of controller nodes
Degraded -> Warning
Failed -> Critical

check_ld : Check status of logical disks
Degraded -> Warning
Failed -> Critical

check_vv : Check status of virtual volumes
Degraded -> Warning
Failed -> Critical

check_port_fc : Check status of FC ports
loss_sync -> Warning
config_wait -> Warning
login_wait -> Warning
non_participate -> Warning
error -> Critical

check_cap_ssd : Check used SSD capacity
>= 80 -> Warning
>= 90 -> Critical

check_ps_node : Check Power Supply Node
Degraded -> Warning
Failed -> Critical

check_ps_cage : Check Power Supply Cage
Degraded -> Warning
Failed -> Critical

check_health : Check overall state of the system

check_alerts : Check status of system alerts


Examples :

> check_3par.php nagiosuser 192.168.0.0 /home/root/.ssh/3par_rsa check_port_fc

> check_3par.php nagiosuser 192.168.0.0 /home/root/.ssh/3par_rsa check_cap_ssd 80 90