On Tue, 2010-06-08 at 14:47 +0530, Prakash wrote:
> Hi all,
>
> I used the following code to register string type scalar
>
> netsnmp_handler_registration *reg;
> netsnmp_watcher_info *winfo;
>
> oid abcName_oid[] = {1,3,6,1,4,1,3286,13,5,1,1,3,0};
> char abcName[256] = "ABC Default value";
>
Den 08-06-2010 11:17, Prakash skrev:
> But I am getting Hex-STRING value..
because the string contains a lot of non-printable bytes ... It would
not make sense to declare it a printable string with all those 00 bytes
and other strangenesses in it.
/Niels
--
Niels Baggesen - @home - Ã…rhus - De
> On Tue, 8 Jun 2010 10:49:56 +, "Sahu, Madhusmita (CMS)"
> said:
MS> Could you pls let us know about the max num of trap destinations
MS> that can be set in "snmpd.conf" file.
It's more limited to the resources of the machine (eg, memory) than the code.
--
Wes Hardaker
Please mail
Hi all,
I used the following code to register string type scalar
netsnmp_handler_registration *reg;
netsnmp_watcher_info *winfo;
oid abcName_oid[] = {1,3,6,1,4,1,3286,13,5,1,1,3,0};
char abcName[256] = "ABC Default value";
reg = netsnmp_create_handler_registration("abcName", NULL, a