Hi all
I am using ucd-snmp 4.2.6.
I configured my snmp.conf file, in order to use the snmpv3, as follows:
defContext none
defSecurityName myusername
defAuthPassphrase mypassword
defVersion 3
defAuthType MD5
defSecurityLevel authNoPriv
also I have configured in the snmpd.conf, the user which wil
Dear All,
I am trying to create my own MIB and load it. The simple MIB file which i
have created is attached with the mail.
The steps which i have followed are:
1. cp TOPO-MIB.txt /usr/local/share/snmp/mibs
2. export MIBS=+TOPO-MIB
3. echo "mibs +TOPO-MIB" >> /home/fawad/net-snmp-5.1.1/snmp.conf
> The documentation says that I must select a .conf file
> and pass this to mib2c, along with the suitable root OID.
> I have attached the .txt file of my MIB, for 802.11 support.
It doesn't look as if you did attach that MIB file,
but I presume you're working with the standard IEEE802dot11-MIB
(
> I am trying to create my own MIB and load it.
> The steps which i have followed are:
>
> 1. cp TOPO-MIB.txt /usr/local/share/snmp/mibs
> 2. export MIBS=+TOPO-MIB
> 3. echo "mibs +TOPO-MIB" >> /home/fawad/net-snmp-5.1.1/snmp.conf
Try
echo "mibs +TOPO-MIB" >> /home/fawad/.snmp/snmp.conf
Al
Hello UCD users,
I'm trying to extend my ucd-snmp
agent with a private extension.
Within this extension, I want to use an external library,
which is part of the SDK of another product.
When I write a simple C program, I link this library
directly in gcc syntax like this:
/us
Dear mates.
We are facing the following problem. We have some boxes ( Solaris, Windows
server, Netscreen FW) in our network, and an HOPopenview server in a
external network.
We dont want to send the traps directly to outside SNMP server as we dont
want our IP to be know by externla people.
So we
Hi all,
I am trying to use snmpget in version 3 of snmp.
I have configured the agent snmp.conf file as follows:
defContext none
defSecurityName MyUserName
defAuthPassphrase My demo password
defVersion 3
defAuthType MD5
defSecurityLevel authNoPriv
defprivpassphrase MyPassword
defprivtype DES
an
>> I am trying to create my own MIB and load it.
>> The steps which i have followed are:
>>
>> 1. cp TOPO-MIB.txt /usr/local/share/snmp/mibs
>> 2. export MIBS=+TOPO-MIB
>> 3. echo "mibs +TOPO-MIB" >> /home/fawad/net-snmp-5.1.1/snmp.conf
>
> Try
> echo "mibs +TOPO-MIB" >> /home/fawad/.snmp/snmp
Hi again,
For some reason that I do not know I cannot see the object values of the
host-resources-mib file, when I am running:
either
snmpwalk localhost (my rocommunity name) system
or
snmpwalk localhost (my rwcommunity name) system
(as also snmpget for a specific object from this MIB is not wo
> > If all that fails, try running
> >
> > snmptranslate -Dparse-mibs -Td TOPO-MIB::routeripsno
> >
>
> It unfortunatly still does not work.
>
> I the output of the above command it does mention TOPO-MIB but again shows
>
> parse-mibs: Processing import: ccitt
> parse-mibs: Processing i
> and furthermore in snmpd.conf file I ahve configured the read-write and
> read-only access user to be : MyUserName.
You shouldn't have *both* of these with the same username.
Just choose one of them.
> The problem is that any time I am trying snmpget command I am receiving the
> following e
> Is that the *only* place where it mentions TOPO-MIB ?
>
> Please save this debug output to a file, and try:
>
> grep TOPO {outfile}
> grep Scanning {outfile}
>
> and let us know what the results of those two commands are.
Dave i have attached the output file with the mail also.
> Is that the *only* place where it mentions TOPO-MIB ?
>
> Please save this debug output to a file, and try:
>
> grep TOPO {outfile}
> grep Scanning {outfile}
>
> and let us know what the results of those two commands are.
Dave i have attached the output file with the mail also.
> Dave i have attached the output file with the mail also.
Thanks, that's useful:
> parse-mibs: Scanning directory /home/fawad/.snmp/mibs
> parse-mibs: The index is good
> parse-mibs: Scanning directory /usr/local/share/snmp/mibs
> parse-mibs: The index is good
> parse-mibs: Module 0 RFC1155-SM
You are right there was not a line createUser anywhere in the configuration
files.
I added this line in the snmpd.conf file, but know I am receiving the
following reply when I am trying to make a get request:
snmpget: Unsupported security level
On Monday 19 July 2004 12:52, Dave Shield wrote:
Before loading the MIB its implementation is must or we can just load MIB
with out implementation?
Regards,
>> Is that the *only* place where it mentions TOPO-MIB ?
>>
>> Please save this debug output to a file, and try:
>>
>> grep TOPO {outfile}
>> grep Scanning {outfile}
>>
>> a
> Before loading the MIB its implementation is must or we can just
> load MIB with out implementation?
No - loading the MIB, and implementing it are two completely
separate tasks.
It's perfectly possible to implement a MIB without loading it, or
to query an implemented MIB without loading it (as
[Cc:ed back to the mailing list]
> I got the problem :).
>
> The problem was with my TOPO-MIB file.
Argghhh!!!
Yup - finally spotted it.
"DEFINITION" rather than "DEFINITIONS"
Grrr.
Which just shows that it's always worth running a MIB file through
a proper MIB validation tool
All,
I am using net-snmp api send_v2trap to send snmpv2 traps. but when the
trap generated is recieved on a trapviewer, it is showing the
severity as CLEAR even for critical trap. but it is noticed that in the
message part it is showing the severity parameter as critical.
I also tried with send_
I have read a few other postings from the archives, and noted
comments just a few weeks ago that relate to the issue of
using mib2c.scalar.conf on a MIB having no scalar objects,
and the result being no stubs for any OIDs. This is a significant
departure from past behavior, and while initially con
> For some reason that I do not know I cannot see the object
> values of the
> host-resources-mib file, when I am running:
>
> either
> snmpwalk localhost (my rocommunity name) system
> or
> snmpwalk localhost (my rwcommunity name) system
the host-resources-mib is not under the system sub tree.
>> snmpwalk localhost (my rwcommunity name) system
>the host-resources-mib is not under the system sub tree. Try
>snmpwalk localhost (my rwcommunity name) host
>I don't think it's included by default. You might have to run configure
with
>--with-mib-modules="host"
True, but that's not the main
> Try:
>
> snmpwalk -v 2c -c (my rwcommunity name) -m ALL localhost .1.3.6.1.2.1.25.3
>
> and see what you get.
>
> If that works do:
>
> snmpwalk -v 2c -c (my rwcommunity name) -m ALL localhost system
But as Holger says, that *won't* give you the Host-Resources-MIB,
since none of that is und
Title: engineID
Hello,
1. Where can I find the structure of the engineID used by net-snmp?
2. Is it right, that the agentaddress of a SNMPv1 Trap, sended by an agentx subagent via net-snmp master agent is 0.0.0.0. ?
Thank you for help
In what order does snmpd load mibs and can that be
changed?
Mitch
I have looked over the website, read all of the tutorial documentation, etc.
I have not found answers to some questions.
--
1. In the code produced by mib2c using the old-api.conf file includes the
following items:
for routine
*var_ieee802dot11(...)
{
...
s
It seems that any script that I put in a traphandle line in the
snmptrapd.conf file gets called twice when I send a trap to test it. So if
the script writes a value out to a file, it gets written twice. Has anyone
seen this behavior before, or know what I might be doing wrong? I'm
running net-s
What do your snmpd.conf and snmptrapd.conf look like? (change your community
names etc.)
>It seems that any script that I put in a traphandle line in the
snmptrapd.conf file gets called twice when I send a trap to test it. So if
the script writes a value out to a file, it gets written twice. Has
Here's my snmptrapd.conf:
traphandle SNMPv2-SMI::enterprises.3000.12.11
/usr/local/scripts/trapme.sh 11
traphandle SNMPv2-SMI::enterprises.3000.12.12
/usr/local/scripts/trapme.sh 12
traphandle SNMPv2-SMI::enterprises.3000.12.23
/usr/local/scripts/trapme.sh 23
traphandle SNMPv2-SMI::enterpri
Hi all,
I'm having issues running my own java trap generator (Using log4j and joeSnmp library)
running on RH(Version 9) which has net-snmp snmpd and snmptrapd running.
Without snmptrapd running, my java trap generator works fine but it produces
java.net.BindException with snmptrapd. I guess snm
Hi,
I am a newbie going through the examples. I have successfully got the
example sub-agent up and running. I can issue a get and the integer value
returns. But I can't perform a SET operation. When I perform
snmpset -c public -v 2c localhost
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 =
What does it mean when I don't get many fd's from the snmp_select_info()
call? Lately, the count is not higher than 2, and I cannot process SNMP
requests. I've seen when the count is 3 or 4, I am able to process
requests. Any ideas?
I've changed my code back to the way it was when it was workin
Hi!
I'd like to send an SNMP trap from my application, with multiple parameters
along with it.
Does the MIB standards support this? If the MIB standards support this, does
net-snmp support this?
For exmaple, if I design a trap in my MIB for detecting large file sizes.
I need to send the fol
33 matches
Mail list logo