Hi Greeting:
I have several MIB objects are Gauge64 type. According to the mib2c created C
codes the actual data type in C for Gauge64 is ASN_COUNTER64. To assign the return
value of the Gauge64 type variables in the var_() is not straight forward like
other types of objects. I search
Hi Dave,
I am successful in creating views with the help of examples given in the man
page at the site. But Dave, I am still not clear what is the requirement of
creating and maintaining View-based Access Control entries on a remote
entity.
Can you please explain me why is it required exactly..
Hi!
I have encontered some problems with the SMUX interface
when I try to create new table entry using the "snmpset" request.
I give you some cases below. First case is ok. But second one is not ok.
I want both cases to result in same result.
Please have a look and tell me how to overcome it.
--
Hi Greeting:
I still don't understand the purpose of setting the maximum valid index
parameter in the header_simple_table API.
The AGENT.txt file said "the maximum index value parameter does not have to be a
permanently fixed constant. It specifies the maximum valid index at the tim
Title: Questions on "Extending the Net-SNMP agent"
I have net-snmp 5.0.9 running on Red-hat Linux (kernal version 2.4.20). I am trying to find out how to extend the agent to support my own MIB definitions. The only tutorial I find is "Extending the UCD-SNMP agent" for 4.x.
Here are my questi
On Thu, Aug 05, 2004 at 10:23:58AM -0600, Carlos Cantu wrote:
> Preferably I'd like to configure the agent to not return these
> tables at all.
./configure --with-mib-modules=host --with-out-mib-modules=host/hr_swinst
/Niels
--
Niels Baggesen - @home - Århus - Denmark - [EMAIL PROTECTED]
The pu
I have two pass through scripts (see below), and probably will be adding
more later.
pass .1.3.6.1.4.1..1.1 /usr/share/snmp/pass_scr/script1.py
pass .1.3.6.1.4.1..1.3 /usr/share/snmp/pass_scr/script3.py
An snmpwalk works perfectly within enterprises..1.1 or
enterprises..1.3, but
I'm getting a segmentation fault while executing this test code. I guess this means that it's not a good idea to mix sync & async snmpget calls. Is this a bug or just plain malpractice?
--
Victor Gil
#!/usr/bin/perl
use SNMP;
use strict;
use diagnostics;
my $session = new SNMP::Session(
D
Getting an hrDeviceIndex.1280 = 1280 with an hrDeviceType of
hrDevicePrinter. I'm guessing this is being generated by the
net-snmp agent. But shouldn't there also be an entry in the
prtGeneral table subscripted by 1280? And I'm even curious
why that entry is there. We are a printer, but I'm han
Is there any way to make the hrSW table less comprehensive? My
last dump of the host resources table had the software OIDs
count at over 2000 instances. I know this is a mandatory table,
but it makes walking the MIBs harder when we're really only
interested in the hrDevice, hrSystem and hrStorag
> After I have implemented the changes in the template code generated the I
> realise that I need to add something to the MIB.
> Can I just make the change to the XX-MIB.txt file and then make the changes
> to the .c and .h files and rebuild?
Yes - that's probably the most sensible, particularly
Hello,
After I have implemented the changes in the template code generated the I
realise that I need to add something to the MIB.
Can I just make the change to the XX-MIB.txt file and then make the changes
to the .c and .h files and rebuild?
Or are there additional bindings needed?
Thanks,
Garyc
Hi,
I was advised to stick with the current approach of generating template code
and filling the code out to get persistence to work.
Basically I can save the mib to a persistence file and reload the
persistence into the mib. When set requests are performed the agent updates
the mib and the persis
> [apps]$ ./gettable
> AMIT: 1.3.6.1.2.1.7.5
> Was that a table? .iso.3.6.1.2.1.1.3.6.1.2.1.7.5.1.1
Try
./gettable .1.3.6.1.2.1.7.5
i.e. with a leading '.' for the OID.
This ensures that the tools regard this as a full numeric OID,
rather than a partial one (implicitly rooted at "
[ 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
Hi,
Can anybody help me to explain how to add view by
using snmpvacm command.
I'm executing below command:
snmpvacm -v2c -c public 10.254.24.245 createView
[-Ce] system 1.3.6.1.2.1.1 7
I am entering 7 as mask . Is that O.K?
Am I wrong somewhere?
WIth Regards;Sanjay Madan(Sr. Software
Eng
> I am using NET-SNMP version: 5.0.6
> I have written a program for SNMP subagent to connect
> to master agent for serving get/set requests.
What sort of "subagent" is this?
Are you using AgentX or something else?
> when I use tcp it works fine..
> but when use udp to conne
Hi,
I am using NET-SNMP version: 5.0.6
I have written a program for SNMP subagent to connect
to master agent for serving get/set requests.
when I use tcp it works fine..
but when use udp to connect to master agent.. I can
register the Object handler but when I do "snmpget",
request is comming to ma
Hi Dave:
Thanks! It's wonderful! The more I tried and traced (of course with your input) the
more I understand the mechanism. Yes, your input cleared my doubt. And there is no
need to separate the #define for two tables. Thanks for the additional illustration
for some special cases. I think
> | | +--udpEthInLinkTable(3)
> | | | |
> | | | +--udpEthInLinkEntry(1)
> | | | | Index: udpEthInLinkTable
?
> | | +--udpEthOutLinkTable(4)
> | | |
> | | +--udpEthOutLinkEntry(1)
> | || Index: udpEthOutLink
> Can any one tell what's wrong with this command
>
> [EMAIL PROTECTED] amit]$ snmptable -c public 127.0.0.1 at.atTable
> snmptable: No securityName specified
You're trying to use community-based authentication,
but the v5 commands default to using SNMPv3
Try
snmptable -v 1 -c public 127.0.
> Help,
> Has anyone install SNMP module. I have download this package from
> http://search.cpan.org
You really need to use the version of the perl module that
matches the Net-SNMP suite which you are using.
The error that you mention has been fixed in the current releases.
Get the latest source
> Can anybody please tell me how to include groups, users, views in
> net-snmp?
Please see the FAQ entry:
I don't understand the new access control stuff - what does it mean?
> In which MIB can I find the support for these?
SNMP-VIEW-BASED-ACM-MIB
>
Can any one tell what's wrong with this command
[EMAIL PROTECTED] amit]$ snmptable -c public 127.0.0.1 at.atTable
snmptable: No securityName specified
I have installed red hat 9 with net-snmp-5.0.6 version.
--
Amit Singh Chandel
Associate Software Engineer
[EMAIL PROTECTED]
ST
Help,
Has anyone install SNMP module. I have download this package from
http://search.cpan.org
Every time I try to complie it gives the error below
___
[EMAIL PROTECTED] SNMP-4.2.0]# perl Makefile.PL
WARN
> I ran the mib2c to generate C codes. The tool defines the table entries
> for two tables all together. The number of the second table entries
> continues from the last entry of the first table. So the actual #define
> for table entry of table one begins from 1 to 20 and for table entry of
> table
Hi,
I have implemented an SNMP agent with the following 2 tables (shown using
snmptranslate):
+--udpEth(3)
| | |
| | +-- -R-- INTEGER numUdpEthInLinks(1)
| | +-- -R-- INTEGER numUdpEthOutLinks(2)
| | |
| | +--udpEthInLinkTable(3)
| | | |
27 matches
Mail list logo