cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extension 2.0 - where does the logic go?

ct_27
DynaMight Pro
DynaMight Pro

Could someone please help explain where the code goes for Extension 2.0? 

 

I've played with OneAgent and ActiveGate extensions by writing my own Python code that runs every 1 minute.  I understand a fair amount about Extensions 2.0 YAML, JSON, and ZIP thanks to this great blog post (https://www.dynatrace.com/news/blog/extend-dynatrace-automation-and-ai-capabilities-more-easily-than...)  and help site (https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/ ).

 

But, I can't seem to figure out where I place the logic that knows what to do with the YAML and JSON configuration data to obtain metrics or perform some logic on data to produce a metric. Is maybe Extensions 2.0 not a replacement for what we can currently do with ActiveGate and OneAgent extensions?

HigherEd
13 REPLIES 13

Mike_L
Dynatrace Guru
Dynatrace Guru

Hi,

Coded extensions and local extensions in the 2.0 framework is planned for the future. For now it's only possible to gather data using the declarative YAML format, for example for SNMP polling.

Mike

Mike,

  Thank you for the reply.   Looking forward to the coded extensions.  We're playing with the SNMP extension right now and it's really cool.  The best part is whoever developed it I feel was really thinking about all the different scenarios a client might have and thus made the SNMP extension quite flexible.  I can't image the complexity of code behind it.

HigherEd

Anonymous
Not applicable

Hey, quick question.

 

How did you get the new SNMP Extension? 


NVM i just found the docs.


Cheers

Hi @Mike_L  hope you are good.

Do you know if there is a rough eta for coded plugins?

Hi,

 

The current plan is next year.

 

Mike

@Mike_L Any update on this?  It's been over a year now.

HigherEd

Mike_L
Dynatrace Guru
Dynatrace Guru

Have a look at my last post in this thread from October. That is still the latest state.

Mike_L
Dynatrace Guru
Dynatrace Guru

@Jan_W is responsible for the framework and @dglugla for the SNMP implementation. I'm sure that they're happy to hear about your experience.

jcurbina
Guide

Hi @Jan_W and  @dglugla,

My experience has been to enable SNMP extension 2.0 and also create an extension for Linux host based on the structure I had of the SNMP yaml, with host related metrics.

Both extensions are up and running, after a rather complicated signing process for custom extension. This is an issue to improve or simplify as it is very cumbersome.

My question is about the promise that extension 2.0 provides "metrics with topology". When I read topology I immediately relate it to entities displayed in the smartscape. But so far I do not see any results in that sense or a Host monitored with SNMP in the smartscape.

In the structure of the extension at the end comes the Topology and Relationships section where I have that the network interfaces are children of the SNMP device (Host). Could you explain to me what would be the scope of these metrics with topology. I imagine a scenario where I monitor a Switch, and establish a relationship between a switch interface and a Host. If that interface throws errors, it could generate a Problem that would impact that Host.

 

I had the same thought as you when i saw Topology.

 

I too am ultimately interested in the same.  First just so I can relate switches to routers and such so that the network topology is clear. But yes, the best state would be to link the switch interface to a host. 

 

Hopefully DT will come back with a response.

 

HigherEd

From what I have seen in some of the example from Dynatrace, there is both a topology, relationship and other keys in the xmls. 

The thing is that the documentation is extremely lacking at the moment.

It seems it should also be possible to query other wmiNamespaces, but so far I have not been able to do this, and there is no logging which provides any clues.

Vanguard
Participant

I am also waiting for Extensions 2.0 offering Python support so that our Custom ActiveGate Extenion can be migrated to 2.0 and therefore conveniently managed via the Hub.

Python extensions in EF2.0 is available for Dynatrace employees in 1.254. There is no timeline yet for partners and customers but it is being looked at from all angles, such as security and distribution.

Featured Posts