Recovery of the properties of the Agent

It's really very frustrating because it seems that the quest has not published this very well.  What I do is very simple: I need to get the name of host name and the instance specified in the agent configuration programmatically.  We do it because we are auditing our surveillance capabilities, so we need to know with certainty which of our database are in surveillance.  Head scripts against the consoles to compare a known inventory of instances of database against the agents that are configured in Foglight.

I have most of the way.  I'll first build it as a rule so that I can the scope on a particular topologyObject - say DBO_Usability.  From there, in the request for enforcement condition I add the following:

CS = server.get ("ConfigService")
Agent = cs.getAgentInstancePrimaryAsp (scope.monitoringAgent.get ("type"), scope.monitoringAgent.get ("type"), scope.monitoringAgent.id.toString ())

agent.getString ("monHost")

It seems to be the configuration agent very well, but when it actually comes to return the value in the field of monHost - nothing.

I use this same basic method to set properties agent all the time, and he works to define it... but not to do SO.  Why is this?  For example, I can set the agent properties very well in the snippet below.

def config = server. ConfigService.getAgentInstancePrimaryAsp ("DB_Oracle", "DB_Oracle", agent.id)

Set the configuration Options
config.setValueByString ("monHost", monHostName)
config.setValueByString ("monInstance", monInstance)
config.setValueByString ("monListenerPort", monPort)
config.setValueByString ("monUserName", fogDBUser)
config.setValueByString ("monPassword", fogDBPass)
config.setValueByString ("osConnectionTypeUnix", "LOCAL")

config.setValueByString ("osListenerListUnix", "$newListName")

Save the new settings
Server. ConfigService.saveConfig (config)

Why can't use the same method and call the function getString() in the IASPStruct?

Hi Ronald,.

The expression "scope.monitoringAgent. ID"Gets inside (and only) property to the ID of the object of topology representing agent." It is not the ID of 'management '. the agent in most cases the value of this property is null. The call resulting in getAgentInstancePrimaryAsp (...) returns the agent default properties object, not the one that has been configured for this specific agent. I suppose that "monHost" and other mentioned properties are simply not defined in the default properties object. Please try to use 'scope.monitoringAgent. agentID"instead.

In addition, the first parameter of the getAgentInstancePrimaryAsp (...) method is namespace configuration of the agent, not its type. Although the namespace configuration is the same as the type of agent for many agents is not recessarily so. Correct for a subject of topology Agent configuration namespace is "scope.monitoringAgent.pluginName" ("plugin" is the legacy for configuration namespace name).

See you soon,.

Dmitri.

Tags: Dell Tech

Similar Questions

  • Properties of the Agent Foglight FMS 5.6.7

    Morning,

    As you can gather, I'm new to this software. I have another question related to installation. I am currently at the stage of the development of events and monitoring service in the Agent Properties screen

    How to set up IIS monitoring? I read that this is carried out using the cartridge of the Infrastructure, is this the case? I ask the same question about windows processes.

    If you are simply interested in monitoring the process and availability you can do with an agent of the utility called appmonitor which is part of the supervision of legacy OS (works on windows and unix)

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/5646.monitoring-application-availability-using-Foglight-utility-agents

    If you do not look for surveillance that include things like the IIS Web sites, etc. application pools the right agent is the agent of .NET.

    http://eDOCS.quest.com/Foglight/567/doc/wwhelp/wwhimpl/common/HTML/frameset.htm?href=cartridge-APM/dotNetCartridge-install/index.php

    Hope this helps

    Golan

  • question about the deployment of the agent / agent.properties

    Hello

    I need to create a simplified agent deployment mechanism.
    Basically, I'm in an environment of the seller.
    I don't have access to the entire area where the agent must be installed and I can't use ssh / key mechanism.
    But still I want to reduce human intervention to a minimum.

    So I created my own tgz, including an agent.properites.
    agent.setup.camIP = x.x.x.x
    agent.setup.camSSLPort = 7443
    agent.setup.camSecure = yes
    agent.setup.camLogin = hqadmin
    agent.setup.camPword = xxxxxxxx
    agent.setup.agentIP = * default *.
    agent.setup.agentPort = * default *.
    agent.setup.resetupTokens = yes

    Please note that I've changed resetupTokensto Yes.

    But that's what I'm not sure. It seems to work. install the tgz and just run the script initialization and everything good, but will be him renegotiate a new token each time?

    Is it possible to have a sort of pre generated token that I could integrate into the tgz?
    tell genereate the token on the server and then copy it in everywhere wherever he goes?

    Thank you
    Ben

    Hey Ben,

    I'm a new technical writer Hyperic. I work on documentation of installation/configuration of new or improved and scouring the user forum so I can understand what lack us in the current literature.

    Don't know if this will help, but here is my understanding of the mechanism of token.

    The token is generated the first time that the Agent starts, regardless of the setting of agent.setup.resetupTokens.   Setting and let this property to 'Yes' will cause a new token to be generated whenever the Agent is started.  It would be useful if, for some reason, a token got corrupted or deleted.

    I'm not aware of any way to manually generate a token.

    There is a doc page that attempts to address about reducing the user intervention required for the deployment of the agent here: http://support.hyperic.com/display/DOC/HQ+Agent+Deployment. I did not approve this content yet, so consider it "FWIW.

  • Increase the time of the ring on the phones of the Agent

    Hi Pros,

    I have an IPCC Express 4.0 Setup with CAD 6.1. When calling gets queued to an agent, if he does not respond within 3 rings, calls is redirected to a next available agent & agent moves to the State is not ready.

    Now, I want to increase the 3 rings to 5 rings. Is this possible? And if yes, then how do I do the same thing?

    Kind regards

    Pratik

    In the properties of the 'resource step select' or 'Connect' If you 'Connect', false to step "Select resource" you will see a 'Timeout' field The default value is 10 seconds. It is what controls how long the phone will ring at the Office of agents.

    Make sure that the timer is less than the response of IP phone ring if you have voice mail online agents (I recommend to have no voicemail on the line of the agent).

    See attached screenshot.

    Please evaluate the useful messages.

    adignan-

  • Recovery of the class factory COM for component with CLSID {3CE74DE4-53D3-4D74-8B83-431B3828BA53} failed due to the following error: 80040154

    When I run pdf reader applications, I get this error:

    Recovery of the class factory COM for component with CLSID {3CE74DE4-53D3-4D74-8B83-431B3828BA53} failed due to the following error: 80040154

    Hello

    1. you remember to make changes to the computer before this problem?

    2 are you able to open files from other Adobe programs?

    Follow these methods.

    Method 1: The problem is that by default, when the PDF program is used as a COM object, then it cannot be activated by the following accounts:

    (a) a Director

    (b) system

    (c) interactive

    How to solve this problem is to change the DCOM settings for the Application'S object.

    Configure DCOM

    a. click Start, type run in the start search field.

    b. type DCOMCNFG , and then press OK. (This will load the "Component Services")

    c. navigate to Component Services, click computers, my computer, DCOM Config application PDF.

    d. right-click and select Properties.

    e. Select the Security tab.

    f. in "Launch and activate permissions" select personalise and press change.

    g. press the Add button to select the "Network Service" account

    f. click on the OK button, and then test your application, it should work fine now.

    Method 2: If this does not help, you can uninstall and reinstall Adobe reader software and check.
    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    You can download the latest version of Adobe reader from the following link.
    http://get.Adobe.com/reader/

  • installation of the agent on the vmware ESX Server

    Hi, im trying to install the agent 2.7.6 on an esx server of vmware 3.01, somehow, the agent does not connect to the administration server, I opened the ports on the firewall of esx with esxcfg-firewall - openport port 7443 and 2144 but I still can not the agent to connect to the management server... everything I forget?

    Rgds

    Hi Nicky,

    We will clear up the confusion of port for the next version.  Regarding
    availability be yellow, I believe that it is through the combination
    the VMware API in 3.0 is much slower than ESX 2 times 20
    VMS exposes this recently fixed issue: http://jira.hyperic.com/browse/
    HHQ-437

    You can find a patch fixed the issue that should solve your
    lights of availability.  Let us know if that helps.  It is also possible
    to reduce the memory usage by disabling the plugins that vmware
    Buy adding to agent.properties:

    plugins.include = VMware

    You can also change the max heap size in agent.properties:
    agent.javaOpts =-Xmx128m

    On 15 January 2007, at 03:52, Haan Nicky wrote:

    > okay... It's already better... but first, autodetect didn t
    > work for hyperic settings, when you try to set it to 0 for the port.
    > He complains the port must be between 1 and 65535.
    > change the settings on the execution of the agent already has failed
    > either, so I killed the admin machine and deleted data
    > folder on the computer of the agent, after the reset and the
    > the right credentials and port 443 (Please note that the)
    > authd.client.port is 902... and not 443, check/etc/vmware/config
    > for this authd.client.port = '902', so I obviously thought that of
    (> What is necessary in the settings, maybe just state port 443 here?) I have
    > then started the inventory, which is quite long (10 minutes) and
    > memory and CPU was quite up on the esx Server (this is a double quad
    (> xeon machine with 16 concerts and about 20 vitrual machines running)...
    > the agent runs now, but somehow I think that the moment a large number,
    > availability is always on the yellow... I think that the agent
    > must refine even more here... on an esx 3.0 server there are only
    > 1 cpu and limited memory available for the linux Machinehote...
    > maybe it's not enough for the agent?
    >

  • State of the agent - HostName

    Is it possible to change the host name to the agent (WindowsAgent), located under AgentStatus? Are you forced to remove the agent and add it with the new host name?

    Under Administration | Agents | State of the agent.
    Select an agent
    Select Edit properties.
    The host at the top of the page (not the hostname on the bottom).

    The host name that appears at the top of the page is discovered by the agent's host name.

    It is an agent of property that cannot be changed. If you want to change it, you must delete and re-create the agent.

    As you note, the hostname associated with the measures collected is editable. This is the name that appears in the monitoring dashboards.

    Kind regards

    Brian Wheeldon

  • HP Envy all in one PC: Recovery Manager, the system restore is disabled by a virus

    Had a virus on my all in one PC envy after a free update to windows 10. Computer has been closing down could not get antivirus to work fast enough. After reboot system had disappeared. There is now no operating system. HP Envy Recovery manager, System Recovery is not highlighted, do not not the possibility to do a restore? Virus stronger than I've ever met. Thank you in advance.

    NIP

    Hello;

    Let me welcome you on the HP forums!

    It would NOT in fact the virus which prevents HP Recovery Manager to work.

    While Microsoft says there is no risk in the upgrade of Win10, because they allow you to believe that you can always return to your BONES and the original installation program within 30 days, the ugly fact of the matter is that the Win10 GoBack feature turned out to be unreliable - and when she fails, she can let machines in a State corrupted - that does not always happen , but it happens often enough to be a problem and you will get no warning beforehand that he goes to the trash your PC!

    If this is not enough, the Win10 upgrade is known, in some cases, corrupt partition recovery stored by the OEM that built the original machine. It's pretty much guarantee that no HP recovery will work: http://h30434.www3.hp.com/t5/Desktop-Video-Display-and-Touch/HP-Recovery-Manager-Blocked-After-Windows-10-Upgrade/td-p/5170752

    What you would really need to do, is to erase the entire disk and restore your PC using something known as HP recovery media.

    HP recovery media is a set of DVD and a CD or a USB key, which will erase the hard drive (removing all data, applications and settings, reinstall the original OS, drivers and utilities for HP. In some cases, you will be able to order a USB instead of discs. You must order at HP; they cannot be downloaded.

    You can look online for recovery from the paged media related: http://support.hp.com/us-en/drivers

    Once there, enter your product name or number. On your software page and download the drivers, select your operating system and version. Click on "Update". If the HP recovery support is available for your computer, down near the bottom of the page, you will see an entry for the command Recovery Media-CD/DVD/USB. Click on the symbol '+' to expand this entry and click on order to press for more details.

    Or, if you prefer, you can do the same by contacting HP Customer Service:

    If you live in the United States or the Canada, details are on this page: http://www8.hp.com/us/en/contact-hp/phone-assist.html#section1

    If you live elsewhere, contact details are on this page: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html

    NOTE: once you get through, stay on the line until you are finally able to talk to someone ' one - it can take a while!

    If you have difficulties to find a phone number, then try: 1 (800) 474-6836

    If HP no longer provides a recovery media for your model, a few other sites, you can check are: http://www.computersurgeons.com/ and http://www.restoredisks.com/

    Good luck

  • How can I disable the Agent updates from HP running?

    HP pavilion D4100Y

    Windows XP SP2 or 3 (not sure)

    No error message

    No recent changes

    Problem: The program "HP updates Agent" run frequently and on no particular schedule, certainly not the one I chose.  He takes over my computer for hours and using most of the CPU, fluctuating between 13% and 87% to 1 etc.3% at 6%, etc.. The computer crashes and I can not use it for something else. On the HP updates screen, I put updates on 'NEVER', but that did not work.  The programs always run. In the Windows Task Manager window, the program is called "Agent updates from HP".

    I find nothing on this problem in the base of support.

    How can I disable the Agent updates from HP running?

    Select your Start button, in the search box type 'msconfig' then msconfig.exe under programs.

    Look under the tabs "Services" and "Boot". Uncheck update HP agent, select 'Apply' and close.

  • Recovery of the P50-B-103 Satellite without losing created partitions

    Laptop: Satellite P50-B-103
    OS: Windows 8.1

    Hello

    I have created multiple partitions in my laptop Satellite P50-B-103 and I created the recovery DVDs 3.

    Now, I want to the recovery of the operating system and to ensure the partition that I created with therir files.
    When I tried the laptop with DVD recovery, I see that it is necessary to delete all partitions. Is it possible recovery remove computer laptop whitout my scores?

    Thank you.

    Hello

    In General, recovery image can be installed on two tracks:
    Recovery option - HARD drive (recovery image is on the HARD drive)
    -using the recovery DVDs

    When you use HDD recovery facility only C partition is deleted and the recovery image is installed. This option works with factory settings and structure partitions of origin.
    You changed the structure of the partitions and this option does not work, so it makes sense that you want to use created the recovery disc.

    Problem is that the image recovey procedure wants to create factory settings including the structure of the original partitions. Before recovery image installation starts the recovery of all the files will be copied to the HARD drive and then installed from there so I think that you can not install recovery image on partition defined without changing everything.

    Anyway, if there is a problem with your preinstalled operating system, reinstall the recovery image and then change the partitions again. It's not a big deal. You create recovery discs so structure of partitions of origin that includes the recovery image is not so important to you.
    Using recovery discs you can install recovery image whenever you want.

    Of course, before you start to install recovery image to data backup.

  • Want J010dx m7: windows will not start until after full recovery of the system with new HARD drive

    Hello world

    I need help here.

    My HP envy m7 J010dx works perfectly with my original hard drive (1 TB).

    I am preparing a second HDD (NEW 320) as backup.

    I took off the Moose HDD (1 TB) and replace it with the NEW HARD drive (320GB) and try to do a full recovery of the system with the HP recovery DVD.

    After full system recovery and laptop computer needs to be restarted in order to continue, the laptop keeps restarting on the logo of windows 8.

    I think it says device not found Boot. Also a test using the UEFI tool material HP and all pass.

    Replacing the NEW HARD drive with the original of the old HARD drive and it start normally.

    What can go wrong here in this case? Thank you very much for the help.

    Concerning

    John

    OK, I read through the thread and this is my point of view on this based on works including restore process with the user created a recovery (UCRDs) media which the user indicated that they used.

    If you just want to jump to the conclusion at the bottom, you can see my opinion. If you want to know 'why' Please read the entire post.

    Model No.: m7-j010dx

    Product #: E0K83UA #ABA

    Ships OS: Windows 8 (64-bit)

    Recovery HP part No. Kit: 730336-002 (3 DVDs + extra)

    User replaced the HARD drive with a 1 TB hard drive 5400 RPM with HP ProtectSmart hard drive Protection a new hard drive is a Seagate Momentus 7200.4 ST9320423AS 320 GB 7200 RPM 16 MB Cache SATA 3.0 GB / s 2.5 "Notebook internal hard drive.

    With the help of UCRDs sent media recovery media (SSRDs):

    When the UCRDs are created, only the drivers for the HW operation (this is a critical point, that I will look later) are burned to the user created a recovery media.  Consider this a snapshot of the current HW, the base drivers and software applications.   If you change the HW on your laptop or desktop where the additional device requires a different driver for these features, a few questions you might - recovery process could stop because he can't find the right driver, a blue screen, a lack of start-up or other unstable system.

    A few years ago, I had a PC that would not recover because the Blu - ray (ODD) optical disk drive did not work.  I replaced the WEIRD Blu - ray with a generic DVD/CD burner into the new part of Blu - ray is presented.   I got the PC using SSRDs thinking I would put some time and just install the Blu - ray after the PC has been recovered.   The PC recovered and when the new Blu - ray showed I installed the unit and guess what?  All PCs have shown in Device Manager and applications was a generic ODD - no Blu - ray capability and ability to read Blu - ray content in the default HP provided for multimedia applications delivered with the PC.  Applications were there but no Blu - ray capability.

    Huh?  It looks that I did not put any time at all.

    I inserted the new Blu - ray ODD and distributed recovery with the HP SSRDs.

    After recovery, I had all the Blu - ray drivers and applications supported Blu - ray.

    The difference between UCRDs and SSRDs:

    UCRDs provide a glimpse of what is installed and functional both disks are created.

    Version Digest of the player on what is happening with SSRDs to retrieve a PC (before Windows 10):

    SSRDs have all the drivers for all the HW and SW qualified for the unit.  There may be several drivers for hard drives, different types/screen resolutions, sides, etc.  Based on the characteristics of the specific laptop / desktop a process is run called "Do / don't.   After entering the recovery SDRD, the Notebook media boots to Recovery Manager.  The first step is a raw copy of all the contents of the disc on a temporary partition.  Following the Do / do not process looks at the characteristics of this specific unit and remove all other drivers and applications not used by this device.  Drivers and the only successful applications are the features supported.   And then, the new operating system and recovery partition is created.   The PC end recovery of cleaning process and restart the laptop / desktop. And, Yes, you guessed it, if you create the user created a recovery media, you only have the drivers for HW devices and applications of HP on the PC at the time.

    So, that being said, what could be the cause/solution?

    Hard drives can be different enough so that a different driver (not the UCRDs) is necessary for the newly installed HW.

    The SSRDs are supported on the new HARD drive installed?

    I don't know, I have an office boy, and I have not tried on this model of laptop.

    If you have / acquire SSRDs, I recover the laptop with the new installed HARD drive and see if it works.  It may or may not.  I don't know what drives were qualified for this laptop.

    If this does not work, the last option is cloning via USB connection (old HARD drive in the PC, new HARD drive connected to a USB 3 via the SATA Adapter (dongle) USB port, install or download software cloning and cloning the old HDD to the new.)   I just did this on the two older Windows 7 computers laptops using a SanDisk Ultra kit.  He has worked on both units.

    Conclusion:

    I don't think that the problem is caused from a HARD drive of 1 to a 320 GB HARD drive, as it meets the minimum specs for a complete installation.  I think the problem is related to the use of UCRDs to retrieve and the UCRDs do not have the HARD driver/firmware/application disc.

    But then again, I know.

    I am an employee of HP...

  • I can do recovery without the disc?

    Hello

    I put t have a recovery disk. Is it possible that I can do a recovery without the disc?

    Hello Adrian

    It's the same thing if someone asks you to follow you: can I drive the car without the steering wheel?

    You will not be able to recover without recovery media, but you can install the operating system using the facilities of Microsoft CD. Download page for all the drivers, tools and utilities that you can find on Toshiba.
    http://EU.computers.Toshiba-Europe.com > Support and downloads.

  • Win7 64-bit (pre-installed original), recovery for the 32-bit dvd disk

    I just bought new laptop toshiba L500-208 recently. And I have absolutely no idea how to deal with this new kind of things! Please help me!
    I had a number of compaq for 5 years, when I have the format window just use 1 cd and this finished!

    But now that I do not understand I have win7 64 bit (when I bought it), but I have the 32-bit recovery disc.
    I want to know that if I portable format and use this recovery disk, I won't lose 64 bit, right?
    What happens if I have 64 bit for installation next, what I have to do? Please help me too...
    Thank you very much!

    Hello

    The situation is simply. If you check the market of PC and laptop, you will see that new products will be offered with operating systems 64-bit.
    So, the production of software goes slowly in that direction.

    Toshiba offers all new notebook with 64-bit operating system, but also provide you with the 32-bit version if you feel comfortable with it and if you want to use some software not designed for 64-bit operating systems.

    Your laptop comes with the HARD drive recovery image and if you read s manuals you can find info you need to create own recovery DVDs.
    This can be done with the preinstalled Toshiba Recovery Disk Creator. The shortcut for this tool, you can find on the desktop.

    So, before you anything please create this installation disc. After doing this, you can install the 32-bit version and use so long desired.
    When you want to have the 64-bit version to use the new created the recovery for the installation disk.

    I hope you now understand how it works.
    If you have any other questions please let me know.

  • Satellite L450 - how do you start the recovery from the HARD disk?

    Hello world

    I just joined the forum and already I need help.

    I have 2 questions (10) I'm an ODP, and I volunteer for a local blind group who all have laptops and rewrite the textbooks in braille users. Now a desire to know how start recovery from the HARD disk drive and what you should do disks for this.

    and (2) another received a laptop computer Toshiba A 100 and it does not start as soon as the Toshiba screen appears it lacks a password, we tried all kinds of passwords, tails of start and a new record of program but it does not start. Can anyone help please.

    Ken

    For instructions how to recover a Toshiba laptop with verification of HARD drive recovery procedure please this document > http://aps2.toshiba-tro.de/kb0/HTD9102IR0000R01.htm

    The Satellite A100, I presume that you need BIOS password. Unfortunately, there is nothing you can do about it. Accredited maintainer Toshiba can remove the password for you.

  • Satellite L670D - issue of recovery on the new HARD drive

    Hi all.

    I actually sent this support Toshiba has a few days ago, but still have received no response and thought I would try this forum.

    That's the problem; the hard drive of my laptop is a failure, I had warnings to create a backup and replace the drive hard as soon as possible. I have done this and have mounted with success the computer with a new brand Hitachi 500 GB hard drive, with no problems.

    Then, I entered the program installation and makes the dvd the first boot drive. The first disc of recovery in the drive and it starts perfectly and started the process. I then went through the recovery procedure with the DVD 3 x on my computer, it seemed to work flawlessly, and after inserting all 3 disks in the order as requested, I was instructed to remove the final support.

    I have reset the boot hard drive and windows started normally until I got to this point. "the installation program starts services. Then comes a pop-up window saying; "windows could not complete the installation, to install windows on installation, this restart of the computer.

    Of course I tried to start in a few other ways to the f8 advanced boot options, but he always does this same thing.

    I can't imagine what the problem is that everything seems to go well until this?

    Hope you can help me solve this problem.
    Thank you
    Malc Fisher

    Hello

    Only thing I would say is that you need to install recovery image again. Please try it out and post comments.
    It will be interesting to know if the same thing will happen again.

Maybe you are looking for

  • AutoFill transitions

    Hi people, Does anyone know how to set iMovie to AutoComplete of transitions to save me having to copy them into each time after each clip? I use the latest version of iMovie. Concerning Mark

  • problem of attach files to emails

    Just bought a new pc and I use windows 8 and have a yahoo email address, but I can't attach any file to my e-mail. When I add the attachment, it comes, goes round but don't cling. Any ideas?

  • sys_refcursor

    create or replace procedure p1 (one in sys_refcursor)isb emp.ename%type;Startlooplook for one in b;exit when a % notfound;dbms_output.put_line (b);end loop;end;/procedure is created but the execution:StartP1('SCOTT');end;/ERROR on line 2:ORA-06550: l

  • error in a WPF application using oracle.manageddataaccess.client

    HelloWe have problems with a WPF MVVM using Oracle.ManagedDataAccess.Client application. We installed oracle.manageddataaccess.dll release 12.1.0.1.0 on a developer machine with 64 bit of Windows 7, Microsoft Visual Studio 2013 and Microsoft .NET Fra

  • No host available to VCC

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2064580Hello, I get the alert in the image attached when trying to create my first provider VDC.  I'm under vCenter vCloud Director 5.5 and 5.5.  I