[AGENT++] Query in Creating row

shylaja.siddappa at wipro.com shylaja.siddappa at wipro.com
Thu Apr 5 07:09:40 CEST 2007



Hi Frank,
	
	Thanks for your reply.

I would also like to know if is there any way to configure the Agent++
so that it will not store rows

in the Agent++ memory during creation of rows in the SNMP table.


Thanks,
Shylaja



-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: Wednesday, April 04, 2007 2:32 AM
To: Shylaja Siddappa (WT01 - Broadband Networks)
Cc: agentpp at agentpp.org
Subject: Re: [AGENT++] Query in Creating row

Hi,

You can use add_row while agent is running as well.
For SNMP based row management, the RowStatus TC is used. AGENT++ has the
snmpRowStatus class for that.
Added an instance of it as column and you are done.

Best regards,
Frank

shylaja.siddappa at wipro.com wrote:
> Hi,
>         I'm having problem when I'm use set functionality to create a 
> row in the SNMP table.
>  
> I went through the example code given in the atm_mib directory
>  
> As far as I understand,we have to create an index statically and then 
> have to set values to the attributes.
>  
> Can anybody please let me know whether my understanding is correct?
>  
> Is there any other way to create rows in the table without crating the

> index?
>  
> I'm providing the code snippet which I have written for creating the 
> row
>  
>  //adding the index of the row
>  Oidx id1("1");
>  Oidx id2("2");
>  
>   //adding the column values in the table
>   add_col(new
> agentppTestFmxUserPassword(colAgentppTestFmxUserPassword));
>   add_col(new
> agentppTestFmxUserAccessRights(colAgentppTestFmxUserAccessRights));
>   add_col(new
> agentppTestFmxUserLanguage(colAgentppTestFmxUserLanguage));
>   add_col(new
> agentppTestFmxUserWebCtPoolIntervel(colAgentppTestFmxUserWebCtPoolInte
> rv
> el));
>   add_col(new
> agentppTestFmxUserRowStatus(colAgentppTestFmxUserRowStatus));
>   add_row(id1);
>   add_row(id2);
> 
> .....
>  
> As a result,we can only add two rows with index 1 and 2.
>  
> But we need to create rows dynamically..i.e user will create row as 
> per is requirement..
>  
> Is it possible?if so how do we achieve that?
>  
>  
> Thanks in advance
>  
>  
> Regards,
> Shylaja
>  
> 
> 
> 
> The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
>  
> www.wipro.com
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com



More information about the AGENTPP mailing list