[Check_mk (english)] Brocade CPU and MEM

Hi all,

I was looking for how to monitoring CPU and Mem on “Brocade NetIron CER” model, and I need to know if I can just add in lines 107 and 175 the info below.

“(…) or module_descr.startswith(“NetIron CER”))”

I put this and works fine to me…there is a motivation to specify only MLX models?

Thanks,

Just correcting myself…cpu monitor isn’t working. Snmpwalk just found one module and don’t recognize the correct values. Someone have a fix for “Brocade CER” CPU monitoring?

For memory monitoring I got the correct status.

Regards,

···

De: checkmk-en-bounces@lists.mathias-kettner.de checkmk-en-bounces@lists.mathias-kettner.de em nome de Jose Fernandes jose.fernandes@locaweb.com.br
Enviado: terça-feira, 19 de julho de 2016 11:18
Para: checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Brocade CPU and MEM

Hi all,

I was looking for how to monitoring CPU and Mem on “Brocade NetIron CER” model, and I need to know if I can just add in lines 107 and 175 the info below.

“(…) or module_descr.startswith(“NetIron CER”))”

I put this and works fine to me…there is a motivation to specify only MLX models?

Thanks,

Hi Jose,

it’s not that easy troubleshooting a request if one says “hey, I changed something somewhere and one part out of two works. For the second part data was detected but not recognized”. Do you see the problem?

Please provide as much information as possible, at least:

  • used cmk version

  • the changed check file attached

  • the mentioned SNMP data you mentioned being found but not recognized

Regards,

Marcel

···

Jose Fernandes jose.fernandes@locaweb.com.br schrieb am Di., 19. Juli 2016 um 19:51 Uhr:

Just correcting myself…cpu monitor isn’t working. Snmpwalk just found one module and don’t recognize the correct values. Someone have a fix for “Brocade CER” CPU monitoring?

For memory monitoring I got the correct status.

Regards,


De: checkmk-en-bounces@lists.mathias-kettner.de checkmk-en-bounces@lists.mathias-kettner.de em nome de Jose Fernandes jose.fernandes@locaweb.com.br
Enviado: terça-feira, 19 de julho de 2016 11:18
Para: checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Brocade CPU and MEM

Hi all,

I was looking for how to monitoring CPU and Mem on “Brocade NetIron CER” model, and I need to know if I can just add in lines 107 and 175 the info below.

“(…) or module_descr.startswith(“NetIron CER”))”

I put this and works fine to me…there is a motivation to specify only MLX models?

Thanks,


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Hello,

The version/file is → /opt/omd/versions/1.2.8p1.cre/share/check_mk/checks/brocade_mlx

At this moment, I have changed the line 175 from:

if module_state != “0” and module_state != “11” and ( module_descr.startswith(“NI-MLX”) or module_descr.startswith(“BR-MLX”)):

to:

if module_state != “0” and module_state != “11” and not (“Switch Fabric” in module_descr):

Who developed this monitoring script have a motivation to to this limitation for models “NI-MLX” and “BR-MLX”.

After my change, all CPU Modules of Brocade switches are “inventorized” (I have tested with models “CER” and “MLX”). I am curious to know why just this models of brocade switches have CPU/Memory monitored and if it is a problem for you my change on the
file…if you guys see a problem to change something simple.

Thanks,

···

De: Marcel Schulte schulte.marcel@gmail.com
Enviado: terça-feira, 19 de julho de 2016 18:11
Para: Jose Fernandes; checkmk-en@lists.mathias-kettner.de
Assunto: Re: [Check_mk (english)] Brocade CPU and MEM

Hi Jose,

it’s not that easy troubleshooting a request if one says “hey, I changed something somewhere and one part out of two works. For the second part data was detected but not recognized”. Do you see the problem?

Please provide as much information as possible, at least:

  • used cmk version

  • the changed check file attached

  • the mentioned SNMP data you mentioned being found but not recognized

Regards,

Marcel

Jose Fernandes jose.fernandes@locaweb.com.br schrieb am Di., 19. Juli 2016 um 19:51 Uhr:

Just correcting myself…cpu monitor isn’t working. Snmpwalk just found one module and don’t recognize the correct values. Someone have a fix for “Brocade CER” CPU monitoring?

For memory monitoring I got the correct status.

Regards,

De:
checkmk-en-bounces@lists.mathias-kettner.de <checkmk-en-bounces@lists.mathias-kettner.de > em nome
de Jose Fernandes jose.fernandes@locaweb.com.br
Enviado: terça-feira, 19 de julho de 2016 11:18
Para:
checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Brocade CPU and MEM

Hi all,

I was looking for how to monitoring CPU and Mem on “Brocade NetIron CER” model, and I need to know if I can just add in lines 107 and 175 the info below.

“(…) or module_descr.startswith(“NetIron CER”))”

I put this and works fine to me…there is a motivation to specify only MLX models?

Thanks,


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en