Re: Need help loading and traversing MIBs

2014-05-21 Thread Niels Baggesen
Den 14-05-2014 12:05, Odiee47 . skrev: > When trying to print_mib to file the program then fails. > > Any ideas what I did wrong here? Please elaborate "fails". How does it fail? How much did it write to test.txt? Did it even create the file (you should check the return value from fopen) When

notifications

2014-05-21 Thread LEONARD GOMELSKY
Hello everybody, I am about to implement snmpTargetAddrTable, snmpTargetParamsTable and snmpNotifyTable to send notifications to the targets, and I have 2 questions. For v2c notification, is the community in the notification packet in any way related to an entry in snmpCommunityTable? And for v

I need to know

2014-05-21 Thread Bass, Leon (contr-itd)
How can I view the MD5/SHA and DES/AES information on the SNMP configuration of a 3D 7030 appliance Leon Bass, CISSP, CISM, ITILv3 Classified Support Team Support Contractor for DARPA Mission Services Office, Information Technology Directorate Defense Advanced Research Projects Agency Office - 70

SNP upgrade - Solaris 10 SPARC 64 bit

2014-05-21 Thread settu.raju
Hi Team, We are planning to upgrade SNMP. Could you please provide the process method. Current version : NET-SNMP version: 5.0.9 We are planning to upgrade NET-SNMP 5.7.2.1 Thanks, Settu R This message is for the designated recipient only and may contain

Need help loading and traversing MIBs

2014-05-21 Thread Odiee47 .
Hi, I am trying to build an agent that could load specified MIBs and then query selected values. But when I try to print mib information via "print_mib" my application crashes. I'm using this code to load MIB netsnmp_init_mib(); read_all_mibs(); snmp_set_mib_warnings(2); //struct tree *tr = n

Re: Strategy recommendation

2014-05-21 Thread Highend-Digital Post
Am 22.04.2014 21:26, schrieb Niels Baggesen: Den 19-03-2014 17:12, Highend-Digital Post skrev: My general idea is to use asynchroneous SNMP_MSG_GETBULK requests which were restarted from within the handler after all previous data is processed. I would question whether GETBULK is the right appr

RE: Error in packet. Reason: Unknown Error with snmpwalk

2014-05-21 Thread Gefei Jiang
Hi Niels, Thank you for your response. I have solved the issue I reported earlier and is unable to reproduce the problem anymore. Thank you again. Gefei -Original Message- From: Niels Baggesen [mailto:n...@users.sourceforge.net] Sent: Tuesday, April 22, 2014 12:54 PM To: Gefei Jiang;

notifications

2014-05-21 Thread LEONARD GOMELSKY
Hello everybody, I am about to implement snmpTargetAddrTable, snmpTargetParamsTable and snmpNotifyTable to send notifications to the targets, and I have 2 questions. For v2c notification, is the community in the notification packet in any way related to an entry in snmpCommunityTable? And for v