Help with simple properties plugin

I am trying to implement a plugin that will give me a simple way to record the serial number of the machine on which an agent is installed.  From what I've read, it should be doable using the < property > tags in a plugin (http://support.hyperic.com/display/DOC/properties) but its does not quite how the docs say should be.

I have a created plugin that looks like this:
< plugin >
< platform name = "Linux" >
Properties of <>
< property name = "serial" description = "Serial number" / >
< / properties >
< / platform >
< / plugin >

Initializes this plug-in without error both manually and when I deploy it and restart the agent, but when I look at the AC there is no field under properties for each series or serial number of the agent on which I deployed it.  Obviously, I'm missing something in my plugin, but I have no idea what.  Can someone point me in the right direction?

Hello

What you're trying to do, it won't work. Your plugin tries to create a named Linux platform which should already exist.

The closest I can think to do would be to change your plugin to be a service platform with the configuration properties for the service being serial number.

Tags: VMware

Similar Questions

  • Help with Signature properties

    Hello I'm trying to make some text fields and the group fields as read only once an electronic signature has been placed in the document, then I need to repeat this exercise several times throughout the form.  Once a time incredibly frustrating with technical support suggested that I ask for help.  The Signature Properties box has a drop down list which it indicates you can select certain fields.  For now, all I can do is select / deselect.  Otherwise anyone can help with javascript so I can lock these fields.

    Thank you

    Try using the SPACEBAR to select/deselect individual fields and tab and cursor keys to navigate through the list of fields.

  • Desperately need help with simple program crashing using Qt and stdlibc ++

    I have a really trivial example that I was unable to get it running no matter what I try. I use ndk2.0.1. The configuration to recreate the problem is simple; the project should link to qt (4.8.2) and stdlibc ++ (not libcpp, libstdc ++).

    (main.cpp)

    #include 
    #include 
    int main(int argc, char *argv[])
    {
        std::cout << "This doesn't work\n";
        return 0;
    }
    

    That's all. You can use any toolchain you want (ntoxg ++ or CQS), seems not to matter. If you use the string of tools qcc, you must explicitly include the paths libstdc ++ and link to him, because it uses default libcpp. Build the project: it should compile correctly. The handle bar I used is here (http://pastie.org/4018541).

    Create the folder bar and deploy. Once I have started the program at this point, it show me the splashscreen for a few seconds and quit (crash)... You will notice:

    * No log output (we expect something of the call cost)

    * a nice base file pending crash

    Browsing the ntox-gdb core file gives you:

    #0  0xb8b5e329 in __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1)
        at atomicity.cc:36
    36  atomicity.cc: No such file or directory.
        in atomicity.cc
    
    (gdb) backtrace
    
    #0  0xb8b5e329 in __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1)
        at atomicity.cc:36
    
    #1  0xb8b03471 in __exchange_and_add_dispatch (__val=,
        __mem=)
        at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/ext/atomicity.h:79
    
    #2  _M_remove_reference (this=)
        at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/bits/locale_classes.h:505
    
    #3  std::locale::~locale (this=0xb837d5fc, __in_chrg=)
        at ../../../../../libstdc++-v3/src/locale.cc:89
    
    #4  0xb8b0faa9 in ~basic_streambuf (this=,
        __in_chrg=)
        at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/streambuf:193
    
    #5  std::basic_filebuf >::~basic_filebuf (
        this=0xb837d5e0, __in_chrg=)
        at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/fstream:215
    
    #6  0xb0bbd205 in __cxa_finalize ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3
    
    #7  0xb832de67 in _btext ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libcpp.so.4
    
    #8  0xb836a265 in _fini ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libcpp.so.4
    
    #9  0xb0bd46d3 in ?? ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3
    
    #10 0xb0bd5d38 in ?? ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3
    
    #11 0xb0bbd052 in _cleanup ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3
    
    #12 0xb0bbd337 in exit ()
       from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3
    
    #13 0x080487b0 in _start ()
    

    I have no idea what to do with this stack trace and I was not able to debug the problem more far.

    This question is particularly messed because I did not add any code to Qt on demand; just link to bookstores. Do not link to the Qt libraries will make this piece of code will work perfectly. A link to the Qt code with libcpp instead of libstdc ++ will also code to run as expected.

    This problem has been driving me crazy for the last days coueple and I would really really appreciate help or advice.

    KDAB guys told me it's a bug and they're looking into it.

  • Need help with simple if/then script

    I'm trying to replicate a simple if/then statement excel in a PDF form. Have tried several things, but am just not a scripter Java.  The hope that I could get help from the community.

    I have three boxes that contain information on costs. They are labeled LaborCost, MaterialCost & EquipmentCost. Later, in the form, I have two boxes of different output for the sum out of my first three boxes.  If it's a positive number and the other is a negative number.  In Excel forumla language, that's what each of the boxes would read as:

    For the 1st result if it is a positive number: @if (+ LaborCost + MaterialCost + EquipmentCost > 0, + LaborCost + MaterialCost + EquipmentCost, 0)

    For the 2nd result if it is a negative number: @if (+ LaborCost + MaterialCost + EquipmentCost < 0, + LaborCost + MaterialCost + EquipmentCost, 0)

    I think that this should be a simple thing to write, but I'm not familiar with the games of the appropriate language.

    Your colletive help is VERY appreciated.

    Steven

    Try following the calculation script customized:

    // Sum the field values, as numbers
    var sum = +getField("LaborCost").value;
    sum += +getField("MaterialCost").value;
    sum += +getField("EquipmentCost").value;
    
    // Set this field value
    event.value = sum > 0 ? sum : 0;
    

    For others, change the last line:

    Event.Value = sum< 0="" sum="" :="">

  • Help with simple PL/SQL package

    Hi, I'm creating a package simple PL/SQL to loop over a list of names and do some special fuzzy criteria in an attempt to clean up the data. Unfortunately... I don't know anything about PL/SQL and hitting problems is to work. Could anyone give a hand?

    p. s.
    table TMP_UTL_MATCH_INPUT has a list of names to corresponding in the column called CLEAN_MERCHANT
    TMP_UTL_MATCH_OUTPUT table should contain the original entry of line # and value, a corresponding output line # and value and calculated edit_distance jaro_winkler similaritise
    table TMP_UTL_MATCH_STATUS is simply updated after each value so I can track where in the process it is obtained (I suspect that this algorithm will take a lot of time...)

    Thanks in advance for any help!
    Scott

    create or replace
    PROCEDURE ' PROCESS_UTL_MATCH_DATA "("START_ROW"EN ENTIER PAR DÉFAUT 1) IS" ".
    -initialize variable here

    whole Num_Rows;
    number of edit_distance_similarity;
    number of jaro_distance_similarity;

    -main body
    BEGIN
    Select count (*) in tmp_utl_match_input num_rows;

    declare name_array as varray (num_rows) of varchar2 (40);

    Select clean_merchant in the TMP_UTL_MATCH_INPUT name_array;

    truncate table tmp_utl_match_status;
    insert into tmp_utl_match_status values (0);

    I'm in 1.num_rows - 1 LOOP
    FOR i j + 1.num_rows LOOP
    edit_distance_similarity = utl_match.edit_distance_similarity (name_array (i), (j) name_array);
    jaro_winkler_similarity = utl_match.jaro_winkler_similarity (name_array (i), (j) name_array;)

    If (edit_distance_similarity > 50 or jaro_winkler_similarity > 50)
    then
    insert into values of tmp_utl_match_output (i, name_array (i), j, (j) name_array, edit_distance_similarity, jaro_winkler_similarity);
    END IF;
    END LOOP;

    Update tmp_utl_match_status set current_row_num = i;
    commit;
    END LOOP;



    EXCEPTION
    WHILE OTHERS THEN
    NULL; -Enter any code exception here
    END;

    I'm sorry. Just discovered that my syntax is incorrect. Cannot bulk collect a select statement. You must use a cursor, so here is the revised code

    create or replace
    PROCEDURE "PROCESS_UTL_MATCH_DATA"("START_ROW" IN INTEGER DEFAULT 1) IS
    --initialize variables here
    
      num_rows integer;
      edit_distance_similarity number;
      jaro_distance_similarity number;
      type Vartab is table of varchar2(40);
      name_array  vartab;
      CURSOR tmp_utl_cur IS
        SELECT clean_merchant FROM tmp_utl_match_input
         ORDER BY row_num;
    
    -- main body
    BEGIN
      OPEN tmp_utl_cur;
      FETCH tmp_utl_cur
        bulk collect into name_array;
      num_rows := name_array.COUNT;
    
      execute_immediate 'truncate table tmp_utl_match_status';
      insert into tmp_utl_match_status values (0);
    
      FOR i in 1..num_rows-1 LOOP
        FOR j IN i+1..num_rows LOOP
          edit_distance_similarity = utl_match.edit_distance_similarity(name_array(i), name_array(j));
          jaro_winkler_similarity = utl_match.jaro_winkler_similarity(name_array(i), name_array(j);
    
          if (edit_distance_similarity > 50 or jaro_winkler_similarity > 50)
          then
            insert into tmp_utl_match_output values (i, name_array(i), j, name_array(j)
                                                    ,edit_distance_similarity, jaro_winkler_similarity);
          END IF;
        END LOOP;
    
        update tmp_utl_match_status set current_row_num = i;
        commit;
      END LOOP;
    
    EXCEPTION
      WHEN OTHERS THEN
        NULL; -- enter any exception code here
    END;
    
  • help with simple Hello World

    I just downloaded the latest version of Oracle SQL Developer, because I heard that it of free and comes with a debugger.

    So I have it all set up, I am connected to my database, but I wanted to run a simple example:

    I chose to create a new procedure and a new tab open, I have pasted this code and under DBMS output, I clicked on the + to: set serveroutput on
    CREATE OR REPLACE PROCEDURE TEST1 As
    DECLARE
       mytext varchar2(100) := 'Hello world!' ;  
    BEGIN
       dbms_output.put_line(mytext) ;
       dbms_output.put_line(mytext) ;
    END TEST1;
    Yes, I know I posted the put_line twice, it should display Hello World twice? same error with 1 line, when I remove the duplicate.

    Yet, I see this message in the log: "Source doesn't have a target executable."

    And when I try to compile, I see 2 errors:

    Procedure ORCL_SQL_DEVE_TEST1@CONNECTION

    Error (2.1): PLS-00103: encountered the symbol "DECLARE" when expecting one of the following: begin function package pragma procedure < an ID > subtype type use < a between double quote delimited identifiers of > form current cursor external language the symbol 'start' is substituted for 'SAID' continue.

    Error (6,10): PLS-00103: encountered the symbol "end-of-file" during awaits one of the following values: begin case declare exit end exception for goto rise back loop mod null pragma select update while < ID > < one between double quote delimited identifiers of > < a variable binding > < < close current delete fetch locking open insert commit rollback savepoint SQLExecute fusion forall hose set


    I'm using the Oracle SQL Developer version: Version 2.1.1.64

    Remove the DECLARE in the procedure. It is not necessary.

  • Help with Camera Raw Plugin

    I recently turned to a new laptop and before I had CS2 and camera raw plugin worked well and I could modify olympus. ORF files, but now I have photoshop elements 8 and have downloaded and installed the plugin raw from the camera again, but I still cannot open. Can ORF files, anyone help?

    The plug in has a file name: Camera Raw.8bi

    Delete it the folder of file formats, but do not empty the trash until test you that it works. Drag the new camera raw file in the folder of file formats.

    If you use a 64-bit Windows edition, then move the plugin file in the unzipped download file by accessing:

    C:\Program Files (x 86) \Common Files\Adobe\Plug - Ins\Elements 8\File Formats\

    32 bit

    C:\Program Files\Fichiers Adobe Plug-Ins\Elements 8\File Formats\

  • Please help with simple code. Photo and text formatted.

    Hello
    I want to design a HBox. I want to put the image on the left and the text on the right and the bootom. I have 2 problems.

    1. I want to start the text when the image finishes leaving 10 pix in between.
    2. I want the text under the picture too.

    Here is my code.

    Help, please.

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
    < mx:HBox id = "LowerLeft" width = "30%" height = "80%" borderStyle = "solid" borderColor = "#fffffc" borderThickness = "2" >
    < mx:Image id = "image1" source = "1.jpg" height = "100" width = "150" / > "
    < mx:TextArea height = "172" width = "288" horizontalScrollPolicy = "off" verticalScrollPolicy = "off" letterSpacing = "1" backgroundAlpha = BorderThickness upper "0" = "0" fontSize = "12" fontFamily = "Times New Roman" wordWrap = "true" textAlign = "left" backgroundColor = "#869 ca 7" color = "#ffffff" >
    < mx:htmlText >
    <! [CDATA [it comes to cardiovascular medicine.translate the extraordinary progress to promote cardiovascular health.] At the level of the core of SCVI is a richl as he iscardiovascular medicine

    It comes to cardiovascular medicine.translate the extraordinary progress of science and the rich thing.

    Cardiovascular MedicineThis is cardiovascular medicine.translate the extraordinary progress. []] > < / mx:htmlText >
    < / mx:TextArea >
    < / mx:HBox >

    < / mx:Application >

    You could add the image inline with the html text and the text to wrap around the image.

    TS

  • Help with adding the plugin management employment type

    I'm playing with that. When I try to add the definition of my work to the creation of plugin via emcli add_mp_to_mpa I get the following error

    Error: JOB_DEFINITION is not a supported file type

    Here is my complete order

    add_mp_to_mpa-mpa = emcli "netapp_smo_database.jar" - mp_version = "1.0" - ttd="Z:\MyDocuments\OEM-playing\metadata\my_database.xml»-dc="Z:\MyDocuments\OEM-playing\default_collection\my_database.xml»-file="MONITORING_SCRIPT:Z:\MyDocuments\OEM-playing\scripts\my_database_backups.pl»-file="JOB_DEFINITION:Z:\MyDocuments\OEM-playing\jobs\my_database_backup.xml '-func_desc = "Plugin Prototype to demonstrate the integration of my special safeguard system a database script" "

    I did look at some of the existing plugins and see, for example in the plugin VMware ESX that there JOB_DEFINITION file types in this Management Plugin.

    What Miss me?

    It seems that you have an old version of the definition of client/verb emcli. You can try running 'emcli sync' and who will update your definitions of Word of WHO. You'll need either a CMS which is version 10.2.0.3 or later or an emcli client downloaded from a CMS 10.2.0.3 or version later.

  • Need help with simple database creation in number.

    I'm trying to create a simple database in number to capture the case IDs on my place of work. After you have entered a value in the worksheet 1 details must automatically added to sheet 2. Once the case details are entered and user click on the "submit" button (could not include in the screenshot), it should appear in the sheet 2. If number offers this feature, it would be very useful for me.

    Thanks to ddvance,

    Nanan

    Why don't you just enter values directly in the second table?  You could format C and D in the context Menu.

    SG

  • Complete novice needs help with developing a plugin in Xcode

    So, I decided to start climbing the steep learning curve to develop plugins for AE.  I downloaded the SDK from Adobe and follow the directions as best I could, but I get this error message:

    ae-sdk-error.png

    What should I change in Xcode so that skeleton is based in fact.

    Thank you!

    Hi Lazlo,

    The coming SDK for AE CC will be new to XCode 4.5 and MacOS 10.8 sample projects.  In the meantime, you can probably change the XCode project by changing the SDKROOT (in the project build settings) to 10.7.

    Zac

  • Need help with simple non-registered form if is displayed.

    Hello

    I'm assembling a script complex but I will start with the first statement logice.

    Essentially at the beginning, I need to know how to write a script that uses the logic if the form is NOT saved, then display message, you need to first save the form.

    It is for this part! Thank you.

    Hello

    You can do this way.

    Acrobat/Reader uses the so-called State dirty indicator if you made changes to the form.

    var dFlag = event.target.dirty

    If (dFlag is true)

    {

    xfa.host.messageBox ("form not was not yet registered");

    }

    on the other
    {
    code to run the case...
    }
  • Need help with simple flash keys

    So I need help either direct tutorial or someone to point me in the direction of something useful.

    What I'm trying to do, is create 3 clickable flash buttons which all have a link to a small box. I want these buttons to make the text appear in the box when clicked. I want the box to be a Virgin until a button is clicked.

    EXAMPLE OF

    _______________
    | TEXT HERE |
    |                          |
    |_______________|
    ___     ___     ___
    |__|     |__|     |___|

    Thank you very much in advance.

    Strike what I said about the code being fine.  It is not (my eyes just woke up).  This is a correct coding for the way you had it.  To have the button share the same function of handler you need another approach that tests for which the button is clicked.  Instead of this approach, below I show each button has its own manager function...

    Stop();
    BTN1.addEventListener (MouseEvent.Click, mouseClick1);
    function mouseClick1(event:MouseEvent):void
    {
    gotoAndStop (2);
    }

    Btn2.addEventListener (MouseEvent.Click, mouseClick2);

    function mouseClick2(event:MouseEvent):void
    {
    gotoAndStop (3);
    }

    BTN3.addEventListener (MouseEvent.Click, mouseClick3);

    function mouseClick3(event:MouseEvent):void
    {
    gotoAndStop (4);
    }

  • help with simple report

    Try to create a report that lists the uuid, vmid and IP from vCenter for each virtual machine in the CR.

    Here's what I got, but not sure how to put everything together.

    $uuid = Get-VM | %{(Get-View $_.Id).config.uuid}
    $vmid = Get-Vm | Get-View | Select MoRef
    

    output should look like this:

    vCenter IP          UUID                           VMID
    ----------          ------                           -------
    10.25.1.1          501609fc-9720-a1db-3e4e-d95199d5b2e1   VirtualMachine-vm-12176
    

    Can someone point me in the right direction?

    And it gives you the IP address of the VC

    Get-VM | Get-View | Select Name,
         @{N="VC";E={[http://system.net.dns|http://system.net.dns]::GetHostAddresses(($_.Client.VimService.Url).Split("/")[2])}},
         @{N="VMID";E={$_.MoRef.Type + "-" + $_.MoRef.Value}},
         @{N="UUID";E={$_.Config.Uuid}}
    

    Since there are some hooks in the script, I have attached the file

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Help with simple PHP

    1. in mysql db, I created a field called 'logo' and it's a 'blob '. Using the button BROWSE in the mysql db I downloaded a logo of 10 KB. Is this correct? I'll be able to pull the logo of 10 KB of PHP?

    2. Why is it not the incoming image in flash? What is the code marked in red it successfully?

    $SomeVar is the ID


    $query = "SELECT * FROM dyomails identity WHERE ="$SomeVar "";
    $results = mysql_query ($query);
    If ($Line = mysql_fetch_assoc ($Results))
    {
    echo $line ['email'];
    echo "< img src ="'. $line ["logo"]. "" alt = "ruth" / > ";
    }

    3. "ruth.jpg" is my name from logo. My code is correct by pulling it?

    echo "< img src ="'. $line ["logo"]. "" alt = "ruth" / > ";

    I'll send you another MP, so that we can im on Skype or something.

Maybe you are looking for