Re: net-snmp snptranslate dosnt work for my MIB (snmpget does work)

2012-10-31 Thread avihai marchiano
Thank you all . mibs +MONITOR-MIB dosnt work, but adding below works: mibfile /usr/local/share/snmp/mibs/SERVRE-MONITOR-MIB.txt Thank you From: Jatin Bodarya To: 'avihai marchiano' Cc: Net-snmp-coders@lists.sourceforge.net Sent: Wednesda

Re: net-snmp snptranslate dosnt work for my MIB (snmpget does work)

2012-10-31 Thread avihai marchiano
::enterprises.MONITOR-MIB Expected ORGANIZATION (:): At line 14 in /usr/local/share/snmp/mibs/IDENTIFICATION-MONITOR-MIB.txt +--MONITOR-MIB(8075)    |    +--processCpu(1)    |    +--processMemory(2)    |    +--errors(10) From: Jatin Bodarya To: 'avihai marc

Re: net-snmp snptranslate dosnt work for my MIB (snmpget does work)

2012-10-31 Thread avihai marchiano
Is there a way to make it permenant ? I dont want to define per session or per computer restart. From: Jatin Bodarya To: 'avihai marchiano' Cc: Net-snmp-coders@lists.sourceforge.net Sent: Wednesday, October 31, 2012 11:41 AM Subject: RE

net-snmp snptranslate dosnt work for my MIB (snmpget does work)

2012-10-31 Thread avihai marchiano
I add my own MIB module to net-snmp. I put my Mib txt file under - '/usr/local/share/snmp/mibs' I see that if i change net-snmp files their the change is reflected , so this mibs are loaded correct. It seems that it not load my MIB file from there. When i run snmptranslate on my Mib like this: sn

Can i define OctectString with size of 10K

2012-09-20 Thread avihai marchiano
I am running on Ubuntu and using net-snmp to implement my own mib module (simple scalar module).     static char errors_value[1];     void init_monitor_snmp_agent(void) {     const oid errors_oid[] = { 1, 3, 6, 1, 4, 1, 8075, 10 };//In this we dont add the 0 at the end     strcpy(err