Groovy is available side agent?

I couldn't find groovy - n.n.n.jar on the agent system. It is part of the installed base of agent?
It would be nice to have - groovy is much better than perl.
And the question to people who have more experience with groovy - are there other aspects against the use of groovy side agent? Say, if I give up groovy - 1.5.6.jar in the lib agent folder and then use scripts (for control and monitoring actions). I could use pseudo binary code compiled scripts to avoid the loss of performance at initial start-up, but there is still overhead with loading JVM.

Hi Vlad,

We have added support for groovy plugin in the process agent in 4.0:
http://JIRA.Hyperic.com/browse/HHQ-1996

There is a recent thread in the dev forum where it is used to extend the NetworkDeviceMeasurementPlugin.  And the original example, adding the service to the msmq plugin discovery:
http://svn.Hyperic.org/trunk/plugins/examples/MSMQ-plugin.XML?root=Hyperic+HQ&R1=8378&R2=8987

You can set work/extend any type of plugin in this way, give it a try and tell us what you think!

Tags: VMware

Similar Questions

  • Groovy for import to NetMonitor agent hosts

    Hello

    Somebody wrote a groovy script to take the contents of a csv file (file or other) and used to configure Foglight.

    I have a CSV file of the hosts who need supervision with a NetMonitor agent, I have a few groovy to update the agent, but I fight with the bit to read the contents of the CSV.

    There is a nice library of OpenCSV, but I can't seem to load (it is probably because of the way Groovy has been implemented in Foglight), any person responsible for the libraries of addition in Foglight groovy scripts?

    http://www.kellyrob99.com/blog/2010/07/01/Groovy-and-CSV-how-to-get-your-data-out/

    See you soon

    Andy

    What about using a table of database as a data source (for the groovy) rather than the CSV file?

    You would need a script to load the CSV file into the database and on the side table FMS of things, use a simple rule to run a script on a schedule to remove the information from the table and update the lists used by NetMonitor.

    D.

  • WOT Firefox Homepage is grayed out, after I visited a Web site.

    Afer, visit this Web site (review), my (default) Firefox Home Page is the same, except that the WOT icon is grayed out and I can't it to work. When I click it, it says "no available sides. If I change the home page, the WOT is once more active. I've never had this problem before and have had WOT since it became available. I use now a homepage different until I can get this problem to be solved. ANY HELP WILL BE MOST APPRECIATED. I really depend on the WOT. Thank you.

    It should be gray as the homepage of Firefox is not a url, I have the same addon, its not designed to detect all: protocols, nor should it.

  • HorizontalFieldManager custom: cannot field presentation, insufficient height or width

    I have two fields to label that I need for available side by side in a manager of horizontal field. When ran, the outputs of the Console: "cannot the field presentation, insufficient height or width.

    When I insert a breakpoint, the values are:

    • width = 480
    • height = 1073741823

    Why is the value of great height? (Oh yes, the virtual height.)

    What is the right way to calculate the height - just use the height field's favorite?

    LabelField lf = new LabelField("Flavor");
    LabelField olf = new LabelField("Order");
    
    HorizontalFieldManager hfm = new HorizontalFieldManager(
            Manager.NO_HORIZONTAL_SCROLL
                    | Manager.NO_HORIZONTAL_SCROLLBAR) {
    
            protected void sublayout(int width,
                int height) {
            Field field;
            int numberOfFields = getFieldCount();
            int x = 0;
            int y = 0;
    
            for (int i = 0; i < numberOfFields; i++) {
                field = getField(i);
                setPositionChild(field, x, y);
                layoutChild(field, width,
                        height);
                y += 10;
            }
    
            int myWidth = Math.min(width,
                    getPreferredWidth());
            int myHeight = height;
    
            super.sublayout(myWidth, myHeight);
    
            setExtent(myWidth, myHeight);
        }
    
        public int getPreferredWidth() {
            return getScreen().getWidth();
        }
    };
    
    hfm.add(olf);
    hfm.add(lf);
    

    You all that hard work the fields chickens and then try to destroy with super.sublayout () call. I'm sure that's what throws the exception. Check your myWidth and myHeight before the call to super.sublayout (). You might find that getPreferredWidth() returns to zero.

    I don't know why you would want to increase the parameter y in a horizontal field in any event handler. If anything, set x and not just randomly, by 10, but by the field.getWidth (). But it's logical that if you extend the Manager and remove super.sublayout call.

    More important still, you can get what you want much easier to not the substitution of all sublayouts and instead use setMargin on your domains.

  • Help to configure content vRealize Pack of Operations Manager for paper Insight

    I am running the following:

    vrops Version 6.0.1.2523163

    Log insight Version 2.5.0 - 2629935

    I installed the v1.0 vROps 6.x content pack in Insight Journal and used this article very useful when configuring the liagent.ini file

    vRealize content Operations Manager Pack for newspaper Insight - VMware Blogs

    Everything seemed to go well, but the end result is no data of vrops Li and connection errors in the newspapers of the agent without clear indication of why it is not agent connection.

    Viewing the log file, I see a lot of counters indicating the date, the agent of time shows that he has worked for a few days now with more 8 million observed events.

    However, interrupted events number matches the 8 million observed number of events which means that everything has been ignored "due to the overflow of local storage or rejected by the server" as stated in the article.

    2015-08-23 17:07:16.704273 0x00007f770ffff700 < path > CFApiTransport:348 | Re-login to the server vrops.domain.local:9000

    2015-08-23 17:07:16.762633 0x00007f770ffff700 < error > CurlConnection:482 | Transport CurlConnection::Config error: could not connect to the server

    2015-08-23 17:07:16.762664 0x00007f770ffff700 < path > CFApiTransport:328 | DoConnectJob [deferred by 167 dry connection]

    Agent of the time 134:15:34.106000

    Events observed: 8 176 438 (total number of events saw the newspaper sources since the Agent started or changed server)

    The events collected: 0 (= fall the observed)

    Events sent: 0 (delivered to the destination server)

    Events ignored: 8 176 438 (abandoned due to overflow of local storage or rejected by the server)

    Mailing frequency: 0.00 EPS (average of the last minute)

    DB file size: 143,576,064 bytes

    CPU usage: 0% (in the last 900 seconds average)

    Link: cfapi://vrops.domain.local:9000

    Host name (FQDN full): vrops.domain.local

    Opportunity of free space: 191,429,376 bytes

    Two things, I thought maybe to blame that I don't know how to fix:

    1. vmw_vr_ops_hostname = IP address? same as address of node? My cluster shows the node address as the IP address rather than a FULL domain name. I tried to provide as well in the ini file, but doesn't seem to help, but I find it weird that I don't see the name domain FULL configuration section that I linked to suggested that I should. And what is listed here would be that I filled in the ini file to vmw_vr_ops_hostname file?2015-08-24_14-30-14.jpg
    2. In vrops, under Administration > Support > newspapers > change the Logger Configuration > export to Syslog, no matter how many times I uncheck the box 'exit of syslog server logs' external and click ok the box remains checked off the coast. I'm sure that this must be unchecked, but even if it were problems, as I understand it, it would be especially causing duplicate rather logs that prevent all newspapers to appear as is my case.

    According to this article it is said: "If export syslog is configured then the required configuration of the specific agent is not set and the syslog Protocol is used instead of the cfapi." It is also very important to note that configurations can and will be replaced! By example, if you configure the agent works with the content pack (for example. liagent.ini) client-side and later someone configure syslog export from the user interface, the configuration of the client-side agent are crushed with the parameters of the interface user break the integration of content package. »

    vRealize content Operations Manager Pack for newspaper Insight - SFlanders.net

    Given that syslog export was apparently when I first tried to set this up, it would make sense that this is what causes problems, but how could I then set? Especially when the user interface won't let not disable me export syslog on vrops?

    Any help is appreciated. Thank you

    Very useful - I think that the problem is with the [server] section if your configuration. What is the host name = value? It can be solved? The reconnecting log messages are expected that the delayed connection makes it sound like the configuration of the host name does not.

  • EM Event: WARNING: &lt; database Instance - &gt; officer down

    Hello

    by modernizing the plugins for the Patch Bundle WHO 12 and applying the BP on agents, I get a lot of emails with this issue - namely, a mail of each database instance and each listener running on the host computer.

    Content of the email is the following:
    Host = < host name >
    Target = Instance of database type
    Name of the target = < database name >
    Categories = availability
    Message = Agent down
    Severity = warning
    ...
    Availability status Agent down
    Rule name = database availability and critical States, target availability event rule
    Owner rule = SYSMAN

    Blackout on the host leads to WHO is not unable to do the upgrades - obviously an agent of blackout is not able to do. Wait what puzzles me in the rule mentioned in the letter, the incidents should only be created for the target type being down (i.e. for the instance database when the database is out of service and so on) as one.

    I'd rather not down all targets on a host UNLESS the agent because it does not age with our number of hosts and dbs, does anyone know what rule is responsible for the position and how they could be removed temporarily effectively?

    Also, please change your notification rules and subscribe to only mortals/critical events that will prevent this notification to database with the officer down.

    We are working on the event agent sends do not first place.

    (Jayakumar Sadras)

    Published by: user760389 on April 25, 2012 22:13

  • Adding to the DMZ and vCenter ESXI

    I added an ESXI host in the DMZ using 3.5 update 4. However when I add to vCenter it connects for about 2-3 minutes and then disconnects itself. I have available vCenter agent license to allow this. The firewall has been opened for the management ports, but no matter what I try, I can't do this to stay connected in vCenter. I downgraded to U3 and still have the same problem. It may be a network problem, but it is not supposed that it would connect in the first place, if that's the case. Any help would be greatly appreciated.

    Thank you!

    Jeremy

    Take a look at page 77 of the http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_installation_guide.pdf

    Which ports you have open on your firewall?

    Name resolution works?

    André

  • Problems adding new host as Eval

    I have 4 hosts in a cluster, all who have exhausted all of the licenses. I have a test server I installed ESX on which I want to just use it as an eval. I created a new data center for it and when I go to add the host I get the error "there are not enough licenses to perform this operation.

    I don't understand why I can't do if I want to just eval this host? It should not need an available license right?

    Thank you.

    You can evaluate it as a facilitator of stand alone, but if you want to add it to an instance of vCenter you must always have available vcenter agent licenses.

  • Need help on the design of a PL/SQl query?

    Hi all

    I question that brand a customer details on some factors and gives it a rank

    I have a table called agents which keeps officers details.

    Here's how to get the rank:
    Select *.
    BeO
    Select client_name, agent_number
    customer_number,
    customer_score,
    agent_score,
    customer_score + agent_score total_score,
    Rank() over (PARTITION BY name ORDER BY (customer_score + agent_score) DESC) as Ranker
    the customer, agents)
    where ranker = 1

    The agents table has agent_number and agent_Name...

    By the above query, I check various score against every available agent and assign customers to agents with the highest score or rank is 1

    But my problem is who to go through the process... I mean after the intial customers are assinged with agents

    It should work again for subscribers and for the officers who are free (and rank for them is 1) should be checked for the allocation of

    Once all the agents are assigned, but more customers are available then agents even thoug they are already assigned to that they can now be assigned because no agent is free...

    Hope my quetsion is clear... Sorry for my English... starting from PL/SQl

    Solomon Yakobson says:
    If the customer number is a string, change of type ranking_obj and you should be all together regarding the display of the zeros.

    In fact, it's a bit more than that. And I found an error in my code. List of agents must be removed before running SQL, not after:

    drop type ranking_obj_tbl
    /
    create or replace
      type NumList
        as table of number;
    /
    create or replace
      type StrList
        as table of varchar2(4000);
    /
    create or replace
      type ranking_obj
        as object(
                  customer_name  varchar2(20),
                  customer_num   varchar2(20),
                  customer_score number,
                  agent_name     varchar2(20),
                  agent_number   number,
                  agent_score    number,
                  total_score    number
                 )
    /
    create or replace
      type ranking_obj_tbl
        as table of ranking_obj
    /
    create or replace
      function ranking_function
        return ranking_obj_tbl
        pipelined
        is
            v_agent_number_list NumList := NumList();
            v_customer_number_list StrList := StrList();
            v_customer_cnt number;
            v_agent_cnt number;
            v_ranking_obj ranking_obj;
        begin
            select  count(distinct agent_number)
              into  v_agent_cnt
              from  agent;
            select  count(*)
              into  v_customer_cnt
              from  customer;
            for v_i in 1..v_customer_cnt loop
              if v_agent_number_list.count = v_agent_cnt
                then v_agent_number_list.delete;
              end if;
              select  ranking_obj(
                                  customer_name,
                                  customer_num,
                                  customer_score,
                                  agent_name,
                                  agent_number,
                                  agent_score,
                                  total_score
                                 )
                into  v_ranking_obj
                from  (
                       select  customer_name,
                               c.customer_num,
                               customer_score,
                               agent_name,
                               agent_number,
                               agent_score,
                               customer_score + agent_score total_score,
                               row_number() over(order by customer_score + agent_score desc) rn
                         from  customer c,
                               agent a
                         where c.customer_num = a.customer_num
                           and c.customer_num not member of v_customer_number_list
                           and a.agent_number not member of v_agent_number_list
                      )
                where rn = 1;
              v_agent_number_list.extend;
              v_agent_number_list(v_agent_number_list.count) := v_ranking_obj.agent_number;
              v_customer_number_list.extend;
              v_customer_number_list(v_customer_number_list.count) := v_ranking_obj.customer_num;
              pipe row(v_ranking_obj);
            end loop;
            return;
    end;
    /
    select  *
      from  customer
    /
    select  *
      from  agent
    /
    select  *
      from  table(ranking_function)
    / 
    

    For example:

    SQL> drop type ranking_obj_tbl
      2  /
    
    Type dropped.
    
    SQL> create or replace
      2    type NumList
      3      as table of number;
      4  / 
    
    Type created.
    
    SQL> create or replace
      2    type StrList
      3      as table of varchar2(4000);
      4  / 
    
    Type created.
    
    SQL> create or replace
      2    type ranking_obj
      3      as object(
      4                customer_name  varchar2(20),
      5                customer_num   varchar2(20),
      6                customer_score number,
      7                agent_name     varchar2(20),
      8                agent_number   number,
      9                agent_score    number,
     10                total_score    number
     11               )
     12  / 
    
    Type created.
    
    SQL> create or replace
      2    type ranking_obj_tbl
      3      as table of ranking_obj
      4  / 
    
    Type created.
    
    SQL> create or replace
      2    function ranking_function
      3      return ranking_obj_tbl
      4      pipelined
      5      is
      6          v_agent_number_list NumList := NumList();
      7          v_customer_number_list StrList := StrList();
      8          v_customer_cnt number;
      9          v_agent_cnt number;
     10          v_ranking_obj ranking_obj;
     11      begin
     12          select  count(distinct agent_number)
     13            into  v_agent_cnt
     14            from  agent;
     15          select  count(*)
     16            into  v_customer_cnt
     17            from  customer;
     18          for v_i in 1..v_customer_cnt loop
     19            if v_agent_number_list.count = v_agent_cnt
     20              then v_agent_number_list.delete;
     21            end if;
     22            select  ranking_obj(
     23                                customer_name,
     24                                customer_num,
     25                                customer_score,
     26                                agent_name,
     27                                agent_number,
     28                                agent_score,
     29                                total_score
     30                               )
     31              into  v_ranking_obj
     32              from  (
     33                     select  customer_name,
     34                             c.customer_num,
     35                             customer_score,
     36                             agent_name,
     37                             agent_number,
     38                             agent_score,
     39                             customer_score + agent_score total_score,
     40                             row_number() over(order by customer_score + agent_score desc) rn
     41                       from  customer c,
     42                             agent a
     43                       where c.customer_num = a.customer_num
     44                         and c.customer_num not member of v_customer_number_list
     45                         and a.agent_number not member of v_agent_number_list
     46                    )
     47              where rn = 1;
     48            v_agent_number_list.extend;
     49            v_agent_number_list(v_agent_number_list.count) := v_ranking_obj.agent_number;
     50            v_customer_number_list.extend;
     51            v_customer_number_list(v_customer_number_list.count) := v_ranking_obj.customer_num;
     52            pipe row(v_ranking_obj);
     53          end loop;
     54          return;
     55  end;
     56  / 
    
    Function created.
    
    SQL> select  *
      2    from  customer
      3  / 
    
    CUSTOMER_NAME        CUSTOMER_NUM         CUSTOMER_SCORE
    -------------------- -------------------- --------------
    Customer1            00945982                         25
    Customer2            00998643                         25
    Customer3            01021982                         25
    Customer4            01033503                         25
    Customer5            10945982                         25
    Customer6            10998643                         25
    Customer7            11021982                         25
    Customer8            11033503                         25
    
    8 rows selected.
    
    SQL> select  *
      2    from  agent
      3  / 
    
    AGENT_NUMBER AGENT_NAME           AGENT_SCORE CUSTOMER_NUM
    ------------ -------------------- ----------- --------------------
              43 Agent1                        50 00945982
              79 Agent2                        25 00945982
              15 Agent3                        25 00945982
              15 Agent3                        25 00998643
              79 Agent2                        25 00998643
              43 Agent1                       100 00998643
              15 Agent3                        25 01021982
              79 Agent2                        50 01021982
              43 Agent1                        50 01021982
              15 Agent3                        25 01033503
              43 Agent1                        50 01033503
    
    AGENT_NUMBER AGENT_NAME           AGENT_SCORE CUSTOMER_NUM
    ------------ -------------------- ----------- --------------------
              79 Agent2                        50 01033503
              43 Agent1                        50 10945982
              79 Agent2                        25 10945982
              15 Agent3                        25 10945982
              15 Agent3                        25 10998643
              79 Agent2                        25 10998643
              43 Agent1                       100 10998643
              15 Agent3                        25 11021982
              79 Agent2                        50 11021982
              43 Agent1                        50 11021982
              15 Agent3                        25 11033503
    
    AGENT_NUMBER AGENT_NAME           AGENT_SCORE CUSTOMER_NUM
    ------------ -------------------- ----------- --------------------
              43 Agent1                        50 11033503
              79 Agent2                        50 11033503
    
    24 rows selected.
    
    SQL> select  *
      2    from  table(ranking_function)
      3  /
    
    CUSTOMER_NAME        CUSTOMER_NUM         CUSTOMER_SCORE AGENT_NAME           AGENT_NUMBER AGENT_SCORE TOTAL_SCORE
    -------------------- -------------------- -------------- -------------------- ------------ ----------- -----------
    Customer2            00998643                         25 Agent1                         43         100         125
    Customer3            01021982                         25 Agent2                         79          50          75
    Customer1            00945982                         25 Agent3                         15          25          50
    Customer6            10998643                         25 Agent1                         43         100         125
    Customer4            01033503                         25 Agent2                         79          50          75
    Customer5            10945982                         25 Agent3                         15          25          50
    Customer7            11021982                         25 Agent2                         79          50          75
    Customer8            11033503                         25 Agent1                         43          50          75
    
    8 rows selected.
    
    SQL>  
    

    SY.

    Published by: Solomon Yakobson, July 25, 2011 16:42

  • Reminder in Group application

    In the application of COD/CRM grouped using reminders, I try to understand how a reminder is sent to an agent. I tested this feature and concluded that when a reminder is left and an agent becomes available, the agent receiving the call will be unavailable and answer buttons and the decline on communication tools become available, but agents phone does not ring automatically. The agents telephone does not ring until it clicks on reply.

    What is the expected features?

    I expect that when the agent became available, the phone of agents would sounds and that they would be linked to the appellant.

    Is there a configuration change that can cause the phone agents automatically sounds a reminder?

    Thank you

    Jim,

    Unfortunately there is no way to auto does not accept a reminder. The agent must click on the 'accept' to get the phone to ring.

    Dave Shuger

  • Get status on ESXi 5.1 high availability Agent

    Hello everyone!

    Anyone has any script to check the status of Agent of ESXi 5.1 high availability?


    Thank you

    Rafael Nunes

    Hello

    OK, try this, I check on my side and that's ok.

    Get-VMHostService [ESX] |  Where {$_.} Key - eq "vmware-fdm"}

    And you can have a status of running.

    Kind regards

    Julien.

  • I have windows XP package #3. I get this message "Windows update agent having to install? When I say yes, he said is not available at this time.

    It should affect my ability to send photos by e-mail using Kodak easysoftware.  Whenever I try to send a picture, it says you must be connected to the server and I'm connected with ATT using my air card.

    These wireless internet connections are generally neither strong enough nor reliable enough to update your computer.

    Unplug the card (delete) the air then connect to the internet via a modem cable or ADSL (for example, to the to a friend or your local library). Now open Internet Explorer (only) to http://windowsupdate.microsoft.com . Select CUSTOM and scan | Install all security critical updates available (e.g. KB980182).  If an update of root certificates is listed in the category of optional software updates on the left side of the scan results window, install it to enjoy enhanced Internet Explorer security.

    NOTE: If IE8 is not already installed, do NOT install it via Windows Update! Just hide it ("don't show me this update") for now.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • L7680 two sides Scan available on windows 7?

    I have an automatic document feeder on my L7680 printer.  I want to scan a document both sides, but there is no option in the hp software interface to select double scanning.  I downloaded the latest driver/software package.  Is it available on Windows 7?  I was able to scan on 2 sides on my Windows XP system.

    Nevermind, I found the box for "scan both sides", instead of saying 2 Facer.

  • UCCE 8.5.4 - Whisper works not when agents are available

    Hello

    I configured the murmur to play for a group of skills, and it works only if the call is on hold, and no agent is available. When an agent becomes available, the whisper plays. However, if there are agents available at the time the call is sent to the queue to the node of the skill, the murmur does not play. If anyone has experienced this?

    Thank you

    Brian

    Group competence app_media_lib and media_server value in front of the queue and then test.

  • Side of system is not available

    "SYSTEM side is not available" in the basic view your computer (System), Windows 7 Ultimate information

    Hi Etno,

    Sometimes, a rating system is not available if your video drivers are not correctly installed. Run Windows Update and install all the drivers, that he you said and then try to freshen up your score and see if it works.

    I suggest you update the motherboard drivers on the manufacturer's Web site see the link below:

    http://Windows.Microsoft.com/en-us/Windows7/automatically-get-recommended-drivers-and-updates-for-your-hardware

    Refer to the section:

    "If your score base or void partitions cannot be updated" from the link below:
    http://Windows.Microsoft.com/en-us/Windows7/what-is-the-Windows-experience-index

    I hope this helps.

Maybe you are looking for

  • Add PDF files to create a large file

    That's what I would do: I have a .rar with many files folder it contains. In the main folder, there are about 10 subfolders.Each of those subfolders has about 15 PDF documents in them. I would like to take all 150 (15 PDF x 10 subfolders) PDF documen

  • downclock the GPU

    again, I have a dell E6400 laptop and I need to downclock the GPU to help w / overheating... can anyone help?

  • BlackBerry Q10 data wipe complete, now the options for specific contacts in his text...

    After a number of issues with my contact lists of duplication, overlap and texts sent in duplicate, level 2 at verizon support has me do a data wipe that solved the problem. now I can't make a sound, specific text for contacts. the option disappeared

  • Drawing RoundRect form of a customLabel does not form roundRect

    Hello I create a custom label field that was created successfully. Now, after that in order to have a round shape for this label in paint (Graphics graphics) I paint a roundRect and then again the label content (image and and a textString) top. Yes I

  • Display problems of color in some parts of the images

    HelloI use Lightroom (Current Version 6.5.1) for awhile now, but a few days ago from the colors in my photos started to get weird in some areas of the image. This effect doesn't ' affect all of them. Some are OK.  I tried closing using the graphics p