Table DCI

Started by Newbie_J, September 04, 2023, 04:59:34 PM

Previous topic - Next topic

Newbie_J

Hi

I would like to add table dci in linux agent. Please share some sample code of the agent in which we can create a table dci and fill its data from a table using predefined functions

Thanks and Regards 

Filipp Sudanov

Hi!

You can just grep agent sources for any built-in agent table name, e.g. Agent.SubAgents and you will find the code, e.g:
https://github.com/netxms/netxms/blob/master/src/agent/core/subagent.cpp#L301

Also, it's possible to configure external tables, this way agent would call an external process that provides table data.