Hi
I Issued the following command
./snmptrap -v 1 -c public 10.9.10.195 .1.3.6.1.6.3.1.1.5.3 10.9.10.195 2 0
' ' 1.3.6.1.2.1.2.2.1.1 i 1
It is giving following result for snmptrapd
2006-03-03 13:59:33 smrutiranjan.telxsi.com [10.9.10.195] (via UDP:
[10.9.10.195]
:1042) TRAP, SNMP v1,
Hi
I have installed Net-SNMP Feature on Window 2000 machine.
When i am trying to run snmpconf i am getting the promt
C:\usr\bin\snmpconf requires Perl to run.
.
A version of Perl for Windows is available from
http://www.activestate.com/Products/ActivePerl
.
Please install Perl
Hi,
Thanx Dave
It just work by adding rocommunity public in snmpd.conf.
Regards
Manish
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 9:03 PM
To: Manish
Cc: net-snmp-users@lists.sourceforge.net; 'Ravindra Keskar'
Subject: Re: NET-SNMP agent
Hi Dave,
Sorry to bother you but i think this time is the last question or aid,
in my extended agent of snmp by using the dlmod, in the function of
registering the variables in init_Filename i use these functions:
in init_Filename()
init_mib()
/* after the parsing of my private mibs
On Thu, 2006-03-02 at 14:00 -0500, Jean-Sebastien Morisset wrote:
Can we use an AND in the monitor line? Something like:
monitor -r 70 -o dskPath -o dskErrorMsg dskTable dskErrorFlag != 0
dskUsed = 0
Not directly.
The Event MIB is designed to monitor a single value - not
arbitrary
On Thu, 2006-03-02 at 16:43 -0500, [EMAIL PROTECTED] wrote:
While browsing the MIB with snmpwalk we get the following error when
we get to IP-MIB::ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1:
Timeout: No Response from localhost
What happens if you try
snmpgetnext -r 0 -t 60 ...
On Fri, 2006-03-03 at 13:56 +0530, vishakha s wrote:
But when i run the following command mentioned in tutorials
./snmptrap -v 1 -c public 10.9.10.195 TRAP-TEST-MIB::demotraps...
it gives the error
Cannot find module (TRAP-TEST-MIB):
Where have you installed the 'TRAP-TEST-MIB.txt' file ?
I checked ,the file TRAP-TEST-MIB.txt is there in
/home/rajesh/snmptrap1/share/snmp/mibs/
what may be the problem .Need to do some other settings ??
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 4:46 PM
To: vishakha s
Cc:
Thanks Dave. It seems the functionality of init_agent API has been
changed significantly from 5.2 to 5.3. I was using the agentXPerms but
that was not being taken in consideration in 5.2.x but is taken care in
5.3.x. So, it resolves my problem.
-Sachin
On Thu, 2006-03-02 at 22:22, Dave Shield
On Fri, 2006-03-03 at 16:55 +0530, vishakha s wrote:
I checked ,the file TRAP-TEST-MIB.txt is there in
/home/rajesh/snmptrap1/share/snmp/mibs/
The next thing is to check where snmptrapd is actually
looking. Run
snmptrapd -f -Le -Dparse-mibs
and look for lines of the form Scanning
On Fri, Mar 03, 2006 at 10:37:37AM +, Dave Shield wrote:
On Thu, 2006-03-02 at 14:00 -0500, Jean-Sebastien Morisset wrote:
Can we use an AND in the monitor line? Something like:
monitor -r 70 -o dskPath -o dskErrorMsg dskTable dskErrorFlag != 0
dskUsed = 0
Not directly.
The Event
Hi Dave,
i am thankfull for ur aid and i ask u if u can send me an example of code
c as attachement that can be parse a mib with index and than register the
indexes in the snmp agent using v5.
thank you very much
Best Regards
Elias
From: Dave Shield [EMAIL PROTECTED]
To: elias
Hi everyone,
This morning I found automountd down on a few servers, so I'm looking at
the procfix feature in snmpd.conf. The details on it's use are a
little sketchy. For example, is a trap sent for the failure, or is the
fix applied first. Is a trap sent after the fix command? Here's my
related
Title: Messaggio
Hi
all,
I'm trying to use
code form notification.c to send a trap.
I linked
notification.o with my code.c, and tried to use
init_notification();send_example_notification();
but I receive the
following error, and no trap is generated.
send_trap: no v2 trapOID varbind
On Fri, 2006-03-03 at 13:03 +, elias bou rahal wrote:
i ask u if u can send me an example of code
c as attachement that can be parse a mib with
index and than register the
indexes in the snmp agent using v5.
There are various examples of MIB modules implemented
using the v5 API
On Fri, 2006-03-03 at 08:47 -0500, Jean-Sebastien Morisset wrote:
This morning I found automountd down on a few servers, so I'm looking at
the procfix feature in snmpd.conf. The details on it's use are a
little sketchy. For example, is a trap sent for the failure, or is the
fix applied first.
On Fri, Mar 03, 2006 at 02:32:11PM +, Dave Shield wrote:
On Fri, 2006-03-03 at 08:47 -0500, Jean-Sebastien Morisset wrote:
This morning I found automountd down on a few servers, so I'm looking at
the procfix feature in snmpd.conf. The details on it's use are a
little sketchy. For example,
Hi,
I use send_v2trap to send traps (net-snmp-5.2.1.2)
and I would like to know if its possible to register a callback routine to
be notified if the INFORM generated a timeout (for instance because the trap
receiver didnt send the ack) or any other mechanism to avoid sending
On Fri, 2006-03-03 at 09:46 -0500, Jean-Sebastien Morisset wrote:
Excellent - thank you very much for your continued replies.
I don't know where you find the time,
No - neither do I.
In your example, would that mean a trap would never be sent,
even if the procfix command failed?
Correct.
Hi all,
I had snmpget v3 working fine with between Solaris 8 systems.
I recently rebuilt the same version of Net-SNMP (5.2.2) on Solaris 10
and now the same snmpget to the exact same Solaris 8 client gets binary
garbage back if I request the nsExtendOutputFull OID from any extend
I had snmpget v3 working fine with between Solaris 8 systems.
I recently rebuilt the same version of Net-SNMP (5.2.2) on Solaris 10
and now the same snmpget to the exact same Solaris 8 client gets binary
garbage back if I request the nsExtendOutputFull OID from any extend
Hi Dave,
First of all please accept my excuses for the fact that you have
responded so promptly to my email and on my side I've put so much time
to follow your instructions :-(
Actually by trying to respond to your questions I found the problem. The
traps were rejected by snmptrapd with the
Hi,
the error message shown on Subject happened after i changed
the type of my mib variable, MediaTime, from 'ASN_OCTET_STR'
to 'ASN_INTEGER' in my agent code.
My agent was running on a remote Linux box. I used 'snmpget'
on my local Linux to get the value of MediaTime.
I then
Hi,
I turned on debugging and found that snmpget read in
the old MIB file, myMIB.txt.orig, which was saved in
/usr/share/snmp/mibs.
The new correct MIB file under /usr/share/snmp/mibs
is a link to /usr/local/share/snmp/mibs/myMIB.txt which
contains the new type.
After
Hi Dave,
Same output:
Timeout: No Response from localhost
Just as reminder,
If I want to run my code run with OS provided
net-snmp-5.2.1.2-fc4.1.x86_64.rpm, then there are 2 ways:
Somehow make changes in my code that after output of last OID of my MIB, the
output should be No more
25 matches
Mail list logo