Monitoring Windows Services with SNMP

Started by tke, April 18, 2014, 12:12:19 PM

Previous topic - Next topic

tke

Hi,

can you help me get on the right track?

We want to monitor services running on Windows machines but we cant deploy NetXMS agents on them.
I know that you can get all running services using SNMP by looking at .1.3.6.1.4.1.77.1.2.3.1.1

The problem for me is that when I configure a DCI to check for some specific service and that service is stopped the DCI status changes to unsupported.
How should I create the DCI to check if OID exists on the server?

andrey--k


Victor Kirhenshtein

Hi!

You can create internal type DCI (with source set to "Internal") and Dummy parameter - it will just generate 0. Then in transformation script you can use SNMPGetValue function to get actual value of required OID. This function will return null if OID does not exist, so you can check it and return some meaningful value in that case.

Best regards,
Victor