User Tools

Site Tools


storage:brocade_monitoring

This is an old revision of the document!


Brocade monitoring

Nagios plugins

Scripts

[root@nagios01 storage]# cat brocade_template.cfg
#### Brocade Template ####
define command {
command_name Check_Brocade_Health
command_line /usr/bin/perl $USER1$/check_snmp_brocade_3.2.0.pl -H  $HOSTADDRESS$ -C public -s --sensor -p
}

define command {
command_name Check_Brocade_Port
command_line /usr/bin/perl $USER1$/check_snmp_brocade_3.2.0.pl -H  $HOSTADDRESS$ -C public -P $ARG1$ -p
}

define hostgroup{
        hostgroup_name  brocade-fc
        alias           ALL Brocade FC Switches
        }

define host{
        name                    generic-brocade-fc     ; The name of this host template
        use                     linux-server,host-pnp    ; Inherit default values from the generic-host template
        hostgroups              brocade-fc
        register                0               ; DONT REGISTER THIS - ITS JUST A TEMPLATE
        }

define service{
        use                             generic-service,srv-pnp         ; Name of service template to use
        hostgroup_name                  brocade-fc
        service_description             Brocade FC Switch health
        check_command                   Check_Brocade_Health
        servicegroups                   SG-Storage
        }
[root@nagios01 storage]# cat brocade_hosts.cfg
define host{
        use                     linux-server,host-pnp    ; Inherit default values from the generic-host template
        host_name               SAN01
        hostgroups              brocade-fc
        address                 10.0.0.120
        }
storage/brocade_monitoring.1644692001.txt.gz · Last modified: 2022/02/12 19:53 by manu