On 26 January 2012 14:18, Frank Renwick wrote:
> Using the VACM model in snmpd.conf, it is possible to restrict access to v1
> and/or v2c community strings based on source IP address of the initiating
> NMS host (the host issuing snmpwalk, snmpget, etc)
Strictly speaking - no, it's not.
The Net-S
2012/1/18 Usuário do Sistema :
> Thanks Dave, but it isn't work. follow what I done
>
> [root@testesq snmp]# snmptrap -Lf -c public /var/log/snmptraps
>
> I think I have change in an file.but where !?!?
Two things wrong with this.
Firstly, the next parameter after '-Lf' will be taken as the n
2012/1/18 Usuário do Sistema :
> now it's working. so...by default tha traps are put to
> /var/log/messages I whish change it to /var/log/snmptraps.
>
> how to can I reach this ?
$ man snmpcmd
LOGGING OPTIONS
The mechanism and destination to use for logging of warning and error
On 17 January 2012 13:51, Joel Hansell wrote:
> I think my Google-fu was weak when I emailed this, because I only now
> found another user with the same issue on Linux and net-snmp 5.4, and
> it turns out to be related to the "--disable-mib-loading" flag. All
> other factors constant, if I remove
On 16 January 2012 22:43, Francois Bouchard wrote:
> Yes I assume I've correctly installed the Net-SNMP perl module, because I
> can run the script mib2c.mfd.conf on the MIB test (NET-SNMP-TUTORIAL-MIB),
Yes, of course - the script is getting past that point. My mistake.
OK - next thing: what
On 13 January 2012 20:39, Simon Chamlian wrote:
> Now my MIB declares a NOTIFICATION-TYPE:
> I don't understand the OBJECTS part. Can we send the values
> of all these objects in the trap details?
Yes.
More strongly - you *must* send the values of all these objects
in the trap.
Dave
-
On 11 January 2012 09:13, wrote:
> It is found that NET-SNMP Agent sets the first UP and RUNNING interface IP
> address as the AgentAddress in the trap message send from the Agent to the
> SystemManager, instead of the IP address of the actual interface that is
> connected to the SystemManager.
On 13 January 2012 17:19, Francois Bouchard wrote:
> I cannot generate C code in the agent to send values for a table (my own MIB).
> The error seems to be that it search and Cannot find module (NetSNMP): At
> line 1 in (none).
>
> What Could be wrong ?
Let's start with the obvious - have you ins
On 12 January 2012 14:59, Greg Oliver wrote:
> Is there any way to use monitor to compare strings versus integers?
No - I don't think so.
The DisMan Event MIB is designed to work with integer values only.
(Well, strictly speaking the mteTriggerExistance tests
should work with any type of
On 12 January 2012 09:09, Harish Jadhav wrote:
> In persistent folder I found 4 index files which suppose to be 2
> as I am loading only two directories.
> I am wondering why it created 4 files at the first instance.
Pass.
If you look at these index files (which are simply text files),
then
On 12 January 2012 02:59, Greg Oliver wrote:
> I've been banging my head most of the day trying to make something work.
> I'm trying to use the monitor feature to trap (resulting in email) to
> notify me when another process's snmp engine is not responding.
>
> I have a mix of java jvms and regula
On 12 January 2012 06:01, Harish Jadhav wrote:
> I have compiled netsnmp 5.7.1 for windows version
> I am loading mibs from my application directory in the code using
> setenv(mibdirs,path, 0) but it is creating the index files in
> c:\\usr\snmp\persist directory.
Yes - that is correct.
> In ea
On 11 January 2012 21:31, Simon Chamlian wrote:
> I'm issuing the following snmptrap command:
>
> snmptrap -v 3 -u testrwauth -a MD5 -A "authentication test" -l authNoPriv
> 172.27.57.34 42 MPBC-RMH-MIB::mpbcRMH-Mon-HPU-State
What is the definition of the MIB object mpbcRMH-Mon-HP
2012/1/11 胡斌 :
> Running at freescale 8308,"Get" can work right,but "Set" return
> "NoSuchName",
How have you configured the agent?
What do the access control elements of snmpd.conf look like?
It's fairly common to allow read-only access,
so GET* requests will work, but SET will not.
If you d
On 10 January 2012 00:00, John Davidson wrote:
> How to I Stop the program from running?
Which program?
On what operating system?
How did you start it?
If you're talking about "snmpd" on a Unix-style box (including Mac OS X),
then you can terminate it by running "ps -ef | grep snmpd" (
On 9 January 2012 23:02, David Phillips wrote:
> I installed net-snmp-5.7.0-1.x86.. When I began to edit
> C:\usr\etc\snmp\snmptrapd.conf I discovered that the file was not present.
No - it's not installed automatically.
You should create this yourself with your favourite text editor,
or usin
On 5 January 2012 12:09, Kumar Sanjay-XJD784
wrote:
> I have configure the snmpv3 user password for
> authentication–SHA1
> and privacy-AES as “symbol123”
>
> But when I try to do the snmp operation with the password “symbol123” or
> “symbol123symbol123” or “symbol123symbol123sy
On 4 January 2012 10:28, Tao Zhou wrote:
> Thanks Bart for your quick response, I tested as your suggestion, as get the
> below result.
>
> $ grep SIZEOF_ config.status
> D["SIZEOF_SHORT"]=" "
> D["SIZEOF_INT"]=" "
> D["SIZEOF_LONG"]=" "
> D["SIZEOF_LONG_LONG"]=" "
> D["SIZEOF_INTMAX_T"]=" "
> D["
On 3 January 2012 18:36, Simon Chamlian wrote:
> snmpinform/snmptrap port number is set to 162 by default.
>
> Is there any way we can change the port number through command line or it is
> hard coded?
$ man snmpcmd
AGENT SPECIFICATION
The string AGENT in the SYNOPSIS above specifie
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time or
inclination to offer private, unpaid, SNMP consultancy. Keep
discussions to the list, where others can both learn and offer
advice. Thanks. ]
On 3 January 201
On 1 January 2012 10:50, Leila M wrote:
> I'm using net-snmp with gcc and I want to send requests to the snmp
> agent to verify the value of some oid.
> the problem is that the MIB containing those oids doesn't exist (in
> the folder containing the MIB files i.e .../usr/share/mibs/).
> how can I i
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time or
inclination to offer private, unpaid, SNMP consultancy. Keep
discussions to the list, where others can both learn and offer
advice. Thanks. ]
2011/12/30 朱飞 :
>
On 27 December 2011 12:30, Leila M wrote:
> environment: gcc 4.5 under Ubuntu 11.04
> I'm trying to implement a C application that sends an snmp request
> (snmp get) to retrieve some information (variables) from the local MIB
> but when executing the program it seems that it is not able to get the
2011/12/26 朱飞 :
> I have some puzzles on snmp trap. In fact, I have got my own mibs, but I
> dont know whether can I use only one Trap for all my 20 mib nodes which are
> not all in the same structure.
What are you trying to represent with this trap?
Remember that a trap is reporting an event - s
On 23 December 2011 21:12, Simon Chamlian wrote:
> Is there any explanation on -r RETRIES and -t TIMEOUT options of snmpinform?
man snmpcmd
-r retries
Specifies the number of retries to be used in the requests. The
default is 5.
-t timeout
On 22 December 2011 21:43, Simon Chamlian wrote:
> Actually,
>
> # snmpinform -v 3 -u testrwauth -a MD5 -A
> "authentication test" -l authNoPriv 172.27.57.65 42 coldStart.0
> Authentication failed for testrwauth
Is the user 'testrwauth' defined in the snmptrapd.conf file?
See the tutorial
On 22 December 2011 21:41, Simon Chamlian wrote:
> I tried:
>
> # snmptrap -v 3 -u testrwauth -a MD5 -A "authentication test" -l
> authNoPriv 172.27.57.65 42 mpbcRMHMon-HPU-State
Try loading the MIB file that defines this object -
either by using the '-m' option to list the name of the
On 20 December 2011 02:40, meijusan wrote:
> i find a bug in the net-snmp (5.4.2) and solve it ,how can commit it
> ?
Report the bug and solution in the project tracker
See
http://net-snmp.sourceforge.net/support/bugreports.html
I've just been working through some of the recently
On 19 December 2011 10:12, elisa scandellari wrote:
> I've got a problem when I do a get request on a table that contains
> Counter64 values.
> If I do a get request on a single value Counter64 the response is correct:
> When I try to do:
> snmpget -v 3 -a MD5 -A "passw" -l authPriv -u username
On 17 December 2011 12:00, Salah Abdulbaqi Ali wrote:
> Kindly, we need to have net.SNMP on top of our HP-UX IA64 11.31.
We don't have access to such equipment, so cannot provide ready-compiled
binaries. But you can always try compiling the software yourself.
Try retrieving the source code fro
On 12 December 2011 06:18, Rajshekar wrote:
> 3) For snmpv3 I created users like raj with noauth(no authentication)
> and many more users with auth and priv
What are the exact entries in the snmpd.conf file that create these users?
> 4) After which the snmpd.conf file will be created
On 16 December 2011 06:15, Kumar Sanjay-XJD784
wrote:
> Is there any function in net-snmp code to convert the OID from
> "1,3,16,15,1" to "1.3.16.15.1"
Is this a string comma-based representation,
or the contents of an oid[] array?
The APIs for displaying the value of an OID array are described
On 14 December 2011 09:44, rajshekar targar
wrote:
> i have downloaded net snmp for windows. i want to send traps for version 1
> using the command prompt
The snmptrap(1) manual page includes an example of sending a v1 trap.
Try that command
Dave
---
On 11 December 2011 09:34, h bagade wrote:
> I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some
> cases it works but in others it doesn't!
>
> I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation(
> 1.3.6.1.2.1.1.6.0) but couldn't set ipForwarding( 1.3.6.
On 21 December 2011 22:27, STOTTS Timothy
wrote:
> I have a solution. Instead of using the dataset API, I use the tdata API.
> Does mib2c use this API in any of its table-generating modes?
mib2c.table_data.conf
Dave
--
On 14 December 2011 19:17, Simon Chamlian wrote:
> Now I cannot create the C file.
>
> $ mib2c -c ../mib2c.mdf.conf MPBC-RMH-MIB
>
> You didn't give mib2c a valid OID to start with.
You need to give the name of a MIB *object*
rather than the MIB as a whole.
Try giving the name of one of the MIB
On 14 December 2011 17:00, Simon Chamlian wrote:
> Now I copied my MIB file MPBC-RMH-MIB into same directory.
Into which directory? /usr/share/mibs/netsnmp ?
> $ snmptranslate -m +MPBC-RMH-MIB -IR -On mpbcRMH-Mon-HPU-State
>
> MIB search path: /home/schamlian/.snmp/mibs:/usr/local/share/snmp
On 13 December 2011 18:31, Ryan Dowell wrote:
> I have
> been experiencing some issues with using a configuration file for an agentx
> subagent. I am finding that the separate configuration file for the
> subagent seems to never be read when the subagent is started
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Also, if I'm busy with my main (paid) work, it may well be
some time before I can respond.
Ke
> We have generated trap definition by extending our enterprise specific MIB
> module. However we did not find any function that could register this trap
Having defined the trap within the MIB file, you can now use the
'mib2c.notify.conf' template to generate a routine that will send
this trap.
On 10 December 2011 09:23, Eugene M. Zheganin wrote:
> I have question about dskTable 64-bit counters. Looks like they were
> added in 5.5, I have 5.7.1 but still can see only 2 TBytes of my disks.
> UCD-SNMP-MIB::dskTotal.4 = INTEGER: 2147483647
> UCD-SNMP-MIB::dskTotal.5 = INTEGER: 2147483647
>
2011/12/2 Elicia Syson :
> We noticed the snmpd rule changed in the
> snmp/masteragent/netsnmp/net-snmp/agent/Makefile.in file.
>
> net-snmp-5.4.1 Makefile.in:
> snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB)
> $(LIBTARG)
> $(LINK) $(CFLAGS) ${LDFLAGS} -o $@ ${LAGEN
On 5 December 2011 21:30, Tim Perrault wrote:
> I'm trying to set the OID "coDot11CurrentFrequency" to another value.
> But with v2c and using the private community (which allows me to set some
> system things like location), it still yields "notWritable":
The most likely cause is that the code
On 5 December 2011 21:27, STOTTS Timothy
wrote:
> Thank you for your answer Dave. However, your suggestion of using the varbind
> list only
> works for single GET operations of the table entries.
No - it ought to work for all requests.
> As a reminder, my table initialization code looks like t
On 6 December 2011 10:17, ashok kumar wrote:
> I have a requirement to implement for source-interface functionality.
>
> If the agent runs on a machine with more than one physical interface,
> the traps and informs always goes out through a particular interface
> (may be default interface).
> I wa
On 6 December 2011 07:21, shay naveh wrote:
> Is there already built-in parallel mechanism 'snmptrapd' ? e.x. 'snmptrapd'
> will listen for incoming traps from these local 'snmpd' instances and will
> redirect them to some receiver.
$ man snmptrapd.conf
:
NOTIFICATION PROCESSING
On 1 December 2011 22:51, wrote:
> I want to know how multiple subagents communicate each other?
Typically they don't.
The master agent will query individual subagents to retrieve
information from them, but one subagent won't normally talk
to anything else.
Dave
--
On 2 December 2011 13:56, Andreas Schnederle-Wagner - Futureweb.at
wrote:
> Output of server 1 (working)
> # df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/vzfs 1048576 283028 765548 27% /
> Server 2 (not working)
> #
On 2 December 2011 13:36, Andreas Schnederle-Wagner - Futureweb.at
wrote:
> the agent is vendor-supplied. Same Versions on both systems:
> Also the config options look the same:
Hmmm
OK - so the difference must be something to do with the two systems themselves.
What does the command "df"
On 2 December 2011 13:21, Andreas Schnederle-Wagner - Futureweb.at
wrote:
> using Nagios SNMP checks to monitor our Server HDD usage.
>
> With “snmpwalk -v 2c -c public localhost hrStorage” I get back all the
> needed information.
>
> … other stuff …
> HOST-RESOURCES-MIB::hrStorageDescr.31 = ST
On 1 December 2011 18:07, wrote:
> I compiled the example.
> But when I run it, it give me error
> ldd:FATAL: Could not load library libnetsnmpagent.so.20
>
> But libnetsnmpagent.so.20 is located in /usr/local/lib
I don't have any experience with QNX myself,
but on Linux systems, the dynamic li
On 2 November 2011 12:30, Koen Swinters wrote:
> Will net SNMP support RFC5608
If someone writes the necessary code, yes.
Though I'm not aware of anyone currently working on this.
Dave
--
All the data continuously gener
On 29 November 2011 18:30, wrote:
> I tried to compile the example of
> http://www.net-snmp.org/docs/man/snmp_agent_api.html
> With gcc snmp_agent_api.c `net-snmp-config --agent-libs`
> But I got error: net-snmp/net-snmp-config.h: No such file or directory
How did you install the software?
What
On 29 November 2011 17:15, Ofer Avitzur wrote:
> I am using net-snmp on an embedded device with relatively limited memory
> resources (64Mb to be specific)
> In my opinion adding this module [notification MIB] as the default
> configuration
> is very bad for embedded devices
I think our expe
On 11 November 2011 02:42, Vasanth Ragavendran
wrote:
>Apparently the passtest script had
> a tiny bug. The case statement which checks for a particular OID has been
> broken into multiple line but without any line continuation terminator '\'
> and which was
On 17 November 2011 08:03, francisco moreno wrote:
> My new problem is the "agentx/master". I tried run the scrip
> "dist/snmp-init.d" and this show the next message:
> ".: 10: Can't open /etc/rc.d/init.d/functions"
> I think that this message is because my system has not got the "rc.d"
> fold
On 17 November 2011 08:03, francisco moreno wrote:
> P.S. In other email I told you that I solved the problem with the
> installation. The problem was the "shell" that contain the "intallation
> scripts", some with "bash" and others with "sh". I put all script with the
> "shell bash". How there wa
On 27 November 2011 11:19, Naama Bar Menachem
wrote:
> What is the order in which these actions are executed?
> reserve1, reserve2, free, set, commit, undo.
>
> Is it true that on a success set action this is the order:
> reserve1 -> reserve2 -> set -> commit
Correct
> and 2 types o
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 25 N
On 23 November 2011 17:07, Nathan Harris
wrote:
> Working on monitoring our datacentre power meters using Zenoss I am getting
> a very strange issue
> [root@nlc1~]# snmpget -v1 -c public 10.3.9.11 1.3.6.1.4.1.29711.7709
> Timeout: No Response from 10.3.9.11.
> C:\usr\bin>snmpget -v 1 -c public 1
On 22 November 2011 19:28, Abhishek Kumar-Noida wrote:
> I am trying to get SNMPWALK from V3 however unable to do the same. I am
> getting SNMPWALK via V2 from same host however not from V3.
First question - how is the agent configured?
What access control settings are in place?
(Probably lines
On 17 November 2011 08:42, Miguel Toledano Ortega wrote:
> From this point there are two cases:
> 1) If I stop the snmpd in a controlled way and then restart it,
> the password is the expected one ("passwd_new")
> 2) If the snmpd is killed (kill -9, Ctrl+C...) and then restart it,
On 16 November 2011 15:38, francisco moreno wrote:
> I solved the install problem. The problem was that some "scripts" using the
> "sh shell" and others the "bash shell". I changed the symbolic link /bin/sh
> -> /bin/dash to /bin/sh -> /bin/bash. Then the intallation was successfull.
Do you know
On 14 November 2011 16:48, Eric Zerbib wrote:
> In my subagent I have re-implement some mibs module based on
> DISMAN-MIB module to allow sending custom alarm from my subagent.
>
> But this cause problems when I wants also use the same DISMAN module
> in some kind of configuration defined at the s
On 11 November 2011 13:55, Waqas Ahmed Khan wrote:
> The problem is
> this that net-snmp is detecting my ipv6 based windows and linux machines.
> but it is not detecting my CISCO routers and switches.
> But for CISCO Router it always gives this error:
>
> # snmpstatus -v2c -
On 10 November 2011 23:03, Dave Shield wrote:
>> Example handler code:
>
>> int index;
>
>> for (request=requests; request; request=request->next) {
>> index = request->index;
>
> Isn't this what you are looking for?
Sorry
On 11 November 2011 06:00, Mohammad Waqas Athar wrote:
> Is there a way to dynamically reconfigure snmpd settings without restarting
> it. I mean are there any IOCTL command, C api or signal handler defined to
> reconfigure agent settings other then editing the snmpd.conf and restarting
> agent o
On 10 November 2011 19:49, STOTTS Timothy
wrote:
> how would I determine the lookup index in the SNMP GET/SET?
> Example handler code:
> int index;
> for (request=requests; request; request=request->next) {
> index = request->index;
Isn't this what you are lo
On 10 November 2011 15:41, Simon Chamlian wrote:
> I think what he means (or what I mean) is to have one config file that
> converts the whole MIB file (which contains any possible object) into C.
If the MIB contains scalar objects, then the command I gave will do
exactly that.
If the MIB contai
On 9 November 2011 18:11, Suresh kumar wrote:
> i want convert entire MIB object to c/h file using mib2c at once
What do you mean by "converting the MIB object"?
What sort of MIB object(s) do you have in mind.
If these are scalar objects, then try
mib2c -c mib2c.scalar.conf MY-MIB::myTopL
On 10 November 2011 10:03, francisco moreno wrote:
> - I downloaded "net-snmp-5.4.4.tar.gz" package from sourceforge.
> - I unziped this (tar xzvf net-snmp-5.4.4.tar.gz) into "/etc" directory
> - I have installed "libperl-dev" library
> - Next, I followed the steps of installation (I saw
On 9 November 2011 20:43, Simon Chamlian wrote:
> After reading the tutorials for “Writing a MIB Module”, it seems that there
> are 3 methods of adding our own MIB into the agent:
>
> 1) Directly compiled in code
>
> 2) Writing a subagent (AgentX), which is another daemon
> that
On 8 November 2011 23:51, Anthony Jiang <2nth0...@gmail.com> wrote:
> 1 ./configure --with-mib-modules="examples/example" doesn't work.
> with this configuration, I still can't retrieve the value in
> NET-SNMP-EXAMPLES-MIB.txt modules
Correct.
The code in 'examples/example' dioesn't refer to
On 9 November 2011 12:48, Joan Landry wrote:
> Does anyone know if when you configure a unit for v3
What do you mean by "configure a unit for v3"?
The Net-SNMP agent is multi-protocol - by default it will
include support for SNMPv1, SNMPv2c and SNMPv3.
Which versions it will actually respond to
On 25 October 2011 16:16, joden <594866...@qq.com> wrote:
> when I set up the net-snmp on centOS 64bit server,to locahost,can get the
> date.eg:
> snmpwalk -v 3 -l authNoPriv -a MD5 -u 'username' -A 'pass' '127.0.0.1'
> 'sysDescr'
> SNMPv2-MIB::sysDescr.0 = STRING: Linux lolsigh 2.6.18-194.el5
On 25 October 2011 15:25, Hui Zhao wrote:
> #this directive works properly as well
> #monitor –s –r 10 highprocessorload hrProcessorLoad > 5
> #but this directive does not
> monitor –s –r 10 highmemoryusage hrStorageUsed.1 < 100
This is monitoring a single instance, rather than a MIB object.
On 2 November 2011 21:10, Winans, Don C (IS) wrote:
> I’m having a problem in a Perl script with the $sess->set($vb) command when
> the $vb value is defined in the MIB as an enumeration.
> The MIB object is defined as below. When I attempt to set
> iciProtocolIpAdmin = reinitialize the value
On 8 November 2011 17:06, Simon Chamlian wrote:
> # snmpusm -v3 -u initial -l noAuthNoPriv 172.27.42.191 cloneFrom wes
> initial
> Error in packet.
> Reason: inconsistentValue
Try either
snmpusm -v3 -u initial -l noAuthNoPriv 172.27.42.191 create
wes initial
or
snmpusm
On 27 October 2011 10:21, Miguel Toledano Ortega wrote:
> - When I want to change the engineID, I remove the persistent one and
> launch the snmp daemon only with the human-readable. Then the persistent
> file is re-generated
> [but] the new usmUser lines does not
> includ
On 28 October 2011 21:14, Juan Carlos Franzoy wrote:
> I've configured a trapsink in snmpd.conf. As long as I understand, trapsink
> instructs snmpd to send snmpv1 traps.
Correct
> Then from an agentx connected subagent I send a trap:
OK - remember if you are sending notifications from an Agen
On 8 November 2011 14:38, Simon Chamlian wrote:
> I tried the following:
> # snmpusm -v3 172.27.42.191 create initial wes
> snmpset: No securityName specified
>
> # snmpusm -v3 -l authNoPriv -a MD5 172.27.42.191 create enzo1 simon1
> snmpset: No securityName specified
If you are going to use SN
On 8 November 2011 10:03, francisco moreno wrote:
> I have made "ls /var" but I don't find the "agentx" directory.
That's nothing to worry about.
This directory will be created when you run the agent.
> I think that the compilation was not good because I made "make test" and it
> do not works!
On 8 November 2011 08:55, ashok kumar wrote:
> rwuser myuser authPriv
> createUser myuser SHA -l 0x0001020304050607080900010203040506070809
> AES -l 0x00010203040506070809000102030405
So you are setting the localised keys directly,
rather than via a pass phrase.
> The snmpwalk throws the f
On 7 November 2011 22:24, Simon Chamlian wrote:
> 1) In snmpd.conf, I added:
>
>
> rwuser initial noauth
Have you got a 'createUser initial ... ' line anywhere?
Dave
--
RSA(R) Conference 2012
Save $700 by Nov 18
Regi
On 4 November 2011 06:08, Venki wrote:
> Inform response/Get or set Request will be handled as explained below in
> SNMPv3 Mode.
Are you telling us about behaviour that you have actually seen,
or asking how the agent works?
> Problem is that if multiple informs(say minimum 2) are sent
On 3 November 2011 15:21, Simon Chamlian wrote:
> What does mib2c do?
It produces _template_ code for implementing a MIB module.
You would take the generated code file, fill in the gaps, and
compile it into the SNMP agent (either a native agent for the
system you are developing on, or cross-compi
On 2 November 2011 21:06, Simon Chamlian wrote:
> I launched the snmpd on the target with all config default values. Now I am
> trying to get a value of an OID without success.
>
> ---
> # snmpget -v 2c -c public 172.27.42.191 IP-
On 31 October 2011 18:51, Simon Chamlian wrote:
> I have an embedded board running Linux/net-snmp (TWR54418 from Freescale).
> [root@M54418TWR snmp]# mib2c -c mib2c.mfd.conf
>
> ERROR: You don't have the SNMP perl module installed.
Why do you need to create the MIB template code on the embedde
On 2 November 2011 09:33, Daniel Sanabria wrote:
> What does it mean the fact that the enclosure is not replying when I'm
> querying the enterprise OID?
Typically access control.
Is the enclosure configured to respond to this community string?
What happens if you query the 'system' group with th
On 31 October 2011 12:53, Jan Markus wrote:
> Is there really such a way? For example something like:
>
>snmpget ifInOctets.(of interface with ifDescr='ge-0/0/1')
This isn't something that the low-level tools (e.g snmpget)
can handle automatically. But you should be able to have
a simp
On 30 October 2011 21:20, shay naveh wrote:
> 2. /usr/sbin/snmpd -C -c /etc/snmp/snmpd.local.conf /tmp/test
$ snmpd -f -L -C -c $HOME/SNMP/snmpd-unix.conf /tmp/test
> snmpget -r 1 -v 2c -c public /tmp/test - doesn't work
$ snmpgetnext -v 1 -c public /tmp/test sysUpTime
DISMAN-EVENT-MIB:
On 25 October 2011 13:17, ashok kumar wrote:
> While I am trying snmpset with -v1 and -v2c, I am getting different
> reasons for errors.
>
> Why am I getting noSuchName for -v1?
Because that is the defined behaviour for SNMPv1.
See RFC 1157, section 4.1.5, step (1)
> I believe t
On 17 October 2011 12:32, anand anand wrote:
> I guess there is currently no way to tune these parameters to make them user
> configurable via snmpd.conf file or through a CLI.
Your guess is wrong.
Please read the 'snmpd.conf' and 'snmpcmd' man pages
Dave
---
On 14 October 2011 17:35, Cristian Marussi wrote:
> particular kind of event i monitor and i wonder if is possible to
> configure via snmpd.conf ALSO some additional Informs-related
> parameters such as retries and timeout, since, in a default config,
Yes.
If you want finer control over the setti
On 12 October 2011 13:20, anand anand wrote:
> Application code is part of subagent and not part of master agent ( snmpd ).
> Will it still work ?
Yes.
An AgentX subagent simply passes all notifications to the master agent,
which then sends them on to the configured sinks (using the appropriat
On 12 October 2011 12:39, anand anand wrote:
> So, will the Net-snmp agent send the Inform PDU automatically to the inform
> sink receiver. ?
Yes.
(Assuming that your application code is part of the agent,
and not a separate stand-alone application)
> If yes, then will it also perform the ret
On 10 October 2011 19:07, Joe Lorenz wrote:
> So is it true that '--enable-debugging' causes an implicit '-Dall' on the
> command line unless otherwise specified?
Yes - this is a special configure option to explicitly turn on all debugging
output. Just as '--disable-debugging' will explicitly t
On 10 October 2011 09:19, wrote:
> That was the problem, i mentioned community puplic as "rwcommunity".
We would strongly suggest that you change the community string
and use something *other* than "public" for this purpose.
Particularly since you've just told the world what your current
manag
On 6 October 2011 18:53, Sergey Prilutsky wrote:
> After we configured , compiled (make) and install (make install) of the
> net-ntmp 5.7.1 it puts files in different directories.
>
> Can someone tell me how to properly tar ball all of them with the direct
> path, so when we untar it, it will put
On 6 October 2011 02:37, Kaushal Shriyan wrote:
> Are there MIBS for storage and memory which can tell us the number
> of attached Harddrive or number of RAM Chips attached to the system
The HOST-RESOURCES-MIB::hrDiskStorageTable will list
the "long-term storage" devices attached to the system
(i
401 - 500 of 6666 matches
Mail list logo