> > It looks suspiciously as if it's trying to run as an
> > AgentX subagent - is that expected?
>
> Yes.
OK - Are you running an AgentX master agent?
If so - where is it listening for connections?
Dave
PS: *Please* - no HTML mail.
---
Thi
[ 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. T
> At first, the COPYING is written as follows;
> ---
> Various copyrights apply to this package, listed in 4 separate parts
> below.
> ---
> There is 5 separate parts.
Quite right - thanks for pointing it out.
I've tweaked the file to fix this.
> I attached the COPYING file if I redistribute w
>The "snmpvacm" help says that there is no equivalent to
> the one-shot configure directives for "rouser" and "rwuser".
>
> Can you let me know if there is any other alternative to this.
You'd need to set up the equivalent VACM settings manually:
- create a group containing the user
> What should I do to see all the MIB-2 tree? I did not modify snmpd.conf.
Modify snmpd.conf:-)
See the FAQ entry
I can see the system group, but nothing else. Why?
Dave
---
This SF.Net email is sponsored by: Oracle 10g
Get c
[ 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. T
> > Is the creation of this file necessary for the
> > configuration of the list of parameters that is
> > available and which can be viewed using 'snmpd -H'
>
> Don't think so, that kind of stuff should probably be in
> your snmpd.conf. Don't quote me...
No - you're quite correct.
The file 's
> I need to implement my own interfaces MIB (.1.3.6.1.2.1.2.2) in place
> of the one in agent/mibgroup/mibII/interfaces.c. Someone here suggested
> configuring with
>
> --without-mib-modules=mibII/interfaces.c
Almost.
Try
--without-mib-modules=mibII/interfaces
(i.e. without the '.c'
> > Almost.
> > Try
> > --without-mib-modules=mibII/interfaces
> >
> > (i.e. without the '.c' suffix)
>
> Thanks but I copied that line from your message to my command line and get:
>
>error: invalid package name: mib-modules=mibII/interfaces
Oops:
$ ./configure --help
> But I need to register a string. Searching the documentation I haven't
> found a function looking like netsnmp_register_string_instance and I
> coudn't find an example explaining how to register a string using the
> generic netsnmp_register_instance
Have a look at "netsnmp_register_watched
> The code appears to be ok, but the string isn't registered:
>
> $ snmpget -v2c -c public localhost 1.3.6.1.4.1.10.1.2
> SNMPv2-SMI::enterprises.10.1.2 = No Such Instance currently exists at
> this OID
Is this the same OID that you gave in the
netsnmp_create_handler_registration() call?
R
Dave> Have a look at "netsnmp_register_watched_scalar"
Dave> Not only does this cope with string values as well as integer ones,
Dave> it also handles scalar objects correctly (which netsnmp_register_instance
Dave> doesn't - in particular requests for an invalid instance)
Robert> If I'm not mista
I have observed that net-snmp does not support snmpCommunityTable of RFC
> 3584(SNMP-COMMUNITY-MIB), though the data related to this is maintained
> in local memory.
> Is there any particular reason that this is not supported.
Because no-one has implemented this particular MIB.
The equivalent fu
> I'm writing a snmp agent & MIB for an embedded system. I would like to
> use the BIT STRING data type.
> But by searching the web for snmp tools I found only the net-snmp
> project which supports the BIT STRING.
I'm not surprised.
In fact, I don't think that we ought to support it either.
The
> I find that several of the MIBs I'm implementing provide the same or
> similar information in different groupings. Is there a way to tell snmpd,
> "When you get a request for .8.7.56.45.4, just return the value for
> .2.6.5.7.9"?
It's not really possible to get the agent to do this sort of
redi
> is there api in net-snmp which can used to check if the oid is between
> two oid's?
if (( snmp_oid_compare( target_oid, target_oid_len,
lowerB_oid, lowerB_oid_len) > 0 ) &&
( snmp_oid_compare( target_oid, target_oid_len,
upperB_oid
Jyoti> Is it possible to reboot a pc using snmp?
Jyoti> Which MIB to use for this purpose?
David> You could implement a private MIB to execute shutdown command
David> when a set is performed.
As David implies, there isn't a standard MIB to do this.
You'd have to implement it via a private MIB o
> However, when queried from manager, the agent returns the . separated
> IPAddress.
No - the agent returns a four-octet binary string (ratehr than an
unsigned long). It's the client that *displays* this as a dotted-quad.
Given the varbind ('vb') that's returned, the code is basically:
prin
> Let me try to strain this analogy to the braking point:
> if I went to a party where you and some of your friends were hanging out,
> I might ask one of them, "Can you tell me where William Buckley is?"
> and they might say, "Bill is over there."
Actually, if I can correct that analogy slightly
> Let's try a slightly more confusing analogy:
> Bill has cable, Dave has satellite, and Bob has an antenna.
>
> Each tunes-in to Are You Being Served? But:
> Bill's on channel 4, Dave's on 57, and Bob's on 17.
That's a somewhat misleading example.
(Quite apart from the fact that I've got F
>> So if you flip between channels 29 and 30 (say) you may well see
>> exactly the same
>> But there's only one videotape playing for both channels.
>
> Actually channel 30 and 29 do not share the video tape. From the
> code you see OID channel 30 always returns the data behind bobc.
No - t
Wes> you can override the cflags by setting the CFLAGS environment variable
Wes> before running configure, or via the --with-cflags="" flag.
Chris> But that won't run strip, will it?
No, but it'll turn off debugging, which was one of the things you
were asking about.
There isn't any mention of
SK> can i assume that the snmpd will grab the hostname of
SK> the device during the daemon started, and remains
SK> returning that value to incoming request?
Wes> the sysName object should return the current hostname right then (IE,
Wes> if you change it then the agent should report the changed
> What does the count mean on the return from select in
> agent_check_and_process?
$ man select
RETURN VALUE
On success, select and pselect return the number of descriptors
contained in the descriptor sets, which may be zero if the timeout
expires before anything
> I already thougth about this possibility .
> The error above ("wrongLength") appeared with the following code:
> netsnmp_watcher_info *winfo = netsnmp_create_watcher_info(
> notificationEmail,
> strlen(notificationEmail),
> ASN_OCTET_STR,
>
[ 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. T
> So then the return value is then pretty useless if I wanted to make some
> sense of what is causing the select to return.
It basically tells you whether there's anything waiting to be read or not.
Treat it as a true/false value, rather than a meaningful integer.
> So right now if we get a no
Quoting [EMAIL PROTECTED]:
> I've found that I can get any ONE value (the first I request) back by
> reordering how I add variables to the PDU. By putting snmp_log() calls in my
> MIB handling code, I find that snmpd asks my MIB code for all the values that
> my client asks snmpd for.
It's proba
> In that case can i suggest that the daemon to get the
> sysname (and other changable system value too)
> whenever there is a request to it?
Unfortunately, it isn't quite that simple.
Remember that this object is writeable via SNMP
so can be given a new value using a SET command.
It's also poss
> I'm using the net-snmp package from Fedora Core 2
> and after searching the MIBS I've found this oid: .1.3.6.1.2.1.25.8
> (hrSensor from the HOST-RESOURCES-MIB.txt mib).
Well, first of all you should realise that 'hrSensor' is *not*
a valid part of the HOST-RESOURCES-MIB. Thi
> Dose the net-snmp and ucd-snmp have source code that I can
> development them on the windows OS? Thanks a lot!!
Yes.
Dave
---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, Insta
>I can run all commands from my local machine, but from remote machine,
> the port 161 is not discoverable. I know, this is more of linux (xinetd)
> mgmt. question - was wondering, if anyone knew, what I need to anable to
> allow others to be able to access this port?
>From the FAQ:
Request
> I'm starting snmpd daemon, then creating a new row in the dlmod table:
>
> # /usr/bin/snmpset UCD-DLMOD-MIB::dlmodStatus.1 i create
> UCD-DLMOD-MIB::dlmodStatus.1 = INTEGER: create(6)
>
> But, record in table is not created:
My experience is that the dlmodTable is incredibly fussy about
> Is there a mechanism in net-snmp by which the sub-agent can
> send such trap information to the master so that a trap could be generated.
Just use the standard 'send_easy_trap' or 'send_v2trap' API calls.
The main agent driving code will work out whether this is an AgentX
subagent
> However, every var in the response has a type of 128 and the values are
> all null. I know that the values I'm trying to retrieve are handled by
> an subagent that isn't running so I expect a failure but why is that
> failure indicated by weird types and null values rather than a failed
> stat
> Is there anyway that the data can be sent back as char* and not as
> u_char *.
What difference will it make?
The contextEngineId field is an octet string, so the data should
be the same either way. In fact, this *should* be u_char rather
than (signed) char, since that's what character values a
[Sorry for the delay in following up on this - I've just
stumbled across it, and noticed the cause of the problem]
> > What does "grep OID include/net-snmp/net-snmp-config.h" return?
> >
>
> #define ENTERPRISE_OID .1.3.6.1.4.1.18293
> #define UCDAVIS_OID 2021
>
> Where ENTER
> if I send
> down the u_char * contextEngineId in the second request, it will be
> converted to u_char* again - which will not be the same as the
> contextEngineId that I want to send
Why not?
The octet values are the same in both cases, su
> What are all the patches for FreeBSD 5.2.x ? Is there a place/link that
> contains all the patches available for FreeBSD 5.2.x ?
If you can wait until Friday, the plan is to produce a '5.1.2.pre2'
pre-release source tarball, which will include all of the patches
that we have so far. It would b
> My client is interacting with the snmpd process which needs to get all
> of these values from my subagent. Starting snmpd with -Dagentx shows
> each variable being handled in the agentx protocol and putting snmp_log()
> calls in my MIB implementation shows that each value is retrieved by the
>
> Hmmm, it seems that mib2c is very naughty and silently ignores options
> that it does not understand, which includes -M
It looks as if the main CVS branch has rather more robust argument
parsing code, which *does* report on unrecognised options.
Is it worth applying this approach to the 5.1.2 c
[Sorry for the delay in following up on this.
If you've managed to get this working, or
have given up completely, please ignore this]
> > Is it getting compiled?
> > (see if there is an 'air_snmp_ping.o' file)
>
> Yes, and linked to the agent.
Good start.
> > Is the initialis
> The [snmpd.conf] file is correctly created at the current directory
> which I was working when I run snmpconf (/root)
Have you then installed this file to the final destination?
Typically either '/etc/snmp/snmpd.conf' or '/usr/local/etc/snmp/snmpd.conf'
(depending on how the agent was compile
> > Have you then installed this file to the final destination?
> >
> > Typically either '/etc/snmp/snmpd.conf' or
> >'/usr/local/etc/snmp/snmpd.conf'
> > (depending on how the agent was compiled)
>
> Doesn't that usually go in /usr/local/share/snmp?
$ man snmpd.conf
NA
> In the example notification.c, the definition of the trap is included
> at NET-SNMP-EXAMPLES-MIB:
>
> netSnmpExampleNotification OBJECT-TYPE
> SYNTAX SnmpAdminString
> MAX-ACCESS accessible-for-notify
Actually that definition is wrong.
This is the definition of a MIB *object* (su
>I have a table which has got 2 indices and the following is the scenario:
>
>oid of table: x
>oid of tableEntry: x.1
>It has 6 columns (assume names A, B, C, D, E, F) with oid extensions
>as 1, 2, 3, 4, 5, 6 with A and B as the indices.
What type of values are 'A' and 'B'
DFP> In the example notification.c, the definition of the trap is included
DFP> at NET-SNMP-EXAMPLES-MIB:
DFP>
DFP> netSnmpExampleNotification OBJECT-TYPE
DFP> SYNTAX SnmpAdminString
DFP> MAX-ACCESS accessible-for-notify
DTS> Actually that definition is wrong.
DTS> This is the defin
> Is there a common, typical, or expected organization of the objects
> in an enterprise MIB?
As a third example, the overall framework I set out for the Net-SNMP
subtree is basically defined in NET-SNMP-MIB. This lays out
separate subtrees for:
- real management objects (NET-SNMP
> output of the script and executable
>
> [EMAIL PROTECTED] root]# /tmp/a/lbclient
> .1.3.6.1.4.1.96.255.1.0
> integer
> 32
>
> [root@ root]# /tmp/a/test.sh
> .1.3.6.1.4.1.96.255.2.0
> integer
> 50
But that's not quite how these two commands will actually be invoked.
What happens if you tr
Dave> It looks as if the main CVS branch has rather more robust argument
Dave> parsing code, which *does* report on unrecognised options.
Dave> Is it worth applying this approach to the 5.1.2 code as well,
Dave> or would this count as a "new feature" ?
Wes> Though I agree it's a bug, its on the b
> My list is ordered, but there seems no way for the iterator to
> use this information.
Note that with 5.1 and above, you can indicate this when registering
the table initially, and the iterator will cut short the searching
appropriately.
Try
netsnmp_iterator_info *iinfo =
[ Firstly, can you please *NOT* send the same
request multiple times. The support for this
package is provided in our spare time, and
paid employment must take priority.
Asking the same question three times in less
than three hours is somewhat
> I download the package, unzip and un-tar on Freebsd 5.2.x release. Here
> are some of the errors I am still getting when running "configure"
> command.
The output you list is actually a series of warnings, rather than
actual errors. Does the configure script run to completion, or
does it fail
> Anyone, let me know , whether Counter64 variables has been supported
> in net-snmp 5.1.1 release?
Yes.
Counter64 variables have been supported since approx. v3.4
The main thing to note is that you should use "struct counter64"
to hold such values, rather than a 64-bit integer variable,
and dec
> I'm getting these errors while doing make of the net-SNMP:-
>
> undefined reference to `EVP_DigestInit'
> undefined reference to `EVP_DigestFinal'
> undefined reference to `EVP_md5'
> undefined reference to `HMAC'
> undefined reference to `EVP_sha1'
> undefined reference to `des_cbc_encr
> in RH9, under the net-snmp-5.1.1 directory
>
> ... while execute make command, error occured. the
> error info is:
>
> /usr/bin/ld: cannot find -lelf
> collect2: ld returned 1 exit status
Try installing the RPM 'elfutils-libelf-0.76-3.i386.rpm'
(on the first RH9 CD). That includes the
> Somebody can help me about how to find documentation regarding
> SNMPv3 support by UCD-SNMP agent?
Have you read
README.snmpv3
and the man pages 'snmpd.conf(5)' and 'snmpcmd(1)' ?
Dave
---
This SF.Net email is spons
Quoting Anuradha Bhakta <[EMAIL PROTECTED]>:
> I would like to populate snmpNotifyTable(RFC 3014) though the
> configuration file(snmd.conf). I did not find any directive that has to
> be added to this snmpd.conf
Try "trapsink" or "trap2sink"
Dave
> in the /usr/lib there are two files begin with libelf, their name are
> [EMAIL PROTECTED] root]# cd /usr/lib
> [EMAIL PROTECTED] lib]# ls libelf*
> libelf-0.76.so libelf.so.1
Try 'ls -l libelf*'
You'll see that libelf.so.1 is actually a symbolic link to libelf.so
As Robert said, what's missin
> I wanted to use mib2c and saw that installing of perl module is
> necessary .
> I am using ucd-snmp-4.2.2 ( though wanted to use ucd-snmp-4.2.1 could
> not find it for download ) .
Both of these releases are fairly old now.
The most recent version of the 4.2.x line is 4.2.6
If you're not in a
> However, I noticed that MAC (physical) addresses
> (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by
> the tool.
It would be a lot easier to advise you as to the cause
of this problem if you'd included some indication as to
what you'd actually tried.
It might be that you're asking for
[ 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. T
> Here are more details:
> If I will run `snmpwalk` from my Linux machine, I can definitely
> see the line:
>
> "RFC1213-MIB::ifPhysAddress.2 = Hex-STRING: 00 90 73 00 02 F5"
Is that the same box as the agent is running on, or a different one?
It's worth checking you can see things from a "remote
> I have done what the FAQ told me which is same as that Robert said. but
> make action doest work yet.
OK - what does
ls -l /usr/lib/libelf*
show?
Dave
---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn f
> # ls -l /usr/lib/libelf*
> -rwxr-xr-x . /usr/lib/libelf-0.76.so
> lrwxrwxrwx . /usr/lib/libelf.o -> libelf.so.1
> lrwxrwxrwx . /usr/lib/libelf.so.1 -> libelf-0.76.so
There's the problem then.
You still don't have a shared library "libelf.so"
You've got what looks like an
> When I try to query the agent on entries specified in
> HOST-RESOURCE-MIB, I got the following inconsistent results:
>
> If I query for 1.3.6.1.2.1.25.1.1 (hrSystemUpTime), the agent returns
> the right result.
> If I query for anything else defined in the MIB, I got noSuchName res
> The differences I observe are:
>1. The libnetsnmp... files I build are significantly bigger than the
> corresponding files from the RPM installation
That's probably because:
$ file /usr/lib/libnetsnmp.so.5.0.9
/usr/lib/libnetsnmp.so.5.0.9: ELF 32-bit LSB shared object,
Inte
> thank u too, I have posted another message,
Yes - you've posted six copies of the damn thing.
Bombarding the list like this is *NOT* the most
sensible way to ask for assistance!
> when I make test, almost all failed. why?
> 41:testing 1st CPU on Solaris using HOST-RESOURCES...SKIPPED
> 42:tes
> send_easy_trap(SNMP_TRAP_ENTERPRISESPECIFIC, 1);
> but my subagent mean :
> send_trap: Unknown PDU type
Which version of the Net-SNMP suite are you using?
There was a problem with sending traps from subagents,
but the most recent releases (5.0.9, and 5.1.1)
should both work correctly.
Dave
> ./configure --with-default-snmp-version="3" \
> --with-openssl="/usr/bin/libssl.so.9.6"\
> --with-security-modules="usm"
That doesn't look right.
$ ./configure --help | grep openssl
--with-openssl=PATH Look for openssl in PATH/l
[ 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. T
>
>If I am to call netsnmp_create_handler_registration for a scalar of type
> DisplayString, what is the instance handler that this scalar should be
> registered with?
If you're registering a scalar object, then use
netsnmp_register_scalaer()
rather than
netsnm
> if net-snmp-5.1.1 has, then how to configure it to work as a SNMP proxy
> agents?
Have you actually tried looking at the documentation?
Like the man page for 'snmpd.conf' ?
There's a whole section there on "proxy".
---
This SF.Net email sp
> When I was trying to run mib2, got the following error.
> What am I doing wrong?
> ERROR: You don't have the SNMP perl module installed.
Well this is just a guess, you understand, but one possibility
is that you haven't installed the SNMP perl module.
Given that 'mib2c' is written in per
> I am using ucd-snmp 4.2.6 in my computer. I created a new MIB module in order
> to cover my companies management needs. But although the module works perfect
> in my computer, I cannot make it work in any other machine.
Sounds like access control.
Can you see *anything* from the remote mach
> How do I use net-snmp to get the in-octets and out-octets
> from a Router ?
snmpwalk -v 1 -c public router ifInOctets
or snmpwalk -v 1 -c public router ifOutOctets
(or whatever the appropriate settings are for your router).
To monitor this over a period of time, and draw pret
> I try to compile net-snmp with QoS modules, but got errors when compiling
> the source.
> And I got the patch QoS modules from http://x-ray.prokon.cz/data/snmp/.
I suggest you contact the authors of that code.
They're more likely to know what the problem is,
and be in a position to fix it.
Al
> Dave,
>I tried using "netsnmp_register_scalar" for an INTEGER type scalar
> ... and it returned the error No such object instance exists.
>However, if I use netsnmp_register_instance with
> netsnmp_instance_int_handler in netsnmp_create_handler_registration,
> the same works fine.
D
> Does anyone know if net-snmp support table get row operation,
There's no SNMP operation specifically to get a row from a table.
If you know the index of the row that you're interested in,
you can use 'snmpget' to retrieve the individual objects that
may up this row:
snmpget myhos
> How to decrypt the passwd key of an a usmuser that had been encrypted
> if the application requires to do so...??
Nope - you can't do that.
SNMPv3 authentication doesn't work that way.
The password is used to generate a (localised) key which
is then used to generate a digital checksum for each
> $ net-snmp-config --compile-subagent example2 example2.c -I../../../mibgroup
>
> Can I do this using 2 folders (LAN and NMS) instead of only 1 folder
Yes, of course.
Just try listing all the various code files on the command line:
net-snmp-config --compile-subagent example2
> But what about header files?
They should match the names of the C files
(just with a different suffix, naturally!)
The main thing to be aware of is that any "init_xxx" routines
*must* be declared in a file called "xxx.h"
(i.e. the name of the files and the name of the init routine
should mat
[ 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. T
> No it is not the access because I can get other information from the remote
> machine such as sysLocation,UpTime etc.
But can you see anything *outside* the system group?
What if you do:
snmpgetnext ip
for example?
See the FAQ entry:
I can see the system group, but nothi
> Sorry that I went on your nerve again:
No - you haven't annoyed me.
The only reason I responded on the -coders list was that
Robert's response was misleading in terms of the question
that you'd asked.
Since these messages are archived, I'm reluctant to let
inaccurate replies go unchallenged, i
>However, I still need to specify the name of the instance handler in
> netsnmp_create_handler_registration. So, I did not quite get, how I can do
> *without* specifying the "netsnmp_scalar_helper_handler" by name in
> netsnmp_create_handler_registration.
>
>Also, if I specify the netsnmp
>The following is the snippet where all the ***actions*** are:
>my_handler[i] =
> netsnmp_create_handler_registration(
> //"apFrameId", netsnmp_instance_int_handler,
> "apFrameId", netsnmp_scalar_helper_handler,
> apFrameId_oid, OID
> Is this the struct you mean:
>
> struct variable_list {}
Yes - that's the one.
> last question about the
> varbind list , can you give an example
> how such a varbind list looks like ?
Try running
mib2c -c mib2c.notify.conf SIP-SER-MIB::sipserMaxUsersTrap
That should generate
Niels> This should be --with-mibs=...:FOURD-MIB" (the name from the
Niels> DEFINITION clause).
Steve> Ok, now I'm even more confused. Here's what the relevant line from
Steve> my config shell looks like :
Steve> --with-mib-modules="fourD mibII host ieee802dot11"
You're confusing two separat
> I still have the problem with my mib file. Although it works perfect in my
> machine I cannot make it work in any other device that I copy the files.
Which file(s) have you copied across?
Did these other systems have a version of the Net-SNMP agent installed
previously?
> Furthemore, I am usi
> how to implements an mib? whether to use the database or customize record
> to make a virtual storage ?
It's totally up to you.
The Net-SNMP agent toolkit provides the framework for implementing
a MIB - it doesn't try to dictate how the underlying data is stored.
You can pull it from a databas
> 5.1.1
> hrStorageEntry.hrStorageDescr.2 = STRING: Real Memory
> hrStorageEntry.hrStorageDescr.3 = STRING: Swap Space
>
> 5.0.9
> hrStorageEntry.hrStorageDescr.101 = STRING: Real Memory
> hrStorageEntry.hrStorageDescr.102 = STRING: Swap Space
Yes - that's correct.
The old arrangement put an ar
> Iam using ucd-snmp-4.2.6 . When I do a 'make' in the agent directory I
> get the following error message -
> /usr/bin/ld: cannot find -lelf
Yes - recent versions of RedHat don't seem to include the
"version-independent" softlink for libelf.so
(or at least, only in a relatively obscure develo
> I encountered the "broken pipe" error during my tests.
> the snmptrapd.conf file only contains the line "traphandle default /bin/pwd"
A couple of quick tests seem to indicate that this error is being
generated because /bin/pwd doesn't actually read from standard input
(and may well close it comp
Mike> The community name you are using for the read only and read write
Mike> access should be different in order to be able to use the snmpset
Mike> command.
That's a slight simplification, but does touch on the heart of the problem.
In particular, you're mixing two different styles of access co
> I'm using version 5.1.1 and get message
> "Timeout: No response from localhost". What should I do?
Read the FAQ?
In particular:
Requests always seem to timeout, and don't give me
anything back. Why?
and
How do I configure access control?
Dave
---
> Then edit /var/net-snmp/snmpd.log to contain a line of the format :
[That's 'snmpd.conf' presumably?]
> createUser username MD5 "authentication_password" DES "encryption_password"
> Note that this line will "disappear" when the daemon starts,
But it ought to be replaced with an equivalent "u
> We try to make a snmp agent (Perl).
You might like to take a look at the 'NetSNMP::agent' module,
which does exactly this.
> OS: Sun/ Language: Perl/Net::SNMP 5.1.1
Please note that the Net::SNMP perl module has nothing to
do with the Net-SNMP project. If you need assistance with
that, you
> I'm trying to gather statistics for my ethernet card's virtual interfaces.
> From what I understand this is not possible as stastics are only generated
> for physical interfaces (an snmpwalk only shows eth0 and not eth0:1).
That's correct.
In particular, "cat /proc/net/dev" only shows eth0 and
> What is the API that I need to use to de-register the MIBs that were
> registered with the Agent
Try netsnmp_unregister_handler
There aren't any helper-specific unregistration APIs that I'm aware of.
That shouldn't result in a memory leak, but this probably hasn't
received a great deal of
1 - 100 of 6666 matches
Mail list logo