Dave Shield | 1 Aug 2007 10:06
Picon

Re: problem in receiving traps in SNMP-V3

On 31/07/07, Reza Salehi <rezsalehi <at> yahoo.com> wrote:
> I am able to send and receive Trap in V2 mode but in V3 I can send trap but
> I am not able to see them using snmptrapd.I can see the packets coming using
>  -d switch but not able to see the content of the message.

Which version of the code are you using?
What access control entries do you have in snmptrapd.conf?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

nagata.yuuji | 1 Aug 2007 06:26
Picon
Picon

question for NET-SNMP


Please teach an affair about netsnmp.
I conduct an investigation into a problem in 2038.

Will NET-SNMP support a problem in 2038? 

When I do not cope, what kind of influence will be given 
when it was the time of the problem?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Darryl | 1 Aug 2007 10:15
Picon
Favicon

RE: problem in receiving traps in SNMP-V3

Try adding –Dsum parameter to snmptrapd to get some extra debug information
(snmptrapd -f -Le –Dsum)

I have not managed to get the snmptrap command to work with snmpV3 users but
the snmpinform command did (I think snmpinform is the equivalent to using
snmptrap –Ci ...)

I notice you have specified an engine id of 0x0102030405 which I expect is
taken from one of the examples, I assume this is the same engine id used by
the trap sink?  If not I expect it probably should be.

I have been using one of the SNMP examples, below is information from my
configuration and script files if it helps.  Check you have the authuser
entry in your configuration file.

The example I have been using including MIB files can be found here...
http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html

Darryl

A trap handler (/home/myuser/trap.sh)
-------------------------------

 #!/bin/sh

 read host
 read ip
 vars=

 while read oid val
(Continue reading)

nagata.yuuji | 1 Aug 2007 11:09
Picon
Picon

question about net-snmp

Dear All

I have a question.
Please let me know about net-snmp.
I am doing a search about year 2038 problem.

Does net-snmp support the year 2038 problem?

If it is not supported,what problem occurs ?

Best Regards,
YujiNagata (nagata.yuuji <at> cnt.sp.qnes.nec.co.jp)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Nikolett C | 1 Aug 2007 15:32
Picon
Favicon

watched.c



Hi,

How can I try out watched.c ? The same way like snmpdemoapp.c in the tutorial?
% make snmpdemoapp
% ./snmpdemoapp

But there's no Makefile for watched.c ...

I hope there is an answer, thanks!

Nikolett
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Dave Shield | 1 Aug 2007 16:40
Picon

Re: watched.c

On 01/08/07, Nikolett C <cypris <at> freemail.hu> wrote:
> How can I try out watched.c ?

    configure --with-mib-modules=examples/watched
    make

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reza Salehi | 1 Aug 2007 17:18
Picon
Favicon

Fwd: Re: problem in receiving traps in SNMP-V3

Hi Dave,
 
snmptrapd 5.4 is runinng in receiver side.
 
In the /usr/local/share/snmp/snmptrapd.conf  I have:
 
authUser log Reza
 
createUser  Reza MD5 1234567 DES 9876543210
I also tried:
createUser  -e 0x0102030405  Reza MD5 12345678  DES 9876543210
 
In the /var/net-snmp/snmpd.conf:
 
createUser  -e 0x0102030405  Reza MD5 12345678  DES 9876543210
 
I also tried
 
create User Reza MD5 12345678 DES 9876543210
 
but didn't work as well.
 
 
 
Thanks again for your help,
Reza


Note: forwarded message attached.

Shape Yahoo! in your own image. Join our Network Research Panel today!
Picon
From: Dave Shield <D.T.Shield <at> csc.liv.ac.uk>
Subject: Re: problem in receiving traps in SNMP-V3
Date: 2007-08-01 08:06:07 GMT
On 31/07/07, Reza Salehi <rezsalehi <at> yahoo.com> wrote:
> I am able to send and receive Trap in V2 mode but in V3 I can send trap but
> I am not able to see them using snmptrapd.I can see the packets coming using
>  -d switch but not able to see the content of the message.

Which version of the code are you using?
What access control entries do you have in snmptrapd.conf?

Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Nikolett C | 1 Aug 2007 17:25
Picon
Favicon

watched



Thank you very much!

I'd like to ask why I got this answer after an snmpget:

Wrong type, should be integer. BTW it wrote out the string ('So long and...') correctly.
Is there anything that can be done to remove this error message?
Thank you!

Nikolett
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Abraham Iglesias | 1 Aug 2007 17:29
Favicon

auto generated traps?

Hi all,
I would like to know if there's a way of sending predefined traps when a 
specific OID has overpassed a defined threshold.

I have read many documentation about snmp but i couldn't find the way to 
send traps when an event occurs (cpu usage is over 60 % or memory 
available is under 10%). I am sure there's a way to do it, but the thing 
is that i haven't found that. Should I write an application to poll for 
these values and then use the snmptrap command to inform the manager? :S

thanks a lot.

Abraham

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Dave Shield | 1 Aug 2007 17:39
Picon

Re: auto generated traps?

On 01/08/07, Abraham Iglesias <abraham.iglesias <at> genaker.net> wrote:
> I would like to know if there's a way of sending predefined traps when a
> specific OID has overpassed a defined threshold.

Please see the section ACTIVE MONITORING in the snmpd.conf(5) man page.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Gmane