• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Mohammed S. · Aug 04, 2015 at 01:56 AM · plugins

Adding a varbind in SNMP Action plugin

Hi,

I had a requirement to add an additional varbind in to SNMP Action plugin.

com.dynatrace.diagnostics.plugins.snmp.mapping.IncidentInfoMapper.

I have created an eclipse Java project and added the source files for the Dynatrace SNMP Pluging. Added the dependent jar files and added the necessary code for additional varbind. I am able to run the application successfully. Then I created the jar file using File–>Export to Jar. 

When I am trying to deploy this as a plug-in, I am getting "The bundle 'TestPlugin.jar' is invalid".

Can any one of you have any idea what could be the problem in this plugin jar file. Anything to do with signjar ?

Thanks a lot in advance.

Thousif

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Sean M. · Aug 13, 2015 at 08:04 PM

Hi Asad, Thanks for that, I realised it myself about 2 hours ago. I've been searching my internet history to try and come back and update this thread with exactly your comments.

Thanks again.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image Andreas G. ♦ · Aug 14, 2015 at 08:52 AM 0
Share

Just an FYI. In case this answer is good for you please click on "Accept" so that we correctly tag questions that got an answer

avatar image

Answer by Asad A. · Aug 13, 2015 at 12:28 PM

Are you running the plugin outside of the dynatrace solution? The way you test your changes is to make appropriate changes in your code in Eclipse. Once done, in dynatrace client, Settings->dynatrace server->Plugin. Under development tab, open your plugin, build it there and test it. Don't run the plugin outside of the dynatrace solution.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Sean M. · Aug 13, 2015 at 10:49 AM

Hi, I am suffering from the same problem...However my jar is just a very slightly edited version of an already published plugin (https://github.com/dynaTrace/Dynatrace-SOAP-Monito... My MAINIFEST/PLUGIN.XML are identical to the working plugin, but i still get the invalid bundle error.

Was there a resolution found to this? Was it just the manifest in your case?

Is there anyway to get more detail on the invalid bundle error? I cant find anything logged on the /client/server/collector.

Many thanks

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Dave M. · Aug 04, 2015 at 08:22 PM

My guess is your jar does not follow the conventions required by the plugin framework.  For example, the plugin.xml file might not be present, or the MANIFEST.MF might be missing required entries.  Did you use the Plugin Development tab?

Here is the documentaton:  Developing a User Plugin

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Apache SOLR Monitoring FastPack instrumentation

Is there an integration of Dynatraace Appmon with Unit Test Framework built in c#

interface to close incidents?

Generic execution plugin field lenght limitation

Plugin Development - Packaging Of Plugin

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A