Monitor Brocade San Switch sfp values

Hi,

I have Brocade G620 switches

I want to monitor some values of these switches

how can I do that

screenshot of the values i want to monitor, i selected it in red

sfpshow output

RX Power: -2.3 dBm (591.5uW)
TX Power: -1.3 dBm (745.8 uW)

porterrshow output

crc err
link fail
loss sync
loss sig

Thanks,

check out https://docs.librenms.org/Developing/os/Health-Information/

Hi Kevin,

This road seemed a little complicated to me
i’m a little new about this
Do I have a chance to get the values mentioned above in a simpler way?

I’m asking for help

Thanks,

I don’t have any other way that I know of. But somebody else may chime in.

Hi Kevin,

I have a mib file for my san key (v8.2.1c_all_mibs)

I can get this data in another application with this mib file

Can I get this data in librenms with this mib file

Thanks,

No - you cant just add the mib and have it add the sensors. you need to code the sensors and link the mib to it. Code would look like this https://docs.librenms.org/Developing/os/Health-Information/

Ok I understand.

I wonder if there is a code prepared for these sensors

(RX-TX Status,CRC Err, Link Fail, Loss Sync, Loss Sig)

Thanks,

Hello Kevin,

tl:dr;
we can discover with new configuration, but poller is not getting the new configuration.
we did some changes on our fabos.yaml file which lives in
/opt/librenms/includes/definitions/discovery
As the change is shown below, we’ve managed to see output on discovery of this particular san switch.
And when we check the capture files attached in mail we can see that poller operation show bulk requests as we stated in fabos.yaml.
The problems are ;
- we need a quick explanation for sensors module and its reflection on UI
- there was no request coming from librenms to san switch, when we initiated polling. The capture from network shows that there are no snmp get-bulks that include “1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4”

original

mib: SW-MIB
modules:
mempools:
data:
-
percent_used: SW-MIB::swMemUsage
processors:
data:
-
oid: swCpuUsage
num_oid: ‘.1.3.6.1.4.1.1588.2.1.1.1.26.1.{{ $index }}’
index: 1

edited version

mib: SW-MIB
modules:
mempools:
data:
-
percent_used: SW-MIB::swMemUsage
processors:
data:
-
oid: swCpuUsage
num_oid: ‘.1.3.6.1.4.1.1588.2.1.1.1.26.1.{{ $index }}’
index: 1
sensors:
dbm:
data:
-
oid: ‘.1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4’
value: PortXcvrRxDbmPower
num_oid: ‘16.0.136.148.113.235.247.45.0.0.0.0.0.0.0.0.{{ $index }}’
descr: ‘Rx Port {{ $index }}’
group: ‘Rx_dBm’
index: ‘{{ $dot1dBasePortIfIndex }}’
low_limit: ‘-5,23’

Hi Kevin,

I request an answer.

Thanks,

This topic was automatically closed 730 days after the last reply. New replies are no longer allowed.