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 <jatin.boda...@elitecore.com>
To: 'avihai marchiano' <avihai...@yahoo.com>
Cc: Net-snmp-coders@lists.sourceforge.net
Sent: Wednesday, October 31, 2012 12:57 PM
Subject: RE: net-snmp snptranslate dosnt work for my MIB (snmpget does work)
Add it in snmp.conf, remove from snmpd.conf than restart the service, if you
cannot
find snmp.conf simply create it at desired location and add just a single
line in it !!!
From:avihai marchiano
[mailto:avihai...@yahoo.com]
Sent: 31 October 2012 16:06
To: Jatin Bodarya
Cc: Net-snmp-coders@lists.sourceforge.net
Subject: Re: net-snmp snptranslate dosnt work for my MIB (snmpget does
work)
Thank you!!!!
I tried your suggestion to add mibs to the top of my snmpd.conf file (i
restart service ) , but didnt work.
I added this line at the top of the conf :
mibs +MONITOR-MIB
However (asd you can see below) export MIBS=+MONITOR-MIB load the MIB
file.
root@test:~/workspace/identificationbox/Debug# snmptranslate -Tp -IR
SNMPv2-SMI::enterprises.MONITOR-MIB
Unknown object identifier:
SNMPv2-SMI::enterprises.MONITOR-MIB
root@test:~/workspace/identificationbox/Debug# export
MIBS=+MONITOR-MIB
root@test:~/workspace/identificationbox/Debug# snmptranslate -Tp -IR
SNMPv2-SMI::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 <jatin.boda...@elitecore.com>
To: 'avihai marchiano' <avihai...@yahoo.com>
Cc: Net-snmp-coders@lists.sourceforge.net
Sent: Wednesday, October 31, 2012 12:03 PM
Subject: RE: net-snmp snptranslate dosnt work for my MIB (snmpget does
work)
As I told you in previous mail
To find the location of snmp.conf you
can use :
snmpd -Dread_config -H 2>&1 |
grep "config path" | sort –u
u can get the path of
snmp.conf from here...then add a single line in it :
(the “example” path may be
/usr/local/share/snmp/snmp.conf or /snmp/snmp.conf (as per your
installation ))
mibs +TEST-MIB
then restart agent
From:avihai marchiano [mailto:avihai...@yahoo.com]
Sent: 31 October 2012 15:25
To: Jatin Bodarya
Cc: Net-snmp-coders@lists.sourceforge.net
Subject: Re: net-snmp snptranslate dosnt work for my MIB (snmpget does
work)
Is there a way to make it permenant ?
I dont want to define per session or per computer restart.
________________________________
From:Jatin
Bodarya <jatin.boda...@elitecore.com>
To: 'avihai marchiano' <avihai...@yahoo.com>
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)
To find the location of snmp.conf you
can use :
snmpd -Dread_config -H 2>&1 |
grep "config path" | sort –u
then tell the tools to load this MIB
(examples)::
snmpwalk -m +MY-MIB .....
(load it for this command only)
or
export MIBS=+MY-MIB
(load it for this session only)
or
echo "mibs +MY-MIB" >> $HOME/.snmp/snmp.conf
(load it every
time)
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders