This is an old revision of the document!
[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
}