I was wondering if there is a specific way to monitor a single application through SNMP regardless of PID?
The way i have my sensor set up now is through the custom string template against the OID 1.3.6.1.2.1.25.4.2.1.2.7432
The last 4 digits being the process id, if i do not specify a process ID the sensor seems to fail or return the wrong value(s). As a process ID can change variably i would like the string name to be the only identifier for the alarm. I know this can be done through WMI or other methods, but I would prefer to stay with SNMP if possible.
Article Comments
Correct I need to monitor an application based on OID table: 1.3.6.1.2.1.25.4.2 (hrSWRunTable)
The issue I am having is that the "Custom OID Table" preset does not allow me to filter based on string value (application name) and as far as i know, only application ID which seems to be an integer.
Process ID will change when the system reboots making the sensor useless. Is there anything I can do to make this work using SNMP? Due to issues associated with wmic monitoring i would like to stay with SNMP.
Aug, 2022 - Permalink
Hello again,
Thanks for this information.
Have you tried using the SNMP Custom String instead?
Regards,
Miguel Aikens
Aug, 2022 - Permalink
Would this work with the OID table? 1.3.6.1.2.1.25.4.2
I'm trying to avoid using a "hard-coded" value as 1.3.6.1.2.1.25.4.2.processID because the process ID will change once the server reboots.
Ideally i can provide just 1.3.6.1.2.1.25.4.2 and have it return the running applications as custom snmp table does, but dictate the alarm status on whether a process name exists in the list or not.
Can this be achieved?
Sep, 2022 - Permalink
Hello,
I believe it would be better to address this request via our ticketing system. I recommend you to send us an email at support@paessler.com and you can reference this KB article. Reason behind this is, we can request screenshots and using the SNMP tester to validate the response from your device when using that particular OID table.
Thanks in advance.
Regards,
Miguel Aikens
Sep, 2022 - Permalink
Hello,
Thanks for contacting us.
I understand that you would like to monitor a single application using SNMP, correct?
SNMP relies on the OIDs to retrieve the data unfortunately. We query based on that OID and display the data received from the device.
Regards,
Miguel Aikens
Aug, 2022 - Permalink