New Python Cartridge custom agent

I would like to use the new Python cartridge agent to develop an agent to collect Linux Huge Pages memory metrics from our database servers. I'd like to create it as a remote agent so I don't need to install a FglAM on the database servers. Can these Python custom agents take advantage of the credentials already defined in the FMS? If so how is that done?

If I can create a remote agent would it be best to create on agent instance per server monitored, or could I create one agent instance to monitor many servers? I could supply the hostnames to monitor as properties of the agent.

Any input would be appreciated.

Thanks,

Kris

  • Hi Kris,

    The Foglight Python Agent gets deployed in FglAM, so if you wanted to collect huge pages from Linux hosts, you would need to establish an SSH connection and as you said, reuse credentials.

    I did some research and IC-2445 is an enhancement to our Infrastructure (host) agents that should use the existing IC agent to collect huge pages.

    My suggestion, is you contact Support or your sales representative and mention you would like IC-2445 implemented. I will add a note to IC-2445 and contact our Product Manager and let him know about this request.

    Let me know your thoughts,

    Gaston.
  • Hi Gaston,
    It was was my enhancement request about a year ago (SR#3325424) that created IC-2445.
    While I was waiting for that I went ahead and created a custom script agent to collect those metrics. When we upgraded recently I thought I'd try the Python Agent as this was a simple agent and I thought it would make a good test case. I have it working as a replacement for the script agent but thought I might try something a bit more in depth, hence my question to the community about using Foglight credentials with the Python agent. If that isn't possible that's OK, I was curious.
    Thanks,
    Kris
  • Hi Kris,

    Thanks for the clarification. As I said I reached the Product Manager and linked IC-2445 to this thread.

    I also spoke to a developer and the Foglight Python Agent can not access lockboxes at the moment. It will be considered for future development.

    Regards
    Gaston.