On 19 October 2010 16:42, Leo Lin wrote:
> you are correct, table.c is not the source of the problem.
> However, I don't understand why snmpd hangs on AlarmDescription.2 on conf.c
It doesn't.
The client application (snmpwalk or snmpgetnext) issues a GETNEXT request
on alarmDescription.2.The
On 19 October 2010 16:07, Leo Lin wrote:
> snmpwalk –v1 –cprivate localhost AlarmDateTime // works OK
> snmpwalk –v1 –cprivate localhost AlarmType // works OK
> snmpwalk –v1 –cprivate localhost AlarmDescription // hangs @
> AlarmDescription.2
You're thinking of this in the wrong way.
It'
On 19 October 2010 13:20, Leo Lin wrote:
> Actually I have 2 tables, and on both it behaves differently.
What are the root OIDs of each table?
What other objects are defined between the two?
> On both tables, if I perform snmpgetnext, it works fine.
That's a bit vague.
What OIDs are you runnin
On 18 October 2010 09:06, yogesh m wrote:
> In this i am trying to generate my Trap for first system status of first
> row.
> /** Initializes the telecrbt module */
> void init_telecrbt(void)
> {
> initialize_table_teleSysResourceTable();
> send_mySysDown_trap();
> }
I wouldn't
On 19 October 2010 01:44, Leo Lin wrote:
> if I issue snmpwalk like so
> $snmpwalk -v1 -cprivate localhost MyTable
> the agent displays the contents of the table, but it hangs for a while, and
> later I get
> Timeout: No response from localhost
> then the snmpd shutsdown.
>
> Is this norm
On 18 October 2010 15:13, Leo Lin wrote:
> Then, I issue an snmpset and modify the contents to a strlen less than
> 'private' (7).
> snmpset does it right the first time, but consecutives calls to snmpset,
> gives me the remainder of 'private'
It sounds as if you are forgetting to add the null t
On 18 October 2010 12:57, Queenie de Melo wrote:
> So the SNMP agent(Server) listens on port 161 for SNMP GET/SET requests
> from the SNMP Manager (Client)
Correct.
(Strictly speaking, the agent can listen on any available port,
but port 161 is the standard port for SNMP information retrieval)
On 16 October 2010 19:07, Leo Lin wrote:
> if the mib2c extension custom code create string overruns,
> and it overwrite snmpd.c source code?
No.
Buffer over-runs could potentially corupt the run-time image of running
process, but would not affect either the application binary, nor the source
co
On 16 October 2010 02:20, Abraham Varricatt
wrote:
> Not to go off-topic, but is there any real need to run "make install" in
> this case? If I understood Leo correctly, all he wants to do is check for
> syntax/compile errors and THAT should be handled by a simple "make" right?
Yes - you are quit
On 15 October 2010 14:10, Leo Lin wrote:
> just wondering if there's a way to compile my source and header files
> generated by mib2c without having to go through the
>
>./configure, make, make install process.
If you're just wanting to add an extra MIB module to the agent,
and you've already
On 6 October 2010 19:39, Parth Bakshi wrote:
> $ snmpgetnext -v 2c -c public localhost
>ospf.ospfGeneralGroup.ospfRouterId
> ospf.ospfGeneralGroup.ospfRouterId: Unknown Object Identifier
> (Sub-id not found: (top) -> ospf)
>$ snmpgetnext -v 2c -c public localhost
> RFC1253-M
On 14 October 2010 07:38, Abraham Varricatt
wrote:
>> can anybody explain the meaning "community' meaning to me more detailed
>> ?Thank you!
>
> This is actually part of the SNMP protocol.
To be strictly accurate, it's part of the administrative framework for
SNMPv1 and SNMPv2c - i.e. an "SNMP Me
[ 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 13
On 12 October 2010 20:34, Matsushita, Nobuo wrote:
> I downloaded the net-snmp ver. 5.6 today. I didn't have any problems with
> build. All tests were successful.
> But when I tried to install, I got the following error and the installation
> stopped:
>
> make[1]: *** No rule to make target `add_
On 13 October 2010 08:44, yogesh m wrote:
> .My code is ...
> int
> send_mySysDown_trap(void)
> {
:
> }
> i put this code with my .c file of agent
OK - You've defined the routine to generate the trap.
When is this routine called? What does that code look like?
Dave
---
On 11 October 2010 13:51, Boris Zweimueller wrote:
> the generated c code for this object ist:
>
> /** Check the ranges of the passed value for legality */
> if ( !(*val >= 54 && *val <= 54) || !(*val >= 65 && *val <= 65) )
> {
> return SNMP_ERR_WRONGVALUE;
> }
>
> which yi
On 10 October 2010 18:44, Kurtzberg, David W.
wrote:
> Is there any way to restrict
> an snmpv3 user so that they can only talk to net-snmp from localhost?
No.
The SNMPv3 User Security Model is independent of the source location.
There's nothing within this model to take acc
On 9 October 2010 17:01, Angelo Höngens wrote:
>> Use the return code of the script, rather than the output
>> See UCD-SNMP-MIB::extResult or NET-SNMP-MIB::nsExtendResult
> I'm not quite sure what you mean. I only get string values back:
>
> $ snmpwalk -v 1 -c public localhost 1.3.6.1.4.1.2021.5
On 9 October 2010 10:47, Angelo Höngens wrote:
> Is there a way I can force net-snmp to return an integer value?
Use the return code of the script, rather than the output
See UCD-SNMP-MIB::extResult or NET-SNMP-MIB::nsExtendResult
Dave
--
2010/10/5 Raphaël 'SurcouF' Bordet :
> Did you've already tried snmpkey provided with Net::SNMP Perl module ?
>
> http://search.cpan.org/~dtown/Net-SNMP-5.2.0/snmpkey.PL
Though remember that David's Net::SNMP module is not related to the
Net-SNMP project in any way (other than the subject matte
On 5 October 2010 16:12, Fulko Hew wrote:
> I had my blinders on and saw that the walk returned ucdavis.254,
> (so thats what I was (only) looking for)
> but the corresponding MIB (NET-SNMP_PASS_MIB) is defined as .255,
> And the examples.c file uses .254.
>
> So... the .c file doesn't match the M
On 5 October 2010 15:40, Fulko Hew wrote:
> But that would mean that it (the example code) was 'built' into the 5.5
> release.
>I wouldn't have expected that. :-(
For a while now, I've been trying to get a description of the exact
procedure for building a binary release on a variety of syst
On 5 October 2010 15:18, Fulko Hew wrote:
> I have someone (and I tested it myself) with a Windows machine
> running Net-SNMP v5.5 (with as basic an installation as possible).
>
> While walking the MIB I find the following entries:
>
> ucdavis.254.1.0 life the universe and everything
> ucdavis.
On 1 October 2010 16:54, Leo Cacciari wrote:
> I'm trying to understand a thing about the "new" API. What does it
> means that
>
> A handler is netsnmp_create_handler() created and then
> netsnmp_register_handler() registered with the main agent at a given OID
> in the OID tree and gets called an
On 24 September 2010 07:15, sebastian2...@gmx.de wrote:
> as long as 5.5 is supported ^^: Is there any known issue that the
> netsnmp_select_info-function is crashing? Is that maybe fixed with 5.6?
>
> I already asked that in another thread, but nobody answered right now.
I've no idea.
And unfo
On 23 September 2010 15:52, Constantine, Jenna
wrote:
> I am attempting to produce an obsolescence plan for software
> suppliers and I was hoping you could provide me with the support
> lifecycle for the below product:
>
> Net-SNMP Net-SNMP 5.2.2
As Ron has said, this version of the code is no lo
On 22 September 2010 21:48, Fulko Hew wrote:
> While testing and reviewing my SNMP test harness I've come
> across an instance of a variable with an index I can't explain
> (on my Fedora box).
>
> snmpwalk -v1 -cpublic -On localhost vacmContextName
> .1.3.6.1.6.3.16.1.1.1.1.0 = STRING:
>
> So the
> CC> Does anybody know why netsnmp only allow 128 OID in one request?
> CC> #define SNMP_MAX_CMDLINE_OIDS 128
>
> That's actually a mandate by the SNMP protocol.
Are you sure, Wes?
As far as I can tell, the protocol specifies the maximum number of
subidentifiers within a single OID, but not the
On 14 September 2010 16:55, Fulko Hew wrote:
> When I ran this test, the agent died and needed to be restarted.
> The variable I was querying was:
>
> 1.3.6.1.4.1.2021.8.1.103.4294967295 aka 'UCD-SNMP-MIB:extIndex'.
Do you get the same problem when querying
1.3.6.1.4.1.2021.8.1.103.429496729
On 14 September 2010 06:31, sanjaykumar wrote:
> As snmpTrapOID is 1.3.6.1.6.3.1.1.4.1 but if look at the packet of snmptrap
> snmpTrapOID is 1.3.6.1.6.3.1.1.4.1.0
> Can someone have idea of what ".0" signify in snmpTrapOID
snmpTrapOID is a scalar object, so has an instance subidentifier of 0
Thi
On 9 September 2010 15:30, Leo Lin wrote:
> I also started the trap listener, snmptrapd
How?
> the snmpd.log shows that the trap is being sent, but some how I don't see it
> in the stdout.
What's the configuration of snmptrapd?
Is it authorized to accept traps with the community "secret"
Da
On 9 September 2010 04:28, Leo Lin wrote:
> I got the following error when using the -D option with snmpd
>
> "/usr/local/share/snmp/snmpd.conf: line 45:
> Warning: The separate port argument o trapsink2 is deprecated
First of all - this is a warning, not an error.
> the trapsink2 on my snm
On 9 September 2010 07:37, Vinod Nanjaiah wrote:
> Another problem is that without completing the perl snmp installation,
> snmpconf is not available; without which snmpd throws up some warnings
> as shown below.
>
>
>
>> snmpd
> No log handling enabled - turning on stderr logging
>
On 26 August 2010 12:10, wrote:
> Any one else in the group, have faced this issue. it's extremely
> high priority to get this issue resolved.
>
> Any help in this is highly appreciated.
If you want a quick-n-dirty hack to get things working,
you could always tweak the vplexDirectorFETable_entry
On 26 August 2010 06:27, wrote:
> Could you get a chance to look into this.
I've managed to reproduce the problem, yes.
(Once I'd stripped out all of the remaining
C++ stuff from your example code!)
Unfortunately I've only got one day before I leave
for a week's holiday, so I'm not going
On 26 August 2010 07:52, sanjaykumar wrote:
> Could anyone explain under what condition below API will called:
>
> 1. netsnmp_udp_create_tstring
> 2. netsnmp_udp_create_ostring
I believe that the 'tstring' routine is used when an SNMP target is
requested using a notation such as "udp:localhost:1
On 25 August 2010 10:45, AC. wrote:
> The cause I change the question suddenly is
> 1. My tables are big sometimes.
> 2. When the table B was the big one and I wanna get table A,
> it wastes time and resource to get a *BIG* table B that I don't neet it.
If your tables are big, then I *strongl
On 25 August 2010 09:40, AC. wrote:
>> > I see that the command "snmptable" use the "getnext" to retrive the
>> > information,
>> > but is that correct cause I don't need the information of table B?
>>
>> Please consider the following question:
>> - How does the snmptable command know when it ha
On 25 August 2010 08:30, wrote:
> Attached is the code..
And the header files?
What I'm looking to do is to try out your MIB module
on my local system, so I can see exactly what is going
wrong. In order to do that, I need *ALL* the stuff that
you have added (including the C++ objects that you
On 25 August 2010 03:02, AC. wrote:
> When I used "snmptable" to get the information of the table A, it will
> contact the handler of table A.
> But it will contact the handler of table B, too.
But only once, at the very end.
(I presume?)
> I see that the command "snmptable" use the "getnext" t
On 25 August 2010 07:21, wrote:
> I changed the code as below, but now Get fails and Get next works
> The code snipprt is as below::
Hmmm...
I'm not quite sure what is happening here.
Could you please post (as attachments) the *complete* code
of the MIB module that you are working with.
Da
On 24 August 2010 15:39, Ali Mirza, Rashid wrote:
> Thanks for that, but what about compatibility issues if any with qnx 6.3.0?
What compatibility issues did you have in mind?
Please note that it's very difficult to offer advice or assistance
given the vagueness of your questions so far.
("f
On 24 August 2010 11:10, Ali Mirza, Rashid wrote:
> I want to compile a net-snmp agent, ver 5.2.X and use it on QNX.
The 5.2.x line is several years old now, and is no longer being maintained.
If you are having problems, it would definitely be worth trying with one
of the newer releases (e.g. 5.5
On 24 August 2010 13:48, wrote:
> snmp_set_var_typed_integer( idx, ASN_IPADDRESS,
> ntohl(entry->vplexDirectorPrimaryIpAddr) );
The SMI type IpAddress is not an integer-based type.
It is a (four-octet) binary string, which holds the address
in network-byte order. See RFC 2758, secti
On 23 August 2010 15:34, Julian Grunnell wrote:
> I've tried the following versions with the results seen below,
> all built from source with a simple ./configure --prefix=x;
Try using
./configure --enable-new-features --prefix=x
(possibly with 5.5, definitely with 5.6.*)
Dave
On 20 August 2010 15:12, Julian Grunnell wrote:
>
> I’m using snmp via a Cacti server to query disk usage on a client with a 21Tb
> partition defined – yet I seem to get the disk size incorrectly reported.
> NET-SNMP version: 5.3.2.2
Can you please try with the most recent code (either 5.5, o
On 20 August 2010 09:43, Deepali Singalkar wrote:
> I could override the ifTable of master agent successfullly by ifTable of
> subagent by using option -I -ifTable.
> But same is not working for ipAddrTable, with option -I -ipAddrTable
> Is this because ipAddrTable is depricated?
It depends on w
On 19 August 2010 23:29, Ron Rader wrote:
> So these rouser statements allow specification of a MINIMUM security
> level, which defaults to "auth."
Correct.
You need a line such as
rouser xxxuser noauth
to allow noAuthNoPriv requests.
> No problem. I'll leave as-is and won't bother cha
On 19 August 2010 19:14, Ron Rader wrote:
> createUser auser
> rouser auser
> Hmmm... snmpwalk -v 3 using either "auser" or "puser" with the
> corresponding credentials works, but using "noauser" bombs through
> authorization Error (access denied to that object).
Please check the man page desc
On 19 August 2010 17:39, Ron Rader wrote:
> While I'm on the subject of weird MIB walk responses... I can't seem
> to get V3 access using noAuthNoPriv users. This results in snmpwalk
> authorizationErrors and authenticationFailure traps. Is this another
> RTFM moment, like the previous "rocommu
On 19 August 2010 15:45, Ron Rader wrote:
> The following command (using net-snmp tools v5.5) allows me to query
> net-snmp agents (v5.5) to walk the MIB (using SNMPv3 and IPv6):
>
> snmpwalk -v 3 -n "" -u auser -l authNoPriv -a MD5 -A password
> udp6:[2003:a8::208] system
>
> However, the same
On 18 August 2010 15:12, Daniel Leicht wrote:
> I'm having a problem making the snmptrapd behave the way I would like it to.
> I'm trying to catch a specific OID, but can't really do so:
> There are lots of "traphandle" lines above, but none of them could catch
> this one:
> /usr/bin/snmptrap
On 18 August 2010 03:50, k b wrote:
> I'm a newbie to net-snmp toolkit. snmptrap does not seem to be working.
> Error message returned: "No access configuration - dropping trap" and
> "This receiver will *NOT* accept any incoming notifications."
See the snmptrapd.conf(5) man page
In particular
On 18 August 2010 09:01, AC. wrote:
> I see that, but I have to follow two rules:
> 1. When receiving the request command that want to get table information,
> it must ask the information from my kernel.
> -> So I remove the check, "if(tlist == NULL)", to let agent ask
> information every
On 18 August 2010 06:47, AC. wrote:
>> How exactly are you retrieving the table.
>
> I used the "snmptable" command to retrive.
In which case, things are working as expected.
snmptable will send one GETNEXT request for each
row of the table, plus one additional request to discover
that it's reac
On 17 August 2010 07:28, AC. wrote:
> I can get table information that I need by using mib browser, but I find two
> questions when I do it.
> Q1: If I use the command to get Table A, the agent will ask the
> inforation A and information B.
"The command" is a bit vague.
How exactly are you
On 17 August 2010 07:57, Alexander King wrote:
> I want to know whether I can configure the snmpd.conf file via CLI,such as
> write some settings into the file via LCI.and the commands.
service snmpd stop
$EDITOR /etc/snmp/snmpd.conf
service snmpd start
Dave
--
On 16 August 2010 12:45, Suresh Kumar Boyapati wrote:
> % snmpwalk -v 3 -n router -u me -l noAuthNoPriv
> -a MD5 -A "123456789"
> -x DES X "Abcd12345"
Compare these last two lines.
Does anything strike you about the encryption password option?
> Please help me out, where I am missing
On 13 August 2010 19:09, Gaurav Chaturvedi wrote:
> Hi Dave,
> I am glad to say that I have fixed the issue of library crashing due to
> erroneous MIBs or any parse error in MIB and I have done it within a day.
>
> Please let me know how to submit the fix/patch now.
See
http://www.net-snmp.or
On 13 August 2010 13:28, Norasyikin MD Ali wrote:
> I'm trying to generate a trap containing all the information from my
> activeAlarmTable which has 8 columns.
> In my agent, I created a function :
> tr_status tr_mib_agent_generate_alarm_event_trap(int type,
> const char *
On 12 August 2010 14:45, Ravi Chandran wrote:
> When I compiled with OpenSSL support the compilation fails.
> I could not locate the hmac.h file which it is trying to locate.
[snip]
> I could not locate the file hmac.h or openssl folder in the net-snmp-5.4.3
> package.
> Is this file not pa
On 12 August 2010 14:27, Fulko Hew wrote:
> I'm trying to help someone implement support for a private MIB,
> and he needs to (temporarily) respond to a particular OID in order
> to fake out an NMS to query that private MIB he's testing.
>
> Is there anything I can add to snmpd.conf to accomplish
On 10 August 2010 22:12, Ernie Lacson wrote:
> While running: make test, I get the following error.
> In file included from /usr/include/kvm.h:14,
> from kernel.h:11,
> from snmp_vars.c:143:
> /usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
On 12 August 2010 11:41, Ravi Chandran wrote:
> We have been using net-snmp version 5.4.2 successfully. Now we wanted to
> support IPv6 too.
> ..\..\snmplib\inet_ntop.c(79) : error C2373: 'inet_ntop' : redefinition;
> different type modifiers
>
> NMAKE : fatal error U1077: '"E:\Program Files\
On 12 August 2010 10:03, orientropy i wrote:
> it still responded: duplicate registration (mibII/snmp,
> C:\WINDOWS\System32\snmpmib.dll)handler registration failed.
If you want to turn off the Net-SNMP 'mibII/snmp' module,
then use '-I-snmp'
In general, if a module is loaded using the rout
On 12 August 2010 09:28, Markus Hofer wrote:
> So I understood that if in SNMPCONFPATH several different paths for a
> snmpd.conf are specified then each of these files will be loaded.
>
> Will the result of this overall configuration be a mixture of all
> configuration
> files specified in SNMPC
On 12 August 2010 04:09, orientropy i wrote:
> on XP platform, i can't use net-snmp 5.5 to get cpu load information.
>
> should i implement my own handler to retrieve such system information?
It's not necessary to implement a completely new handler for this, no.
What's missing is the relevant co
On 3 August 2010 16:47, Ron Rader wrote:
> I'm running into this configure bug:
>
> http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg24798.html
> Is there a v5.5 patch for this
This has been fixed by SVN revision 19048
See
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp
On 11 August 2010 13:57, Alexander King wrote:
>> First,I think use "mib2c -S cache = -1 -c mib2c.iterate.conf " via CLI can
>> get the right generated code, and initialized the code is ok.but I got a lot
>> of compilling problems.
>
> what I can do about this, Dave,
> where and how I need modify
On 11 August 2010 11:36, Alexander King wrote:
> I use the command "mib2c -S cache = 10 -c mib2c.iterate.conf "
Please re-read my earlier message.
You do *NOT* specify the cache timeout on the mib2c command line.
Either use "-S cache=1" or nothing at all
No other choice will make any difference
On 11 August 2010 00:12, Alexander King wrote:
> Like previous mails,I got the generated code use
> " mib2c -S cache=-1 -c mib2c.iterate.conf "
I've just reviewed the mib2c.iterate.conf template, and that is not
going to work in the way that you expect.
The option "-S cache={something}"
On 10 August 2010 10:07, Tsolakos Stavros wrote:
> Does the -I -ifTable option prevents access to the ifTable
> even if provided by a subagent?
No.
The option '-I-ifTable' when given to the main agent simply means
"don't invoke the routine 'init_ifTable'
The effect of this is that
On 10 August 2010 09:25, Gaurav Chaturvedi wrote:
> Thanks for the response. I know the error in MIB file (same as specified by
> Dave), but should an erroneous value in MIB crash the application?
No - of course it shouldn't.
The MIB parser wasn't written in the expectation of such a broken MIB,
2010/8/8 Сергей Владимирович :
> session.peername = strdup("test.net-snmp.org");
>
> Where do you release memory which were allocated by this function?
This memory is not explicitly released, no.
It will be released automatically when the application exits.
It could probably be freed immediatel
On 10 August 2010 08:14, Gaurav Chaturvedi wrote:
> I am using net-snmp v5.5. On loading a particular MIB (attached with the
> mail), my program crashes on "init_snmp" API.
> On removing this MIB from the MIB directory, everything works fine.
>
> Please share your views on what may be the issue in
On 6 August 2010 15:20, Nils Achtergarde wrote:
>> Which version of the create-user command are you using?
>
> Im running version 5.2.1, which is the preinstalled one on the system.
Aha!
I've just checked that script, and it's got the -A/-a processing the
wrong way round. (And similarly for -X/-
On 6 August 2010 14:35, Nils Achtergarde wrote:
> Yeah, great. Parsing problem was the right hint. The entry made by the
> create-user command was:
>
> createUser nagios AuNg6ud4thaiK8EJ "MD5" AuNg6ud4thaiK8EJ DES
>
> But the algorithm has to be in front of the password:
Which version of the crea
On 6 August 2010 10:52, Alexander King wrote:
> is it the meaning use "mib2c -S cache=-1 -c mib2c.iterate.conf uit"
No.
You are confusing different things.
The command to generate the code template would be
mib2c -S cache=1 mib2c.iterate.conf uit
Here the value '1' means "include the code
On 5 August 2010 12:37, AC. wrote:
> I downloaded "net-snmp-5.4.3.tar.gz" again, unpacked it, and then executed
> "./configure".
[snip]
> Then, I executed the "make" command. (# make -j3 -s 1>make-out.log
> 2>make-err.log)
Can you try *without* the -j3 option.
It looks suspiciously as if one
On 4 August 2010 23:04, Claus Klein wrote:
> while working with snmpd V5.5 I tried to configure a mapping of v2c
> community to v3 context with authcommunity.
>
> I was wondering that the man page is different from configuration:
>
> man snmpd.conf:
> com2sec [-Cn CONTEXT] secName IPv4-network
On 5 August 2010 12:04, Prest, Mike wrote:
> From the Snmpd.conf man page
> http://www.net-snmp.org/docs/man/snmpd.conf.html
>
> It actually looks like all the links on the page that reference /docs are
> broken.
> It looks like someone forgot to include a " at the end of most of the link
> refe
On 4 August 2010 21:17, Prest, Mike wrote:
> The snmpcmd Manpage doesn't work. It generates a 404.
Where is the link you are following, please?
Dave
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In
On 5 August 2010 04:32, AC. wrote:
> Before this change, I make it success for the old system.
>
> The imformation of the old embedded system is:
[snip]
> Now I have to change system for
[snip]
> I jsut modify the parameter of configure file with
[snip]
Are you using the same sourc
On 4 August 2010 16:25, Markus Hofer wrote:
> Is there any restriction to which version I compile openssl to?
> I am currently using net-snmp 5.4.2.1 compiled against openssl 0.9.8o.
> I want to step up to 1.1.0a. Is there maybe any compatibility problem?
I don't believe there's been any experim
On 28 July 2010 10:55, Arulkumar Ponnusamy wrote:
> is Net-snmp support IPv6 mib agents?
If the agent was originally built with "./configure --enable-ipv6"
(on a supported system), then yes.
Otherwise, no.
> if so how to do the snmpwalk for IPv6 mibs in net-snmp
The same way as any other ta
On 4 August 2010 15:29, Kathy McLeod wrote:
> How do you alter the timeout value on the fly?
Via the NET-SNMP-AGENT-MIB::nsCacheTable
> Also, I thought -1 was the value for "load every time".
My apologies - you are quite correct.
[See agent/helpers/cache_handler.c:netsnmp_cache_check_expired
On 4 August 2010 11:07, Markus Hofer wrote:
> I got a short question about the compilation option --enable-mini-agent.
> Is there a little docu what the mini-agent excactly can/cannot do and what it
> includes?
See the file
agent/mibgroup/default_modules.h
in the source tree.
This
On 4 August 2010 07:07, Borra, Kishore Babu wrote:
> I had tried the command line options like -Ls 2, -Ls 5. But I wasn't
> successfull
> in disabling the sys logs.
Try
-Lf /dev/null
Dave
--
The Palm PDK Hot Apps P
On 4 August 2010 03:22, AC. wrote:
> making all in /home/bluce/work/root/filesystem/packages/net-snmp-5.4/snmplib
> make[1]: *** No rule to make target
> `/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Config.pm', needed by
> `Makefile'. Stop.
> make: *** [perlmodules] Error 1
>
> Does that me
On 4 August 2010 03:47, Alexander King wrote:
> Now,I want to know how to get the newest data use net-snmp snmpd daemon
> routine.That is to say,Is there a way when I use "snmpwalk" command browse
> the uit data tree I get the updated or newest or latest data each time?
I will repeat my suggestio
On 3 August 2010 18:30, Vinayak Swaminathan wrote:
> Actually i do not find snmp.conf in my setup.
Please see the FAQ entry
Applications complain about entries in your example 'snmp.conf' file. Why?
Dave
--
The Pal
On 3 August 2010 12:53, Eman Saber wrote:
> i need to set IP address using netsnmp
> i know it is not writable but how can i do that (change object value) i need
> answer yes or not and if yes how can i do this??
The answer is NO.
I've already told you this.
Repeating the question will not chan
On 3 August 2010 10:34, Yongting Lin wrote:
> As in this situation, can register a peridoical alarm to monitor the
> condition, and send traps if condition changed? or project-specified code(A
> daemon in pratical program) act as a subagent to snmpd, and invokde
> send_v2trap function to send
On 3 August 2010 10:14, Julian Cebulla wrote:
> Here the code of init_mib_physicalInterfacesTable():
> void initialize_table_physicalInterfacesTable(void)
> {
[snip]
> retval=netsnmp_register_table_data_set(netsnmp_create_handler_registration
> ("phys
On 3 August 2010 09:51, Alexander King wrote:
>> Look at using the cache helper.
>> If you run 'mib2c -Scache=1 mib2c.iterate.conf myTable'
>sys-man mibs # mib2c -Scache=1 mib2c.iterat.conf uit
> no variable specified for -S flag. at /usr/local/bin/mib2c line 96.
OK - Try putting a space afte
On 3 August 2010 09:04, Alexander King wrote:
> I want to the init_uit routine can get data periodically
The "init_xxx" routine is called *once* to set up the module,
when the agent first starts That's what the word initialise means.
It will not be called repeatedly, and is not the right place
On 2 August 2010 10:22, Guerrero, Simon (PTS horizontal PS projects)
wrote:
>
> So basically, all I want to do is use the “snmptrap” tool to send an error
> message to that product.
>
> However, I’m confused by all these different MIBS, and what to use
If you need to send your own private error m
[ 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 Au
On 3 August 2010 05:18, AC. wrote:
> When I made the snmp server, I find that the execute file, snmpd,
> was not made by the code.
Have a look at the output of the compilation.
If the agent wasn't created, then there was probably
an error somewhere in the compilation process.
If you can find and
On 23 July 2010 11:34, Vinayak Swaminathan wrote:
> I've also tried increasing the debug levels of my Agent by updating the
> following in my snmpd.conf of my master agent.
>
> dumpPacket yes
> debugTokens ALL
> doDebugging 1
>
> However i get the the error in /var/log/snmpd.log
>
> line 124: Warn
1001 - 1100 of 6666 matches
Mail list logo