Forum Discussion

Kelemvor's avatar
Kelemvor
Icon for Expert rankExpert
2 months ago

Creating a Custom Module based on OIDs?

Hi,

We have some IBM MQ devices that we want to monitor.  We found some MQ items in the LM Repository, but those are for monitoring the MQ application.  We also need to monitor the device for CPU and Memory.

I was given the following information and told we should see about monitoring them.  I'm not sure if I can modify something to get started or if we'd have to create something from scratch.  I'm not familiar with creating anything like this and am hoping someone can point me to something similar I can use and modify or or figure out how to create this from scratch.

Thanks!

Below are the numeric OID and their respective full details - It shows the CPU usage and also at last 3 different intervals 1 min 5 min and 15 min

.1.3.6.1.4.1.14685.4.1.521.1.0 = Gauge32: 2 %
.1.3.6.1.4.1.14685.4.1.521.2.0 = STRING: 0.14 %
.1.3.6.1.4.1.14685.4.1.521.3.0 = STRING: 0.31 %
.1.3.6.1.4.1.14685.4.1.521.4.0 = STRING: 0.34 %

IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusSystemCpuStatusCpuUsage.0 = Gauge32: 3 %
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusSystemCpuStatusCpuLoadAvg1.0 = STRING: 0.27 %
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusSystemCpuStatusCpuLoadAvg5.0 = STRING: 0.34 %
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusSystemCpuStatusCpuLoadAvg15.0 = STRING: 0.34 %


And below Filesystem Monitors - Can we set alerts if the Free is less than 50% of Total for all three different readings  - Total encrypted/Free encryptes - Total temp/Free Temp - Total Internal/Free Internal

.1.3.6.1.4.1.14685.4.1.29.1.0 = Gauge32: 23223 Mbytes
.1.3.6.1.4.1.14685.4.1.29.2.0 = Gauge32: 29857 Mbytes
.1.3.6.1.4.1.14685.4.1.29.5.0 = Gauge32: 4036 Mbytes
.1.3.6.1.4.1.14685.4.1.29.6.0 = Gauge32: 4096 Mbytes
.1.3.6.1.4.1.14685.4.1.29.7.0 = Gauge32: 3071 Mbytes
.1.3.6.1.4.1.14685.4.1.29.8.0 = Gauge32: 3072 Mbytes

IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusFreeEncrypted.0 = Gauge32: 23223 Mbytes
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusTotalEncrypted.0 = Gauge32: 29857 Mbytes
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusFreeTemporary.0 = Gauge32: 4036 Mbytes
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusTotalTemporary.0 = Gauge32: 4096 Mbytes
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusFreeInternal.0 = Gauge32: 3071 Mbytes
IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusFilesystemStatusTotalInternal.0 = Gauge32: 3072 Mbytes

  • Happy to jump on a quick Teams meeting to get this done - should be a quick one.  DM me for availability!

    • Kelemvor's avatar
      Kelemvor
      Icon for Expert rankExpert

      When I click those links they take me to a n Academy login screen.  I fill it out and I end up in my company's LM portal.  I went to Training in there and it said it'd send me an email, but I never received anything.  Hmm.

      • Mike_Moniz's avatar
        Mike_Moniz
        Icon for Professor rankProfessor

        I was able to get to the LM Academy course by first "logging in" by click on the Training link in your LM portal first (Profile icon > Training). Once the academy page loads (and autologins), then you can go to the link  that mray provided.

  • You may want to look for the "Anatomy of a DataSource: SNMP" video on the LM Academy. If I remember correctly it does cover the process of creating custom SNMP-based DataSources. It likely uses the old Interface though, so it may look a bit different in the actual portal.

    You can also look at just about any Datasource that uses the SNMP collection method, like for example "snmpTCPUDP". Some of them use a Script collection method which you can also try but unless you know groovy scripting, I would stick with SNMP collection as it's a bit easier and based on the info above, I don't think you need to get fancy with scripts.

    Note that you will only need to use the OID numbers and not the MIB "BM-MQ-APPLIANCE-STATUS" stuff.