Check manual page of brocade_fcportMay 02. 2012
brocade_fcportAuthor: Mathias Kettner License: GPL Distribution: official part of Check_MK Supported Agents: SNMP This checks monitors a FibreChannel port of a Brocade FC switch
to very great detail. It obsoletes the older checks fc_brocade_port and
fc_brocade_port_detailed. The check goes critical under the following conditions:
[1] The physical state, operational state or adminstrative state of the port is not
as expected.
[2] The current or averaged throughput exceeds certain absolute or
percentual levels.
[3] An error counter exceeds its configured levels (CRC errors, Enc-OUT
frames, no Tx credits, C3 discards)
Averaging: This check supports averaging on all counters. Averaging is
turned on but setting the check parameter "average" to a number of minutes.
In that case the check produces additional performance data for each parameter
and all warning/error levels are only applied on the averaged value, not on
the current one. This is especially helpful when using levels on the throughput.
ItemThe item is the port-number as two-digit or three-digit string (on switches
with 100 or more ports) as printed on the switch (note: the SNMP-index of
port 00 is 1!). For ISL ports (inter-switch-links), an ISL is appended
to the item, e.g. 00 ISL. That allows you to create rules that select
different check parameters for ISL and normal ports without specifying each
individual port. Also if you have configured port names, they will appear
in the check item (and thus the service description). This can be turned
off.
Check parameters
Performance dataFor each port there are sent in, out, rxframes, txframes, rxcrcs,
rxencoutframes, c3discards and notxcredits. If averaging is turned on, then
each value comes twices: once normal and once with _avg appended as averaged
value. All rates are in Bytes/s or Frames/s. If you are using PNP4Nagios, then
you are strongly encouraged to set RRD_STORAGE_TYPE = MULTIPLE in
process_perfdata.cfg. Please note, that you need to re-create or convert existing
RRD database if you change this setting.
InventoryThe inventory creates checks for all operational ports. What this exactly means,
can be configured (see CONFIGURATION VARIABLES).
Configuration variables
Examplesmain.mk
# Generally turn on averaging with 15 Minutes on all ports:
brocade_fcport_default_levels["average"] = 15
# Alternative: set all default parameters at once:
brocade_fcport_default_levels = {
"rxcrcs": (3.0, 20.0), # allowed percentage of CRC errors
"rxencoutframes": (3.0, 20.0), # allowed percentage of Enc-OUT Frames
"notxcredits": (3.0, 20.0), # allowed percentage of No Tx Credits
"c3discards": (3.0, 20.0), # allowed percentage of C3 discards
"assumed_speed": 2.0, # used, if speed not available in SNMP data
"bw": (80.0, 90.0), # percentual levels for throughput
"average": 30, # apply all levels on 30 minute average
}
# Set traffic levels to 80/90% on ISL ports
check_parameters += [
( { "bw" : (80.0, 90.0) }, ALL_HOSTS, [ "Port .* ISL" ]),
]
# Ignore port states on non-ISL ports
check_parameters += [
( { "phystate" : None, "opstate" : None }, ALL_HOSTS, [ "!Port .* ISL", "Port" ]),
]
|
| |||||||||||||||||||||||||||||||||||||||