Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
vCenter
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Simple SNMP plugin
brettg98
Nov 07, 2007 09:09 PM
Sorry about the double post, but I started to figure that this may be the better area for this question... ...
excowboy
Nov 09, 2007 07:31 AM
Hi, could you please post your plugin ? Maybe we see whats wrong. If it's installed correctly ...
brettg98
Nov 09, 2007 07:15 PM
Thx for the update. When I run the command you mentioned I do get some output... Exception in thread ...
excowboy
Nov 10, 2007 11:06 AM
Hi Brett, you're missing the "-jar" switch ! ./jre/bin/java -jar ./pdk/lib/hq-product.jar -D ...
excowboy
Nov 10, 2007 02:20 PM
Hi Brett, please have a look at the documentation how to build up a SNMP plugin from scratch: ...
1.
Simple SNMP plugin
0
Recommend
brettg98
Posted Nov 07, 2007 09:09 PM
Reply
Reply Privately
Options Dropdown
Sorry about the double post, but I started to figure that this may be the better area for this question...
I am having problems deploying my first custom SNMP plugin and I hope that something can point me in the right direction. I have created the .xml file and saved it to the hq-plugin directory under my installation path. But I can't seem to find the new monitor in HQ. Where exactly should I be able to see it? Also is there a method for turning on debugging to see if HQ is even loading the plugin?
Thanks,
2.
RE: Simple SNMP plugin
0
Recommend
excowboy
Posted Nov 09, 2007 07:31 AM
Reply
Reply Privately
Options Dropdown
Hi,
could you please post your plugin ? Maybe we see whats wrong.
If it's installed correctly you should see it when you click on Tools Menu -> New Platform -> Platform Type
You can check the syntax and lifecycle of your plugin standalone:
Let's say your plugin name is sunx64 you can run:
mpluhar@biollante:~/hyperic/hyperic-hq-agent-3.1.1$ ./jre/bin/java -jar ./pdk/lib/hq-product.jar -D plugins.include=sunx64 -m lifecycle
This command looks for plugins in hq-plugins dir. If you see no output everything its okay
Cheers,
Mirko
3.
RE: Simple SNMP plugin
0
Recommend
brettg98
Posted Nov 09, 2007 07:15 PM
Reply
Reply Privately
Options Dropdown
Thx for the update. When I run the command you mentioned I do get some output...
Exception in thread "main" java.lang.NoClassDefFoundError: //pdk/lib/hq-product/jar
Here's the command that I ran,
./jre/bin/java ./pdk/lib/hq-product.jar -D plugins.include=bes -m lifecycle
bes.xml exists in /opt/hyperic-3.1.1-EE/hq-plugins.
Brett
I have attached the plugin
4.
RE: Simple SNMP plugin
0
Recommend
excowboy
Posted Nov 10, 2007 11:06 AM
Reply
Reply Privately
Options Dropdown
Hi Brett,
you're missing the "-jar" switch !
./jre/bin/java -jar ./pdk/lib/hq-product.jar -D plugins.include=bes -m lifecycle
5.
RE: Simple SNMP plugin
0
Recommend
excowboy
Posted Nov 10, 2007 02:20 PM
Reply
Reply Privately
Options Dropdown
Hi Brett,
please have a look at the documentation how to build up a SNMP plugin from scratch:
http://support.hyperic.com/confluence/display/DOCSHQ30/SNMP+Plugin
You have to code some elementary functions in your plugin to make it work.
I attached a plugin for your Blackberry Enterprise Server which is built based upon the SNMP MIB file.
It would be nice if you install, test it and report about it.
Cheers,
Mirko
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic