[Check_mk (english)] Problem with brocade check_brocade_fcport , port mark unknown , check_mk 1.2.0p2

Hi every body , i have had several problem when i tried to check 2 brocade switch , i put the MIBS in the correct place , and i did the normal procedure to check those things…

When i saw the web i realized that the port information was unknown , i have activated the log file and i found this :

"
Invalid output from plugin or error in check:
Check_MK Version: 1.2.0p2
Host: switchfc_an_01
Service: Puerto 01 port1
Check type: brocade_fcport
Item: ‘01 port1’
Parameters: {‘admstate’: 1,
‘assumed_speed’: 2.0,
‘c3discards’: (3.0, 20.0),
‘notxcredits’: (3.0, 20.0),
‘opstate’: 1,
‘phystate’: 6,
‘rxcrcs’: (3.0, 20.0),
‘rxencoutframes’: (3.0, 20.0)}
Traceback (most recent call last):
File “/var/lib/check_mk/precompiled/switchfc”, line 675, in do_all_checks_on_host

File “/var/lib/check_mk/precompiled/switchfc”, line 1494, in check_brocade_fcport
ValueError: invalid literal for int() with base 10: ‘’

Agent info: [[[‘1’, ‘4’, ‘2’, ‘2’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘’, ‘port0’],
[‘2’,
‘6’,
‘1’,
‘1’,
‘1498228293’,
‘330133318’,
‘3689782438’,
‘2320935856’,
‘16491’,
‘0’,
‘0’,
‘0’,
"

and then i did that :

“cmk --debug -v switchfc” that showed me :

Traceback (most recent call last):
File “/usr/share/check_mk/modules/check_mk.py”, line 4807, in
do_check(hostname, ipaddress, check_types)
File “/usr/share/check_mk/modules/check_mk_base.py”, line 703, in do_check
agent_version, num_success, error_sections, problems = do_all_checks_on_host(hostname, ipaddress, only_check_types)
File “/usr/share/check_mk/modules/check_mk_base.py”, line 860, in do_all_checks_on_host
result = check_funktion(item, params, info)
File “/usr/share/check_mk/checks/brocade_fcport”, line 103, in check_brocade_fcport
notxcredits, rxcrcs, rxencoutframes, c3discards, speed = map(int, portinfo[0][:-1])
ValueError: invalid literal for int() with base 10: ‘’

Thats is the issue , could you help me … ?

···

Date: 2014-03-10 11:40:50