[Check_mk (english)] Sophos XG

Hi guys,

I had a Sophos XG Firewall in my network.

How can I monitoring: CPU, Memory, Disks, Licence, Alerts with SNMP?

I had imported a SOPHOS-XG-MIB17.txt , I can see this itens with snmpwalk, but I cannot show this in my checkmk interface.

Can you help me with this?

Thanks,

Vagner Fonseca

I had try monitoring this itens , but I failed.

“sysStatus” “1.3.6.1.4.1.21067.2.1.2”

“systemDate” “1.3.6.1.4.1.21067.2.1.2.1”

“cpuStatus” “1.3.6.1.4.1.21067.2.1.2.2”

“cpuPercentUsage” “1.3.6.1.4.1.21067.2.1.2.2.1”

“diskStatus” “1.3.6.1.4.1.21067.2.1.2.3”

“diskCapacity” “1.3.6.1.4.1.21067.2.1.2.3.1”

“diskPercentUsage” “1.3.6.1.4.1.21067.2.1.2.3.2”

“memoryStatus” “1.3.6.1.4.1.21067.2.1.2.4”

“memoryCapacity” “1.3.6.1.4.1.21067.2.1.2.4.1”

“memoryPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.2”

“swapCapacity” “1.3.6.1.4.1.21067.2.1.2.4.3”

“swapPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.4”

“liveUsers” “1.3.6.1.4.1.21067.2.1.2.6”

“sysLicense” “1.3.6.1.4.1.21067.2.1.3”

“appExpiryDate” “1.3.6.1.4.1.21067.2.1.3.1.2”

“supportExpiryDate” “1.3.6.1.4.1.21067.2.1.3.2.2”

“avExpiryDate” “1.3.6.1.4.1.21067.2.1.3.3.2”

“asExpiryDate” “1.3.6.1.4.1.21067.2.1.3.4.2”

“idpExpiryDate” “1.3.6.1.4.1.21067.2.1.3.5.2”

“sysAlerts” “1.3.6.1.4.1.21067.2.1.4”

“highCpuUsage” “1.3.6.1.4.1.21067.2.1.4.1”

“highDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2”

“highConfDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.1”

“highSigDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.2”

“highReportDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.3”

“highMemUsage” “1.3.6.1.4.1.21067.2.1.4.3”

“highPhyMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.1”

“highSwapMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.2”

How can I add these itens to my Sophos monitoring?

Thanks,

Vagner Fonseca

···

De: checkmk-en checkmk-en-bounces@lists.mathias-kettner.de em nome de Vagner Fonseca narongarj@outlook.com.br
Enviado: terça-feira, 19 de novembro de 2019 20:24
Para: checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Sophos XG

Hi guys,

I had a Sophos XG Firewall in my network.

How can I monitoring: CPU, Memory, Disks, Licence, Alerts with SNMP?

I had imported a SOPHOS-XG-MIB17.txt , I can see this itens with snmpwalk, but I cannot show this in my checkmk interface.

Can you help me with this?

Thanks,

Vagner Fonseca

Hi Vagner,

The MIB file is not needed for monitoring your device. It is only a helper for you to write (if not existing) your own check for these device class.

At the moment there are only existing 3 checks for Sophos XG devices. And these checks are only inside the actual dev version.

You can find the checks inside the git repo on github. https://github.com/tribe29/checkmk/blob/master/checks/sophos_memory , sophos_cpu and sophos_disk

If you take these files you can try to put them inside your “~/local/share/check_mk/checks/” and try to discover the Sophos host.

If it is not working remove the files and all should work as before.

For the other values there are no existing checks at the moment.

To get some information about writing SNMP based checks you can check the old documentation here https://checkmk.de/cms_legacy_devel_snmpbased.html

or this tutorial https://lanbugs.de/howtos/monitoring-check_mk/check_mk-snmp-based-check/ (in German - Google translate is your friend)

Best regards

Andreas

···

Am Mi., 20. Nov. 2019 um 19:16 Uhr schrieb Vagner Fonseca narongarj@outlook.com.br:

I had try monitoring this itens , but I failed.

“sysStatus” “1.3.6.1.4.1.21067.2.1.2”

“systemDate” “1.3.6.1.4.1.21067.2.1.2.1”

“cpuStatus” “1.3.6.1.4.1.21067.2.1.2.2”

“cpuPercentUsage” “1.3.6.1.4.1.21067.2.1.2.2.1”

“diskStatus” “1.3.6.1.4.1.21067.2.1.2.3”

“diskCapacity” “1.3.6.1.4.1.21067.2.1.2.3.1”

“diskPercentUsage” “1.3.6.1.4.1.21067.2.1.2.3.2”

“memoryStatus” “1.3.6.1.4.1.21067.2.1.2.4”

“memoryCapacity” “1.3.6.1.4.1.21067.2.1.2.4.1”

“memoryPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.2”

“swapCapacity” “1.3.6.1.4.1.21067.2.1.2.4.3”

“swapPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.4”

“liveUsers” “1.3.6.1.4.1.21067.2.1.2.6”

“sysLicense” “1.3.6.1.4.1.21067.2.1.3”

“appExpiryDate” “1.3.6.1.4.1.21067.2.1.3.1.2”

“supportExpiryDate” “1.3.6.1.4.1.21067.2.1.3.2.2”

“avExpiryDate” “1.3.6.1.4.1.21067.2.1.3.3.2”

“asExpiryDate” “1.3.6.1.4.1.21067.2.1.3.4.2”

“idpExpiryDate” “1.3.6.1.4.1.21067.2.1.3.5.2”

“sysAlerts” “1.3.6.1.4.1.21067.2.1.4”

“highCpuUsage” “1.3.6.1.4.1.21067.2.1.4.1”

“highDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2”

“highConfDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.1”

“highSigDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.2”

“highReportDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.3”

“highMemUsage” “1.3.6.1.4.1.21067.2.1.4.3”

“highPhyMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.1”

“highSwapMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.2”

How can I add these itens to my Sophos monitoring?

Thanks,

Vagner Fonseca


De: checkmk-en checkmk-en-bounces@lists.mathias-kettner.de em nome de Vagner Fonseca narongarj@outlook.com.br
Enviado: terça-feira, 19 de novembro de 2019 20:24
Para: checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Sophos XG

Hi guys,

I had a Sophos XG Firewall in my network.

How can I monitoring: CPU, Memory, Disks, Licence, Alerts with SNMP?

I had imported a SOPHOS-XG-MIB17.txt , I can see this itens with snmpwalk, but I cannot show this in my checkmk interface.

Can you help me with this?

Thanks,

Vagner Fonseca


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en

Hi Andreas,

Thanks for your answer. I tried to do what you write, but not working.

I put the scripts in the directory and made a full scan but not appear.

Have another procedure to make a system use this files to scan snmp?

Thanks,

Vagner Fonseca

···

De: Andreas Döhler andreas.doehler@gmail.com
Enviado: quinta-feira, 21 de novembro de 2019 06:21
Para: Vagner Fonseca narongarj@outlook.com.br
Cc: checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: Re: [Check_mk (english)] Sophos XG

Hi Vagner,

The MIB file is not needed for monitoring your device. It is only a helper for you to write (if not existing) your own check for these device class.

At the moment there are only existing 3 checks for Sophos XG devices. And these checks are only inside the actual dev version.

You can find the checks inside the git repo on github. https://github.com/tribe29/checkmk/blob/master/checks/sophos_memory , sophos_cpu and sophos_disk

If you take these files you can try to put them inside your “~/local/share/check_mk/checks/” and try to discover the Sophos host.

If it is not working remove the files and all should work as before.

For the other values there are no existing checks at the moment.

To get some information about writing SNMP based checks you can check the old documentation here https://checkmk.de/cms_legacy_devel_snmpbased.html

or this tutorial https://lanbugs.de/howtos/monitoring-check_mk/check_mk-snmp-based-check/ (in German - Google translate is your friend)

Best regards

Andreas

Am Mi., 20. Nov. 2019 um 19:16 Uhr schrieb Vagner Fonseca narongarj@outlook.com.br:

I had try monitoring this itens , but I failed.

“sysStatus” “1.3.6.1.4.1.21067.2.1.2”

“systemDate” “1.3.6.1.4.1.21067.2.1.2.1”

“cpuStatus” “1.3.6.1.4.1.21067.2.1.2.2”

“cpuPercentUsage” “1.3.6.1.4.1.21067.2.1.2.2.1”

“diskStatus” “1.3.6.1.4.1.21067.2.1.2.3”

“diskCapacity” “1.3.6.1.4.1.21067.2.1.2.3.1”

“diskPercentUsage” “1.3.6.1.4.1.21067.2.1.2.3.2”

“memoryStatus” “1.3.6.1.4.1.21067.2.1.2.4”

“memoryCapacity” “1.3.6.1.4.1.21067.2.1.2.4.1”

“memoryPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.2”

“swapCapacity” “1.3.6.1.4.1.21067.2.1.2.4.3”

“swapPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.4”

“liveUsers” “1.3.6.1.4.1.21067.2.1.2.6”

“sysLicense” “1.3.6.1.4.1.21067.2.1.3”

“appExpiryDate” “1.3.6.1.4.1.21067.2.1.3.1.2”

“supportExpiryDate” “1.3.6.1.4.1.21067.2.1.3.2.2”

“avExpiryDate” “1.3.6.1.4.1.21067.2.1.3.3.2”

“asExpiryDate” “1.3.6.1.4.1.21067.2.1.3.4.2”

“idpExpiryDate” “1.3.6.1.4.1.21067.2.1.3.5.2”

“sysAlerts” “1.3.6.1.4.1.21067.2.1.4”

“highCpuUsage” “1.3.6.1.4.1.21067.2.1.4.1”

“highDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2”

“highConfDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.1”

“highSigDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.2”

“highReportDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.3”

“highMemUsage” “1.3.6.1.4.1.21067.2.1.4.3”

“highPhyMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.1”

“highSwapMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.2”

How can I add these itens to my Sophos monitoring?

Thanks,

Vagner Fonseca

De: checkmk-en <checkmk-en-bounces@lists.mathias-kettner.de >
em nome de Vagner Fonseca narongarj@outlook.com.br
Enviado: terça-feira, 19 de novembro de 2019 20:24
Para:
checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Sophos XG

Hi guys,

I had a Sophos XG Firewall in my network.

How can I monitoring: CPU, Memory, Disks, Licence, Alerts with SNMP?

I had imported a SOPHOS-XG-MIB17.txt , I can see this itens with snmpwalk, but I cannot show this in my checkmk interface.

Can you help me with this?

Thanks,

Vagner Fonseca


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en


Hi Andreas,

Works fine, my problem was the file encoding, I downloaded again (in Linux) and it works.

Thanks,

Vagner Fonseca

···

De: checkmk-en checkmk-en-bounces@lists.mathias-kettner.de em nome de Vagner Fonseca narongarj@outlook.com.br
Enviado: segunda-feira, 25 de novembro de 2019 13:15
Para: Andreas Döhler andreas.doehler@gmail.com
Cc: checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: Re: [Check_mk (english)] Sophos XG

Hi Andreas,

Thanks for your answer. I tried to do what you write, but not working.

I put the scripts in the directory and made a full scan but not appear.

Have another procedure to make a system use this files to scan snmp?

Thanks,

Vagner Fonseca

De: Andreas Döhler andreas.doehler@gmail.com
Enviado: quinta-feira, 21 de novembro de 2019 06:21
Para: Vagner Fonseca narongarj@outlook.com.br
Cc: checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: Re: [Check_mk (english)] Sophos XG

Hi Vagner,

The MIB file is not needed for monitoring your device. It is only a helper for you to write (if not existing) your own check for these device class.

At the moment there are only existing 3 checks for Sophos XG devices. And these checks are only inside the actual dev version.

You can find the checks inside the git repo on github. https://github.com/tribe29/checkmk/blob/master/checks/sophos_memory , sophos_cpu and sophos_disk

If you take these files you can try to put them inside your “~/local/share/check_mk/checks/” and try to discover the Sophos host.

If it is not working remove the files and all should work as before.

For the other values there are no existing checks at the moment.

To get some information about writing SNMP based checks you can check the old documentation here https://checkmk.de/cms_legacy_devel_snmpbased.html

or this tutorial https://lanbugs.de/howtos/monitoring-check_mk/check_mk-snmp-based-check/ (in German - Google translate is your friend)

Best regards

Andreas

Am Mi., 20. Nov. 2019 um 19:16 Uhr schrieb Vagner Fonseca narongarj@outlook.com.br:

I had try monitoring this itens , but I failed.

“sysStatus” “1.3.6.1.4.1.21067.2.1.2”

“systemDate” “1.3.6.1.4.1.21067.2.1.2.1”

“cpuStatus” “1.3.6.1.4.1.21067.2.1.2.2”

“cpuPercentUsage” “1.3.6.1.4.1.21067.2.1.2.2.1”

“diskStatus” “1.3.6.1.4.1.21067.2.1.2.3”

“diskCapacity” “1.3.6.1.4.1.21067.2.1.2.3.1”

“diskPercentUsage” “1.3.6.1.4.1.21067.2.1.2.3.2”

“memoryStatus” “1.3.6.1.4.1.21067.2.1.2.4”

“memoryCapacity” “1.3.6.1.4.1.21067.2.1.2.4.1”

“memoryPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.2”

“swapCapacity” “1.3.6.1.4.1.21067.2.1.2.4.3”

“swapPercentUsage” “1.3.6.1.4.1.21067.2.1.2.4.4”

“liveUsers” “1.3.6.1.4.1.21067.2.1.2.6”

“sysLicense” “1.3.6.1.4.1.21067.2.1.3”

“appExpiryDate” “1.3.6.1.4.1.21067.2.1.3.1.2”

“supportExpiryDate” “1.3.6.1.4.1.21067.2.1.3.2.2”

“avExpiryDate” “1.3.6.1.4.1.21067.2.1.3.3.2”

“asExpiryDate” “1.3.6.1.4.1.21067.2.1.3.4.2”

“idpExpiryDate” “1.3.6.1.4.1.21067.2.1.3.5.2”

“sysAlerts” “1.3.6.1.4.1.21067.2.1.4”

“highCpuUsage” “1.3.6.1.4.1.21067.2.1.4.1”

“highDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2”

“highConfDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.1”

“highSigDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.2”

“highReportDiskUsage” “1.3.6.1.4.1.21067.2.1.4.2.3”

“highMemUsage” “1.3.6.1.4.1.21067.2.1.4.3”

“highPhyMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.1”

“highSwapMemUsage” “1.3.6.1.4.1.21067.2.1.4.3.2”

How can I add these itens to my Sophos monitoring?

Thanks,

Vagner Fonseca

De: checkmk-en <checkmk-en-bounces@lists.mathias-kettner.de >
em nome de Vagner Fonseca narongarj@outlook.com.br
Enviado: terça-feira, 19 de novembro de 2019 20:24
Para:
checkmk-en@lists.mathias-kettner.de checkmk-en@lists.mathias-kettner.de
Assunto: [Check_mk (english)] Sophos XG

Hi guys,

I had a Sophos XG Firewall in my network.

How can I monitoring: CPU, Memory, Disks, Licence, Alerts with SNMP?

I had imported a SOPHOS-XG-MIB17.txt , I can see this itens with snmpwalk, but I cannot show this in my checkmk interface.

Can you help me with this?

Thanks,

Vagner Fonseca


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en