[AGENT++] limit on Log size

Ramasubramanian Venkataraman venkiram_be at yahoo.co.in
Thu Oct 23 12:19:17 CEST 2008


Hi Jochen,

Thanks a lot for your comments. I disabled unneccessay log levels and my agent performance is better now.

I have one more question to you.
im loading all the usm users from a config (flat file). i got an error "UsmUserTable: Unsupported privProtocol: (4)" for AES128 PRIV protocol.

From the source dode i could see the suport of AES128. But i dont know why im getting this error.

This is the complete log 

20081023.03:14:33: 18262: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (), (1.3.6.1.2.1.92)
20081023.03:14:33: 18262: (1)DEBUG  : Username: (cisco), (Security name), (cisco), (authProtocol), (3), (privProtocol), (4)
20081023.03:14:34: 18262: (1)DEBUG  : Priv Pro: (4)
20081023.03:14:34: 18262: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (4)
20081023.03:14:34: 18262: (1)DEBUG  : USMUserNameTable: Loaded all users from file


This is my sample input config file

FCFIGCFCFO
FCFIGCFCFO
FCFIGCFCFO
FCFIGCFCFO
HMAC-SHA
AES128

I dont see any problem with DES or NONE with Auth Protocol combinations. only AES128 has the problem
Thanks,
Venkataraman


----- Original Message ----
From: Jochen Katz <katz at agentpp.com>
To: agentpp at agentpp.org
Sent: Monday, 20 October, 2008 1:36:34 AM
Subject: Re: [AGENT++] limit on Log size

Hi,

> 1)Is there any limit on the LOG size

there is most likely a 2GB limitation, if you let the AgentLogImpl class
open the log file. And AgentLogImpl does not have any code that handles
log file rotation. So if you edit the log file, anything can happen.

> and will there be any impact to the performance if i enable all the
> logs.

Sure: The higher you set each level, the more log messages are written
to file.

> 2) Also is there any limitation on Concurrent SNMP request to the
> agent. My Client sends 5 set  request at a time and some times the
> agent hangs and could not recieve any response.

If the agent hangs, there is most likely some locking problem inside the
agent. If you see the agent hanging again, use a debugger to see which
threads are waiting for which mutex.

Regards,
  Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/


More information about the AGENTPP mailing list