>>>>> On Mon, 02 Aug 2004 03:35:49 -0600, [EMAIL PROTECTED] said:

haris> oid company_variables_oid[] = { company};
haris> struct variable4 company_variables[] = {
haris> {LOGFULLPERCENT, ASN_INTEGER, RONLY, var_company, 1, {1 }},
haris> ...
haris> ...
haris> {DISKFULLPERCENT , ASN_INTEGER, RONLY, var_company, 1, {25 }}
haris> };

haris> oid company_table_variables_oid[] = { company,26,1};
haris> struct variable4 company_table_variables[] = {
haris> {IPINDEX, ASN_INTEGER, RONLY, var_company_table, 1, {1}},
haris> {IPENTRY, ASN_OCTET_STR, RONLY, var_company_table, 1, {2}}
haris> };

That won't work because your ranges are overlapping.  Try the
following instead:

  oid company_variables_oid[] = { company};
  struct variable4 company_variables[] = {
    {LOGFULLPERCENT, ASN_INTEGER, RONLY, var_company, 1, {1 }},
    ...
    ...
    {DISKFULLPERCENT , ASN_INTEGER, RONLY, var_company, 1, {25 }}

    {IPINDEX, ASN_INTEGER, RONLY, var_company_table, 1, {26,1,1}},
    {IPENTRY, ASN_OCTET_STR, RONLY, var_company_table, 1, {26,1,2}}
  };



-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to