Home Directory Plugins Hardware Storage Systems SAN and NAS Brocade based SAN FC switches monitoring check script

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

Brocade based SAN FC switches monitoring check script

Rating
0 votes
Favoured:
0
Current Version
1.1
Last Release Date
2020-05-20
Owner
License
MIT
Hits
6414
Files:
FileDescription
check_brocade_fc.plBrocade SAN FC switches monitoring check script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Brocade based SAN FC switches monitoring check script
Brocade SAN FC switches monitoring health check script

check_brocade_fc.pl CHECK_COMMAND [SWITCH_IP/NAME] [USER] [PASS]

Displays the overall status for a switch. Works till FabricOS v7.3.x. Newer versions support coming soon.
Script uses Expect to login to SAN switch via ssh. There is no additional software required.
NAME
check_brocade_fc.pl - Brocade SAN FC switches monitoring check script

AUTHOR
Vladimir Shapovalov

SYNOPSIS
check_brocade_fc.pl CHECK_COMMAND [SWITCH_IP/NAME] [USER] [PASS]

CHECK_COMMAND
check_health
Displays the overall status for a switch.

DESCRIPTION
Script uses Expect to login to SAN switch via ssh. There is no
additional software required.

21.04.20 V0.1 (vs): Initial version
22.04.20 V1.0 (vs): check_health (switchstatusshow) implemented
20.05.20 V1.1 (vs): minor bug fixing

LICENSE
MIT License - feel free!

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

EXAMPLES
#> check_brocade_fc.pl check_health fc-brocade-switch.mycompany.net
monitor monitor123

Output:

OK! Switch status HEALTHY (All ports are healthy)
CRITICAL! Switch status DOWN (check 'switchstatusshow'),
WARNING! Switch status MARGINAL (check 'switchstatusshow'),
UNKNOWN! Switch status UNKNOWN (check 'switchstatusshow'),