Adding internal targets to #em12c agents manually

This post is meant to be more of a note for me to refer to later, but it is also good to share knowledge so here you go.

Note: Hostnames are blacked out for a reason. Commands are the same though.

Recently, I just installed an em agent using the silent install method I blogged about earlier (here). After installing the agent, everything was working fine and the agent could upload to the OMS. As I started to look around, within EM, I noticed that the host was not being monitored. I confirmed this by using “emctl config agent listtargets” in $EM_AGENT_HOME/bin.

In most cases, the agent installation, silent or otherwise, will pick up the host and turn the host from unmanaged host to manage host. Not in this case. So how can the host be discovered now?

In order to re-discover the host target on the machine, I needed to run “emctl config agent addInternalTargets”. This forced the agent to go out and rediscover the host and any potential targets on the host. Once it returns to the command prompt, then I ran “emctl config agent listtargets” again to verify that the host is now discovered.

Enjoy!

about.me: http://about.me/dbasolved

Please follow and like:
Comments
  • 然(しか)るに文武の業は自ら士の常職となりて、平生は廟堂に坐して政權を持し、一旦緩急あれば兵を執り亂を撥する等、獨(ひと)り士族の責(せめ)のみに委(まか)し、國家の興亡安危に至りては平民(へいみん)曾(かつ)て與(あづ)かり知らず、坐視傍觀の勢となり行きしは、全く中古封建制度の弊にして、貴重靈物の責(せめ)を私(わたくし)し、賤民をして愈賤劣ならしむる所以也。 そのため、西洋文明の積極的導入(「文明開化」)を推進し、地租改正や殖産興業で経済力をつけ(=富国)、徴兵制や軍制改革により軍備を増強(=強兵)することで国家の自立維持を図った。

  • Hi there! This post could not be written much better! Reading through this article reminds me of my previous roommate! He continually kept talking about this. I am going to send this post to him. Pretty sure he’ll have a great read. Many thanks for sharing!

Leave a Reply

Your email address will not be published. Required fields are marked *

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.