The multiple set command fails - cause snmp to crash:
* COMMAND:
./data/net/naamab/snmpset -m ALL -M /data/sw/snmp/snmp_mib_lnk/ -v 2c -c
private 127.0.0.1 nsCommonConfigDataForwardPolicyRouteNotifyRowStatus.10
i 4 nsCommonConfigDataForwardPolicyRouteInputInterfaceId.10 u 20
nsCommonConfigDataForwardPolicyRouteRoutingTableId u 22
* FAILED ACTION:
table_info = netsnmp_extract_table_info(request);
switch (table_info->colnum) {......} ==> cause snmpd to crash!!
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Dave Shield
Sent: Monday, July 30, 2012 12:35 PM
To: Naama Bar Menachem
Cc: [email protected]
Subject: Re: How to delete/add line from raw table?
On 30 July 2012 10:17, Naama Bar Menachem
<[email protected]> wrote:
> I said it does NOT exists... :)
Yes.
And I said good - this rules out one possible cause
> How do I set all three values at the same time?
List them all on the same command line
snmpset .... oid1 = val1 oid2 = val2 oid3 = val3
> Regarding the "read-write" and "read-create": I changes them all to
> read-create and recompiled using mib2c. no change in output 'c' file.
No - it won't change the code generated, or the behaviour of the
Net-SNMP agent.
Our MIB parsing code isn't particularly strict, and doesn't worry
about
this sort of detail. But strictly speaking, this is not a valid MIB
definition.
I suggested you fix this (and ran the MIB through smilint) to improve
the overall quality of your MIB file - not because it would help in this
particular
problem - but because better is better :-). That's why it was a PS,
rather
than part of the main response.
Dave
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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