unsigned long int subnet_prefix = 0xfe80;
snmp_pdu_add_variable(pdu, smNetPartitionConfigSubnetPrefix_oid,
sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), ASN_OCTET_STR,
(u_char *)&subnet_prefix, sizeof(unsigned long int));
unsigned short int pKey = 0xfffc;
snmp_pdu_add_va
Checking out 5.2.1 and found that there are two files for interfaces
under mib-ii, ifTable and interfaces, which one should be used?
Thanks,
FT
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT
RS> That should be fairly reliable. I think it would be a fairly extreme
RS> condition where a trap would be lost. Mainly, you'd have to make
sure
RS> your application read the traps fast enough, so that the buffer
doesn't
RS> get full. You would definitely want to look into the new socket
buffe
On Tue, 1 Mar 2005 16:10:59 -0500 Michael wrote:
MPS> > I'm new to working with snmp, so I apologize if this is obvious, but if
MPS> > the OID requested corresponds to a table row, how does one return an
MPS> > entire table row using an external script called via pass_persist?
MPS> >
MPS> > I thi
On Wed, 02 Mar 2005 16:34:05 + Dave wrote:
DS> > KM> I have several counters that I need to register with the Master. Some
DS> > KM> of these have type timeticks in the MIB file.
DS> >
DS> > There isn't an existing function to do what you want,
DS>
DS> Oh yes there is!
DS> What about the 'sca
On Wed, 09 Mar 2005 12:25:01 -0500 Olsson, wrote:
OS> RS> I'm also unclear on whether or not using tcp would create/tear-down a
OS> RS> connection for each trap, or establish the connection once.
OS>
OS> Ok, I implemented a SNMP trap receiver (minimal version of snmptrapd)
OS> and found that the
I am having a problem with snmpset:
this is what I coded to add an integer to snmp set pdu:
int action = 2;
char type= 'i';
string action_str((char *)&action, sizeof(action));
pdu = snmp_pdu_create(SNMP_MSG_SET);
int rc = snmp_add_var(pdu, myoid, sizeof(myoid)/sizeof(oid), type,
action_str.dat
Hi All,
I have been searching through the archives of this
mailing list for information on porting net-snmp onto
vxworks but couldn't find much info.
If someone in here has already done it, can you please
provide me with some info on how to go about porting
and the issues that need to be addressed
Jude Amal Anand P wrote:
Hi all,
I tried using this simple snmpwalk cmd..
[EMAIL PROTECTED] root]# snmpwalk -v 2c localhost snmpNotifyTable
You did not include a community string. Depending on your configuration
this may or may not work.
and the output i get.. is
Timeout: No Response from localh