Is it possible to set up an agent with an automatic expiration date?

Happy Friday!

Trying to see if there is a way to set up an auto with expiration date agent? If we have implemented some VM for a week, in place of the officers on them and then delete them a week later. We try to avoid a situation of a person: forget to remove the dashboard of surveillance officers or the removal of the bad agent of the dashboard.

Maybe someone has other ideas?

Looks like you want to remove the agent from the Hyperic server and then remove the agent itself automatically after a week. Is this fair?

I've not seen any native functionality for self destruction sort of speak. On the top of my head, you can set up a cron job to launch a week after its creation to remove the resource from the hyperic server and then remove the agent as long as you have hqapi on the machine.

I would like to know if this is something you are looking for.

0 12 13 6 0 /bin/agent_removal.sh

############################# Content of agent_removal.sh############
#!/bin/bash

id=$(./hqapi.sh resource list --properties="/path/to/properties/file" --platform="platform.name.in.hyperic"
hqapi.sh resource delete --properties="/path/to/properties/file" --id="$id"
/bin/rm -rf /location/of/agent/home

#id is the resource of the id of the platform which can be obtained by ./hqapi.sh resource list --properties="/path/to/properties/file" --platform="platform.name.in.hyperic"
# you can create a variable prior to the resource delete and pass that to --id

Tags: VMware

Similar Questions

  • Is it possible to set up SMTP authentication with the vCSA 5.5?

    Hello.

    I have a vCenter Server Virtual Appliance 5.5 and SMTP server that requires SMTP authentication with port 587.

    I found the advanced settings "mail.smtp.port", but I found no parameters as 'mail.smtp.username' and 'mail.smtp.password '.

    Is it possible to set up SMTP authentication with the vCSA 5.5?


    Best regards.

    No, can't be done.

    Set up a separate SMTP relay that would make authentication for you. as explanation then post

    Configuring vCenter for e-mail with SMTP authentication. Adventures in a virtual world

  • Is it possible to set up a site with a read-only ftp access

    I have a production server and a development server and work on a project with the non - DW users. Often, I need to download files from the production server, but never need to download to it (it's someone other responsibility).

    I have two FTP accounts for the production server, one with unlimited access with read-only. I would like to implement a DW site that uses the read-only account to get the files from the server. It would also prevent me from accidentally upload on this server.

    Unfortunately, I get permission denied errors when accessing the account read-only. I guess that's because the account does not write permission. I checked that the credentials work by FTPing the site using FileZilla and uploading a file.

    The DW FTP requires write to a GET operation on a file?

    Nevermind, answered this myself. It is possible, but the user must configure the site with the correct host directory.

  • Is it possible to set up my computer with Windows XP to limit the time kids spend on this subject?

    My kids use the computer too much and I want to limit the time spent on the computer to 2 hours per day. Is there a way to do this in Windows XP? I know you can do this with Windows 2000.

    Hi Suzana,

    Found some information at http://www.neowin.net/forum/topic/501603-restrict-logon-time-in-group-policy/

    I hope this helps.

  • Possible to have a trial without expiration date?

    In about two months, I will publish my opensource (bbssh) to App World app.   I would like to encourage donations; but certainly I can't oblige.  I thought that one way to do would be to set a price; but also understand a free trial which never expires.    In this way, those who want to pay can do so through the configuration of the appworld that already have in place, but they can continue to use the application without do the same.

    Is this possible to do?

    I don't see why not. App World does not force you to download trials that expire. You can use Try & Buy license static: download releases identical trial and "paid". People who want to use free can stay with the no expiration date "trial", and those who want to pay can upgrade to the paid version.

  • Possible to set the cache of management by file type rules?

    I have a large cache, thus being able to search through my history of navigation for web pages, and see previously clicked links regardless of how long I clicked on them, however, it occurs to me to avail myself of this advantage, that I also have to leave FF to cache everything - text & javascript of junk old cookies, and hundreds of dollars of megs of photos and flash bits that make the web look pretty.

    I'd like a way to set expiration dates on the cache according to the types of files, for example htm/html: never remove. Cookies: perhaps, rules-based, I put (possibility to add filters etc. would be cool), photos and videos: a week or two, etc...

    I guess that it does not yet exist as I can't find any reference to it during the search and it is defo not natively available via the basic interface. The amount of work would be to develop, and everyone would benefit from this service?

    Don't know where it would be better to discuss this, but you will normally not developers reading messages in this forum. Probably better to try to look at this list:

    You can ask a bug, ask such a feature, but it would be much better to try to find someone interested in the job or accepting to be first.

    It produces also tome that what you may be most interested is just history and not necessarily cache, because probably you just need the link retained rather than the content itself. You normally try again looking for the cache rather than history?

    The story itself now by default goes back very far and doesn't start to restrict things if bookmarks are too large. (Not too sure at the moment where the links are, but I remember changes in the algorithms may be a year or too ago).

    Another point is that short of copy your places.sqlite file has no way of history backup, there is no automated backups. (I know I accidentally erased history recently, the fake profile and not him did not support long)

  • Not possible to set the HDMI output as default screen on Qosmio G30

    It is not possible to set the HDMI output as default screen! This works only with VGA output. There is no option in the BIOS. According to support, Toshiba will plan any action for this useful feature.

    I use an external TFT with HDMI adapter DVI Cable and I want to have as default screen TFT. With VGA, it will work without problems.
    Any solution?

    Best regards
    Nicolas

    Hi Nicolas

    Very interesting question! In my view, HDMI port is to be used with the HD ready LCD TVs or plasma. Combination of connection HDMI and HD DVD movies, you can really have a HD on your TV picture quality.

    As you know the port is a standard VGA port to connect external displays. The image quality is very good and, in my opinion, you should not use HDMI port for the same. Do you perhaps the best image quality?

  • Hello, my Mac Mini was stolen before that I could save it to find my iPhone service.  Is it possible to set up another computer or device so I can find it? I have the serial number and and more.

    Hello, my Mac Mini was stolen before that I could save it to find my iPhone service.  Is it possible to set up another computer or device so I can find it? I still have the serial number and and other information.

    Nope

  • is it possible to set the background color of a table or chart to be transparent?

    is it possible to set the background color of a table or chart to be transparent?

    Thank you

    Yes.

    Select tools palette (view > tool palette) and set the background of the graph as well as the control in transperent.

  • Is it possible to set up for multiple users on the same computer to avoid entering the e-mail and the password

    Original title: Multi users

    Is it possible to set up for multiple users on the same computer to avoid entering the email and password every time that a new user want to check emails?

    Hello

    Welcome to the community forums of Microsoft and thanks for posting the question. According to the description, you need help in the creation of multiple user accounts. I've surely you will help find a solution on the issue.

    What is the operating system installed on the computer?

    User accounts, several people can easily share a single computer. Each person can have a separate user account with unique settings and preferences, such as a screen saver or desktop background. User accounts control files and programs users can access and what types of changes users can make to the computer. As a general rule, you'll want to create standard accounts for most computer users.

    If you use Windows Vista or Windows 7, see the article below:

    Create a user account

    http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account

    http://Windows.Microsoft.com/en-in/Windows-Vista/create-a-user-account

    For Windows XP users:

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783?WA=wsignin1.0

    Hope this information helps. Answer please if you have more queries about Windows.

  • Is it possible to set up workstations with 2 or 3 monitors each in MultiPoint Server 2011?

    Hello everyone!

    I have studied MultiPoint Server documents, but have not found the answer: is it possible to set up workstations with 2 or 3 monitors each in MultiPoint Server 2011? For example I have computer with graphics HD6970 and HD4790 (more HD4290 on board) and to 'split' in several positions - a high performance graphic with 3 monitors and 2 connected to HD6970 or 3 other workstations for internet/treatment of text with each, a lcd panel connected to HD4790 and HD4290 cards. So I could build small desk with a powerful station :).

    In other words, using windows terminology guide, one might wonder it is able to have the teachers with more than one monitor computer, while students have jobs with a monitor?

    (Subsidiary question is: what Eyefinity, is working for MultiPoint - assuming that the station with more than a graphics card?) Can't find any information in the deployment also guide).

    Kind regards

    Maciej

    Please transfer your inquiry in the most appropriate in Forum Windows Multipoint Server.  Thank you!

  • cartridge Q7516A: new cartridge Q7516A print in grey color. Is it possible to set on the body of the cell?

    New cartridge Q7516A prints light grey color. Is it possible to set on the body of the cell? The previous cartridge printed in black.

    Even if the results are evidence of failure with new toner cartrdiges, but it is best validated once the same thing with the help of your regional HP technical supports that will also help you open the request of changing cartridge toner under the applicable warranty.

  • Is it possible to set up a Vista account which can only download "microsoft updates" (that is, no other non-microsoft files can be downloaded or installed)?

    Hello

    Is it possible to set up a Vista account which can only download "microsoft updates" (that is, no other non-microsoft files can be downloaded or installed)?

    I know that you can create a 'guest account ' with essentially the rights of internet browsing. I would, however, allow for some more flexibility, such as if there are microsoft updates or antivirus updates, this account is permitted to accept these files. I fear that non-microsoft files such as google or yahoo toolbars settle.

    Thanks to anyone who can help us with that.

    There is no installation in Windows to allow this, and I can't say I've ever heard an Add on for Windows that would allow this.

  • Is it possible to set up a computer to turn on and turn off itself every day or on any selected date?

    Is it possible to set up a computer to turn on and turn off itself every day or on any selected date?

    Mine is a HP G72-b27CL running Windows 7 64 bit laptop.

    Yes can schedule a task to start the system using the option shown in the screenshot below:

    You can schedule a task to turn the system off by as shown in the link below:

    http://www.thespinningdonut.com/how-to-automatically-shut-down-your-Windows-7-computer/

  • is it possible to set up a dual boot, so I don't have to stop, and then pass the SATA cables that I boot to change?

    Original title: Dual boot

    My XPpro on a former player, was upward. then, I got another new drive, installed Win7Ultimate.  Well, I got the OLD disk works with XP on it.  But, some of these apps DO WORK not on Win7.  so, at least for now, I have two drives installed on the same computer.  is it possible to set up a dual boot, so I don't have to stop, and then pass the SATA cables that I boot to change?   Operating systems already are on 2 different disks.

    Hello

    How to set up a Dual Boot Installation with Windows 7 and XP
    http://www.SevenForums.com/tutorials/8057-dual-boot-installation-Windows-7-XP.html

    Definitive dual-booting guide: Windows 7, Linux, Vista and XP step-by-step
    http://apcmag.com/the_definitive_dualbooting_guide_linux_vista_and_xp_stepbystep.htm

    Dual Boot computer preinstalled Windows 7 with XP
    http://www.howtogeek.com/HOWTO/8790/dual-boot-your-pre-installed-Windows-7-computer-with-XP/

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for

  • Facebook is not working in Firefox 17

    A few weeks ago Facebook began acting strange in Firefox. I can't publish or share anything. Basically, I am limited to taste. It's as if the buttons do not work. I tried to clear my cache and delete my cookies but the problem persists. Any help woul

  • HP Jet 11 X 360: How to enter arbitrary ASCII codes in the absence of a keyboard?

    See https://support.office.com/en-us/article/Insert-ASCII-or-Unicode-Latin-based-symbols-and-characters-... Small laptops (like the stream 11) have no keyboard.  But, given that the keys on the keyboard are really different, there should be a way to

  • If I reinstall the original software, which removes the existing files from my hard drive?

    I accidentally deleted programs that my computer needs access to the Internet.  I tried the system restore, but nothing.  Can I re - install the original software without compromising documents on the hard drive? Thank you Jill

  • Dumb computer

    I have recently installed windows updates on my laptop and since the restart, I can not even use my computer. It is said wwindows was able to start. A recent hardware or software change might be the cause... then it gives me the option of startup rep

  • Lotus Notes to Outlook Express

    Hello I want to migrate my emails (.nsf), used in Lotus Notes 8 to Outlook Express. I would like to know if there is a loophole in OE or any freeware available online.Request for a less technical answer.Thanks in advance concerningSonny Rawlat