[AGENT++] Best way to configure Agent++?

Mr. AWD mrawd at excite.com
Wed Jul 28 19:44:02 CEST 2004


I see…

Well that mean that I will have to write some kind of parser for the agent that I use. Would there be a benefit to add such feature to the agent++ once it is done? 

Right now the plan is to have a file with all the necessary items in there, which will be read at the startup of the agent. After reading everything will be checked and wrong fields will be thrown out of it. Then the file will be rewritten with a new content. The parser will most like be written as a class object that will take care of all details.

My guess is that the most of the init code from the main.cpp will be moved to the parser and read from the file. Is there anything that would make sense to add to better fit to the agent++?

Fedja


--- On Fri 07/23, Frank Fock < fock at agentpp.com > wrote:
Hi Fedja,

currently, there is no "standard" way. I have thought about an XML
config format, but due to lack of resources (time) there is still no
implementation available. One of the problems that exists with
XML is the overhead for the parser. My objective is to have the XML
configuration ready this year (4th quarter).

So you will have to choose your way...

Best regards,
Frank

Mr. AWD wrote:

>Is my question out of line or there is just no one to help? :)
>
>Fedja
>
>--- On Wed 07/21, Mr. AWD < mrawd at excite.com > wrote:
>Hi there!
>
>I am using Snmp++ and Agent++ for both Linux and Windows platforms (Linux has priority tough) and implemented most of the features from our MIB. Now, I need to figure out how to configure the agent, so potential customers could tweak it as they need to.
>
>What is the best way to do this?
>
>So far majority of my experience is with SRI agents and they used configuration file for their task. Is there something similar for the Agent++?
>
>Any help would be appreciated!
>
>Thanks
>
>
>Fedja


_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



More information about the AGENTPP mailing list