question

Leo L. avatar image
Leo L. asked ·

SNMP Monitoring using Dynatrace Managed

Hi Everyone,

We are using the Dynatrace Managed version to monitor our cloud and on-premise environment. We would like to know if there are options to monitor SNMP based devices.

We saw the plug-in being available with Appmon but we would like to know if its possible without Appmon.

Dynatrace Managedextensions
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Brayden N. avatar image
Brayden N. answered ·

Hi Leo,

With the ActiveGate RemoteAgent extension framework we can now monitor any remote technology that exposes an interface.

https://www.dynatrace.com/support/help/extend-dyna...

It is important to note that custom extensions such as this (or custom data through the Dynatrace API) will consume 'Custom Metric' licensing.

In the case of SNMP I have developed an extension for basic device health monitoring (UNOFFICIAL).
https://github.com/BraydenNeale/Dynatrace-SNMP

This will provide metrics for any device listening on SNMP v2/3 and supporting HOST-RESOURCES-MIB and/or IF-MIB. It also adds properties collected from SNMPv2-MIB such as sysuptime and sysdescr.

HOST-RESOURCES-MIB

  • CPU utilisation
  • Memory utilisation
  • Disk Utilisation

IF-MIB (Per Interface)

  • Network Traffic - Incoming/Outgoing
  • Network packets - Incoming/Outgoing
  • Errors - Incoming/Outgoing
  • Discarded packets - Incoming/Outgoing

You could clone and adapt this to be more device specific if additional device metrics are required.

Thanks,

Brayden

6 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Can I use it to monitor vCenter, ESXi?

0 Likes 0 · ·

Dynatrace already has integration for vCenter:
https://www.dynatrace.com/support/help/technology-support/cloud-platforms/vmware/

If you have Dynatrace Managed you don't need anything. If you have Dynatrace SaaS you just need an Environment ActiveGate.

1 Like 1 · ·

Thanks Julius for your reply. But we wan't to monitor via SNMP, as it is a project requirement.

0 Likes 0 · ·

Hi Brayden

I'm trying to configure this plugin after following all the installation steps, but getting below error while trying to add an endpoint. Please help.

Error(Cannot load native module 'Cryptodome.Cipher._raw_ecb': Trying '_raw_ecb.cpython-36m-x86_64-linux-gnu.so': cannot load library '/opt/dynatrace/Security-Gateway/remotepluginmodule/plugin_deployment/custom.remote.python.snmp-base/Cryptodome/Util/../Cipher/_r)

0 Likes 0 · ·

Hi @Brayden N. We need this badly. Can you pls check the error I'm getting & help resolve the issue?

0 Likes 0 · ·

Hi Sandeep,

Apologies, I've only just seen this message.
Could you raise a Github issue for this, with details at:
https://github.com/BraydenNeale/DT-SNMP/issues

Looks like some issue with the cipher compatibility.

1 Like 1 · ·
Luis J. avatar image
Luis J. answered ·

Is any update to know if the last release of dynatrace Managed or SaaS has support to read traps SNMP v2 and v3 ???

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

No support. I don't think this is on the roadmap at all.

1 Like 1 · ·

Bad news AppMon is not dead !!!

1 Like 1 · ·
Ganesh S. avatar image
Ganesh S. answered ·

Team,

Is there any roadmap to enable SNMP monitoring on Dynatrace managed? This is one of the key capabilities to enable end to end monitoring from App --> hardware level. Please confirm..

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Julius L. avatar image
Julius L. answered ·

There is nothing available at the moment. But you could write Oneagent plugin that will collect data using SNMP. Another option is to collect the data by yourself and push it using API. What is your use case?

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

We are in the early stages of dynatrace implementation and we just wanted to know the features available in different iterations of the suite. Thank you for the answer; it helps.

1 Like 1 · ·
Anish P. avatar image
Anish P. answered ·

really the one agent should probably just do this itself, but alas they dont so there are many host metrics that are not in the system.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Ugochukwu N. avatar image
Ugochukwu N. answered ·

Hi,

Please take a look at the github page below for a script you can use to feed this data into Dynatrace. Please let me know if this helps.

https://github.com/Dynatrace/dynatrace-api/tree/master/snmp

Thanks

NJ

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Juan B. avatar image
Juan B. answered ·

Hi, can the plugin provided by @Brayden N. be used to collect metrics from Flex Manager/Dell Server manager? The Dynatrace partner who is managing my environment is saying that can't be used, but the GitHub page where the plugin is stored says "You can fork and adapt this to poll for any SNMP exposed metrics"

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hi Juan,

The plugin should work to monitor some basic metrics for Flex Manager/Dell Server manager.

  • CPU, memory, disk
  • Network stats

Anything more specific would require extending the plugin to poll for Flex/Dell specific OIDs and MIB files.

Thanks,
Brayden

1 Like 1 · ·
Suresh K. avatar image
Suresh K. answered ·

Hi,

Do Dynatrace have any plan for box plugin for SNMP monitoring? Can someone from DT confirm on this?

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

@Suresh K. - see the Brayden's answer above. There is no "built-in" support and probably never will be.

0 Likes 0 · ·

Thanks Julius

0 Likes 0 · ·