VMware vSphere

 View Only
  • 1.  Plugin created, Error adding Platform Service

    Posted Nov 08, 2007 05:52 AM
    Hey all,
    Just took a whack at creating my first plugin: a simple script to check the number of calls, sip channels and iax channels on an Asterisk instance.

    I got my xml file (see attached "asterisk-plugin.txt") and script created on the agent side without issue, and invoking it standalone proves it is working as expected (see attached "standalone_test.txt").

    I made sure to restart the agent instance so it was aware of the new plugin, and also installed the xml file on the server side in the hq-engine/server/default/deploy/hq.ear/hq-plugins/.

    Now when I browse to the respective agent resource and attempt to add a "New Platform Service", after entering a name and selecting my "Asterisk" service type, I get an error (see attached "stack_error.txt").

    The only related item I could find was the following:
    http://jira.hyperic.com/browse/HHQ-949
    However, Doug MacEacher's comment does not seem applicable here, unless I'm missing something.

    Can anyone offer any insight to a poor hopeless soul?

    Thanks,
    Scoop


  • 2.  RE: Plugin created, Error adding Platform Service

    Posted Nov 08, 2007 07:19 PM
    Hey Scoop,

    There is a bug in 3.1 that causes the resource types in HQ not not be updated when the plugin is hot deployed. Does a restart of the HQ server clear up the issue?

    -Ryan


  • 3.  RE: Plugin created, Error adding Platform Service

    Posted Nov 08, 2007 08:45 PM
    This is the part where I say "I'm an idiot and should have tried that." Alas, at least the issue is documented now for the next idiot that comes along.

    Thanks Ryan.


  • 4.  RE: Plugin created, Error adding Platform Service

    Posted Nov 21, 2007 05:04 PM
    Hi,

    I'm starting to develop a snmp plugin for our netapp filer and ran into a similar problem...
    I removed I removed the netapp-plugin.xml from the hq-plugins/ folder and restarted both agent and server but although the service types are removed the platform types are still present and can't be removed via an SQL query....

    I've read misleading information about proper plugin deployment...

    I created my hq-plugins folder at the same level as my HQ server's agent and server folders... And I use this same local agent to query the netapp filer via SNMP....
    Do I still need to restart the agent?

    Thanks,