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 va
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 removi
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 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 follo
> 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
> direc
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
direct
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?
Corr
Hi,
I use send_v2trap to send traps (net-snmp-5.2.1.2)
and I would like to know if it’s possible to register a callback routine to
be notified if the INFORM generated a timeout (for instance because the trap
receiver didn’t send the ack) or any other mechanism to avoid sending traps/inf
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 e
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
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 distr
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
pro
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
relat
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 b
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 dire
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 direc
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 w
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: net-snmp-users@lists.s
[ 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 Fri,
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 ?
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 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 13:22 -0500, Jean-Sebastien Morisset wrote:
> On Thu, Mar 02, 2006 at 05:25:30PM +, Dave Shield wrote:
> > What does walking the procTable show?
> Everything appears normal:
[snip]
Is that the results of walking the table immediately after
the trap arrives, or at a r
On Fri, 2006-03-03 at 08:31 +, elias bou rahal wrote:
> /* after the parsing of my private mibs that 's contain many tables */
> i register my variable by using this function:
> register_mib_range(descr,
> (struct variable *)var,
> sizeof(struct vartype),
>
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 th
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 agen
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
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, community
28 matches
Mail list logo