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: [email protected]
Sent: Wednesday, October 3
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:[email protected]]
Sent: 31 October 2012 16:06
To: Jatin Bodarya
Cc: Net-snmp-coders@l
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/identificat
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.co
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: [email protected]
Sent: Wednesday, October 31, 2012 11:41 AM
Subject: RE: net-snmp snptransla
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
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
Found the solution of it...
Added "agentxTimeout 10" in snmpd.conf
in my
pooltable.h file I have changed cache value as below...
#define poolTABLE_TIMEOUT10
Now what should be the proper values ?? as my "time" command shows for
SnmpWalk is 9 to 9.7 seconds for eg. (1 rows
Hie Dave,
I have implemented C code using mib2c.create-dataset.conf ( with cache
enabled)
As in my getfield(tmp, 2); function I am reading CSV file and geting value
of 2nd column.
If I run this function on normal mode It is reading whole file with lakes of
rows... but with SNMP generated code If I