RE: newbie

2016-08-11 Thread Mark Reynolds
Hi Jaya, What is it you want to use NetSNMP to do? Mark *From:* Jayashree M A [mailto:rangili.ma...@gmail.com] *Sent:* 11 August 2016 10:04 *To:* net-snmp-users@lists.sourceforge.net *Subject:* newbie Hi, I am a newbie to net-snmp and snmp and nms/ems Could someone give me pointers

Re: SNMP v3 newbie question

2016-04-16 Thread Dan Miller
On 04/15/16 16:58, Wes Hardaker wrote: Dan Miller writes: created ~/.snmp/snmpd.conf : defSecurityName MD5User ... sent: sudo snmpgetnext 127.0.0.1

SNMP v3 newbie question

2016-04-15 Thread Dan Miller
I'm trying an even simpler test now.  I have snmpd V5.7.2 running on my machine. Using as reference, http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options > stopped snmpd > created ~/.snmp/snmpd.conf :

Re: Newbie query : snmp request/response oid length

2012-09-07 Thread stavan shah
I tried it out and recompiling with the changed OID did work :) This is a Juniper Bug and is tracked by bug id: PR397705 Thanks Dave for your support. Looking forward to learn more about Net SNMP. On Thu, Aug 2, 2012 at 11:38 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 2 August 2012

Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Hi All, Can you please help me out with the below query. I am using the net-snmp-5.4.2.1 package and polling a few devices. I have a case where in the OID length is 128 subidentifiers. i.e breaking the sub identifier length rule in http://tools.ietf.org/html/rfc2578 But I would still like to

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 12:14, stavan shah stavan2...@gmail.com wrote: I am using the net-snmp-5.4.2.1 package and polling a few devices. I have a case where in the OID length is 128 subidentifiers. i.e breaking the sub identifier length rule in http://tools.ietf.org/html/rfc2578 But I would still

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Thanks a lot Dave for the super quick response. I have read few of your posts and they are definitely helping me understand things better. I completely agree to your advice below and we are in process of redesigning the MIB tables for this. But there are a considerable devices to be configured and

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 16:23, stavan shah stavan2...@gmail.com wrote: If a simple config change and recompiling can help it will be great. So wanted to understand what change am I missing in this regard. All I can suggest is you try it. That ought to work, but it's not something we've ever really

Newbie needs help

2012-05-26 Thread Magda Stefan
First of all I would like to introduce my self: I am a student in the 4th year at Technical University of Cluj Napoca, Romania. As I am about to graduate I have to do a project for my bachelor diploma which is The management of computers network, based on Nagios. I had to install Nagios as a

Re: Newbie needs help

2012-05-26 Thread Dave Shield
On 26 May 2012 11:00, Magda Stefan fane...@yahoo.com wrote:     One of the tasks that I had to do was to create 2 new oids that represent One way delay and Available transfer rate for each of the computer's network interface. I chose to introduce them under the ifTable. Hmmm I'm not sure

RE: Newbie needs help

2012-05-26 Thread Magda Stefan
Thank you Dave for your fast reply. First of all, I'm trying to finish this project for over 2 weeks, but I didn't want to ask for any help.I've tried many different ways to approach this problem, using different frameworks (mib2c.array-list and the other types). Do you think that it will be a

snmptrap/snmptrapd - newbie question

2012-04-23 Thread Dioguardi, Timothy
I've installed the Windows binaries for NET-SNMP version 5.6.1.1 on my Windows 7 workstation. I registered the snmptrapd service and was able to run the service from the command line (output is being logged to c:\usr\log\traptest.txt). Now I'm trying to test that snmptrapd is receiving traps.

Re: writing a subagent -- newbie help

2010-09-29 Thread Matt Flanzer
Following up... I got the example subagent working. (yay!) The issue is with macports, not net-snmp. The current macports distribution is net-snmp 5.5 but the master agent (snmpd) is 4.5. The generated subagents do not like to play well. Within the macports distribution the net-snmp config file

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo

writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Hello all -- I've installed NET-SNMP on my Mac (via macports) and I'm trying to write a subagent. I've followed the wiki instructions, but I can't get it to work. Basically, no matter what I've tried I get the response: No Such Object available on this agent at this OID I've also tried the demo

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
On Fri, 24 Sep 2010 16:53:15 -0700, Matt Flanzer mattflan...@gmail.com said: MF Basically, no matter what I've tried I get the response: MF No Such Object available on this agent at this OID One thing worth doing is running both the subagent and the master agent with debugging output. You

Re: writing a subagent -- newbie help

2010-09-27 Thread Wes Hardaker
On Mon, 27 Sep 2010 22:50:41 +0200, sebastian2...@gmx.de sebastian2...@gmx.de said: Sd REALLY nice would be to have a simple compiling example, how to create a Sd program which can act as trapsender, client and server at once. FYI, the example code in agent/mibgroup/examples/notification.c

Re: writing a subagent -- newbie help

2010-09-27 Thread Matt Flanzer
Thanks everyone for your initial responses. I think if I can get the example subagent code working, I could get mine to as well. Using the -Dagentx flag doesn't produce any additional output on the example subagent. On the master agent (snmpd) it does print some extra lines, but nothing new is

Re: Newbie question

2010-08-03 Thread Dave Shield
On 2 August 2010 10:22, Guerrero, Simon (PTS horizontal PS projects) s.guerr...@logica.com wrote: So basically, all I want to do is use the “snmptrap” tool to send an error message to that product. However, I’m confused by all these different MIBS, and what to use If you need to send your

Newbie question

2010-08-02 Thread Guerrero, Simon (PTS horizontal PS projects)
Hi I'm new to SNMP, so please forgive the stupid questions, but... I have a number of Windows boxes where I want to run archiving scripts which take audit data and copy it to a central box. When something goes wrong, I need to alert a central admin. The admin uses a product which

Re: Very Newbie: Converting a complex MIB file with mib2c

2010-07-07 Thread Dave Shield
On 2 July 2010 14:51, Joan Landry joan.lan...@overturenetworks.com wrote: You have to use mib2c for each table and scalor: Example: mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable Minor correction: You

Newbie to net-snmp: which helper to use

2010-07-05 Thread K b
Hi All, I am implementing a private MIB to expose some performance statistics of our systems. For HA, we have more than one systems which runs on embedded devices , but are firewalled by a management server i.e they are not accessible directly to the external world, they can be accessed through

Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Stavros Tsolakos
which respects data types? Do I have to use mib2c separately for each entry of my MIB? Thank you very much and my apologies if the question is stupid. I am very newbie and very confused, too. Regards, Stavros

RE: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Joan Landry
, 2010 9:11 AM To: net-snmp-users@lists.sourceforge.net Subject: Very Newbie: Converting a complex MIB file with mib2c Hi all. I am really new to SNMP and net-snmp. I have a MIB file from a network switch and i wanted to make a custom subagent to make the snmpd of my workstation report some dummy data

Re: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Fulko Hew
string values. Is there a configuration file to automagically generate template code which respects data types? Do I have to use mib2c separately for each entry of my MIB? Thank you very much and my apologies if the question is stupid. I am very newbie and very confused, too. No, its

Re: snmp newbie trying to use net-snmp as an Agent

2009-11-10 Thread seshu babu
Thanks a lot ! Dave for the detailed info. On Mon, Nov 9, 2009 at 3:14 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: 2009/11/5 seshu babu seshum...@gmail.com: 1. The net-snmp-devel rpm doesn't have a mib2c compiler that means I can do away with the mib2c compiler instead depend on

Re: snmp newbie trying to use net-snmp as an Agent

2009-11-09 Thread Dave Shield
2009/11/5 seshu babu seshum...@gmail.com: 1. The net-snmp-devel rpm doesn't have a mib2c compiler that means I can do away with the mib2c compiler instead depend on dlmod for code mib changes? mib2c is written in perl, so you need to install the RPM 'net-snmp-perl' as well. This includes

[newbie] ASN1 types mapping to c

2009-11-07 Thread LiWei Sun
i, I am trying to write a mib module of my own. I don't know how to pass an ip address value to snmp_set_var_typed_value function. I got a string value like 192.168.1.1, is it right to simply cast it to u_char* type, the ASN1 type defined in mib is IpAddress? How to specify the byte order ?

snmp newbie trying to use net-snmp as an Agent

2009-11-05 Thread seshu babu
Hi all, I am a snmp newbie trying to use net-snmp as an Agent in my linux Fedora 10 system. To start using net-snmp as an snmp agent: 1. I first installed these rpm's into our system: rpm -qa | grep snmp net-snmp-libs-5.4.2.1-4.fc10. i386 net-snmp-5.4.2-3.fc10.i386 net-snmp-utils-5.4.2.1-4

[newbie] How to decide, which mib2c configuration to use ...

2009-10-26 Thread Schnell, Daniel
Hi, I am about to evaluate net-snmp for our purposes. We use so far a different snmp architecture and have quite many private MIB attributes (and of course codelines) which would have to be ported. So I try to find out the smoothest way to make that transition work. The sw handles all kinds

Re: newbie: how to initialize DisplayString for a NOTIFICATION

2009-06-09 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du lundi 08 juin 2009, vers 15:57, PoWah Wong wong_po...@yahoo.ca disait : In C. Did you look at this example? http://www.net-snmp.org/dev/agent/notification_8c-example.html The last variable binding in this example is an ASN_OCTET_STR. You

Re: newbie: how to initialize DisplayString for a NOTIFICATION

2009-06-08 Thread PoWah Wong
In C. --- On Sat, 6/6/09, Vincent Bernat ber...@luffy.cx wrote: From: Vincent Bernat ber...@luffy.cx Subject: Re: newbie: how to initialize DisplayString for a NOTIFICATION To: PoWah Wong wong_po...@yahoo.ca Cc: net-snmp-users net-snmp-users@lists.sourceforge.net Received: Saturday, June 6

Re: newbie: how to initialize DisplayString for a NOTIFICATION

2009-06-06 Thread Vincent Bernat
OoO En cette soirée bien amorcée du vendredi 05 juin 2009, vers 22:33, PoWah Wong wong_po...@yahoo.ca disait : If my trap is defined as follows, how to initialize certExpiry to a valid DisplayString? In C or with snmptrap? -- BOFH excuse #51: Cosmic ray particles crashed through the hard

newbie: how to initialize DisplayString for a NOTIFICATION

2009-06-05 Thread PoWah Wong
If my trap is defined as follows, how to initialize certExpiry to a valid DisplayString? certExpiry OBJECT-TYPE SYNTAX DisplayString (SIZE (0..128)) MAX-ACCESS read-only STATUS current DESCRIPTION This DisplayString objects' indicates the expiry date of the

Re: newbie questions: monitoring with cacti

2009-05-13 Thread travi+ml-snmp
On Tue, May 12, 2009 at 09:09:30AM +0100, Dave Shield wrote: 2009/5/11 travis+ml-ca...@subspacefield.org: In addition, there are two important system statistics, interface statistics and monitored partitions, that I'd like to graph. Again - the first step is to check whether the agent is

Re: newbie questions: monitoring with cacti

2009-05-12 Thread Dave Shield
2009/5/11 travis+ml-ca...@subspacefield.org: 4) I tested using: snmpwalk -v 2c -c COMMUNITY_STRING_HERE nirvana system That output shows that the agent is reporting the information for the 'system' group. What happens if you run the same query, but looking at 'interfaces' or 'host', or 'cpu'

Re: newbie questions: monitoring with cacti

2009-05-12 Thread travis+ml-snmp
On Tue, May 12, 2009 at 09:09:30AM +0100, Dave Shield wrote: I'm suspicious that the paranoid security group defined in snmpd.conf simply isn't providing the necessary information. That was my immediate suspicion too. My initial guess was that the default configuration will give access to

newbie questions: monitoring with cacti

2009-05-11 Thread travis
Hello, I've recently decided to start using SNMP to monitor the systems in my personal network. These are mostly PCs running Linux or OpenBSD, but there may be one switch that I decide to monitor once I've got the knack. Based on what I'd heard, I chose cacti to do the front-end work (graphing,

newbie questions: monitoring with cacti

2009-05-11 Thread travis+ml-cacti
Hello, I've recently decided to start using SNMP to monitor the systems in my personal network. These are mostly PCs running Linux or OpenBSD, but there may be one switch that I decide to monitor once I've got the knack. Based on what I'd heard, I chose cacti to do the front-end work (graphing,

Newbie needing help e-mailing traps

2009-03-18 Thread Dan Nolan
I'm sorry if this is a dumb question, but I'm fairly new to Linux, Nagios, and net-snmp. I am looking for something that I can send SNMP traps to and it will e-mail me when it gets the trap. I have net-snmp installed on my Fedora 9 box. I understand that I need snmptrapd for what I'm looking

RE: Newbie needing help e-mailing traps

2009-03-18 Thread Mike Ayers
From: Dan Nolan [mailto:dno...@multi-ad.com] Sent: Wednesday, March 18, 2009 9:59 AM I have net-snmp installed on my Fedora 9 box. I understand that I need snmptrapd for what I'm looking to do. I found the traptoemail script and put this line in my snmptrapd.conf file: traphandle

Re: Newbie needing help e-mailing traps

2009-03-18 Thread Dave Shield
2009/3/18 Dan Nolan dno...@multi-ad.com: I have net-snmp installed on my Fedora 9 box.  I understand that I need snmptrapd for what I'm looking to do.  I found the traptoemail script and put this line in my snmptrapd.conf file: traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM]

Re: Newbie lacks general mechanics

2009-01-09 Thread Dave Shield
2009/1/8 Larry Brown larry.br...@dimensionnetworks.com: As I understand it the part of the OID that is returned depends on its existence in the MIB. There is no part of the OID. OIDs (object identifiers) are atomic. I'm not sure I agree. The OID that is returned from a query

Re: Newbie lacks general mechanics

2009-01-09 Thread Larry Brown
On Fri, 2009-01-09 at 08:37 +, Dave Shield wrote: What I expected was some way of describing to the snmpd agent where to get the value to return. That tends to be hard-coded into the agent (or subagent) binary. This is what I deduced but couldn't find a description that stated

Newbie lacks general mechanics

2009-01-08 Thread Larry Brown
Hello all, I've read a number of articles around on snmp and have a fundamental theory going as to how this works at a macro level but need some confirmation. Any assistance will be greatly appreciated. As I understand it the part of the OID that is returned depends on its existence in the MIB.

RE: Newbie lacks general mechanics

2009-01-08 Thread Mike Ayers
From: Larry Brown [mailto:larry.br...@dimensionnetworks.com] Sent: Thursday, January 08, 2009 11:26 AM Hello all, I've read a number of articles around on snmp and have a fundamental theory going as to how this works at a macro level but need some confirmation. Any assistance will be

SNMP Newbie

2008-12-20 Thread rjubio
Hello I am new to snmp but I have installed snmp on my machine to monitor it via another remote machine. I can monitor my CPU, Memory, Disk usage but what I want to include is to monitor my network interface. Can anyone help me in doing this? Thanks in advance.

Newbie MIB questions on Windows

2008-12-03 Thread Matthew Devine
So I just installed Net-SNMP binary for Windows version 5.4.2. Been reading through the documentation but unable to figure out why I can't get any of the systemStats from the UCDavis SNMP MIB. I confirmed that the MIB exists in my c:\usr\share\snmp\mibs directory. I can't seem to figure out

RE: Newbie MIB questions on Windows

2008-12-03 Thread Fernández Piñas , David
snmpwalk -v2c -c public localhost and post the answer you get. De: Matthew Devine [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 03 de diciembre de 2008 19:07 Para: net-snmp-users@lists.sourceforge.net Asunto: Newbie MIB questions on Windows So I

Re: Newbie MIB questions on Windows

2008-12-03 Thread Thomas Anders
Matthew Devine wrote: So I just installed Net-SNMP binary for Windows version 5.4.2. Been reading through the documentation but unable to figure out why I can’t get any of the systemStats from the UCDavis SNMP MIB. snmpwalk -v2c -c public localhost systemStats UCD-SNMP-MIB::systemStats

RE: Newbie MIB questions on Windows

2008-12-03 Thread Matthew Devine
Thanks for the response, I just noticed the notes in the service description. Matthew Devine -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 1:46 PM To: Matthew Devine Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Newbie MIB

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Dave Shield
On 05/09/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Do I need to do something special or enable something in conf files to be able to use 1.3.6.1.4.x.y range? I will repeat the same question that I asked when you posted the same query on Tuesday: What are the access control settings for

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Milan_Tvarozek
Hello Dave, thanks for replying. For some odd reason I did not get your mail on Tuesday. I am desperately trying different settings in snmpd.conf but w/o any success. The current settings are: com2sec paranoid default public com2sec readonly default public com2sec readwrite

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Dave Shield
On 06/09/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am desperately trying different settings in snmpd.conf but w/o any success. The current settings are: com2sec paranoid default public com2sec readonly default public com2sec readwrite default private

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Milan_Tvarozek
Hello Dave, thanks for your prompt reply. I will use rocommunity public but what about view and access ? MIlan On Thu, September 6, 2007 12:08 pm, Dave Shield wrote: On 06/09/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am desperately trying different settings in snmpd.conf but w/o

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Dave Shield
On 06/09/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Dave, thanks for your prompt reply. I will use rocommunity public but what about view and access ? Please read the documentation. (man page and FAQ entries) Dave

RE: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Mike Ayers
This thread has made me curious. The OP indicated that (s)he is registering for .1.3.6. Unless the master agent has been built with no MIBs, such a registratrion would not service all requests, correct? Specifically, requests within MIBs that were built into the agent will handle

RE: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Milan_Tvarozek
Hello Mike, the reason for the fact that 1.3.6.1.4.x requests were not passed from the master agent to the subagent was default (=incorrect in this case) access configuration of snmpd.conf. After replacing default with rocommunity public default .1 things started to work fine. Previously, I

Re: Newbie question: netsnmp_handler_registration_create

2007-09-06 Thread Dave Shield
On 06/09/07, Mike Ayers [EMAIL PROTECTED] wrote: What's the algorithm for routing requests? Builtins first? Registration order? Most specific? Most specific. Dave - This SF.net email is sponsored by: Splunk Inc. Still

Newbie question: netsnmp_handler_registration_create

2007-09-05 Thread Milan_Tvarozek
Hello guys, I am struggling with netsnmp_handler_registration_create. I am able to register handlers for some OIDs and I receive requests in the handler. E.g. when I register for .1.3.6 I receive request for 1.3.6.1.2.1.1.9.1.5. When I register for 1.3.6.1.4 or 1.3.6.1.4.x.y the requests are

RE: Newbie question: writing a simple agent

2007-08-10 Thread Graeme Wilson
Debug tokens -Dagent,handler. G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 18:35 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello, I tried even a specific OID

RE: Newbie question: writing a simple agent

2007-08-09 Thread Milan_Tvarozek
(agent_check_and_process) - etc etc Cheers Graeme -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 14:47 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, I went through your

RE: Newbie question: writing a simple agent

2007-08-09 Thread Graeme Wilson
To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, sorry for bothering you again. I have tried to merge your code with MFD code. I am obviously doing something wrong. When I run snmpwalk on the agent I can see

RE: Newbie question: writing a simple agent

2007-08-09 Thread Milan_Tvarozek
) - these will be called instead of your generic handler. Hope that helps. Graeme -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 15:43 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple

RE: Newbie question: writing a simple agent

2007-08-09 Thread Graeme Wilson
Subject: RE: Newbie question: writing a simple agent Hello Graeme, thanks for your prompt reply. netsnmp_register_handler( reg ) is hidden in printf(returned=%d\n, netsnmp_register_handler(reg)); I tried it before without printf and it was doing the same thing. I have no other

RE: Newbie question: writing a simple agent

2007-08-09 Thread Milan_Tvarozek
16:09 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, thanks for your prompt reply. netsnmp_register_handler( reg ) is hidden in printf(returned=%d\n, netsnmp_register_handler(reg)); I tried it before

RE: Newbie question: writing a simple agent

2007-08-08 Thread Graeme Wilson
-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Mike, thanks for replying to my question. I understand that a standard approach is to register the agent for a range of OISs and to let the agent to be OID aware while the other process should take

RE: Newbie question: writing a simple agent

2007-08-08 Thread Milan_Tvarozek
; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 08 August 2007 06:51 To: Mike Ayers Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Mike, thanks for replying to my question

RE: Newbie question: writing a simple agent

2007-08-08 Thread Milan_Tvarozek
- snmp_shutdown or am I missing something? Sorry for asking you newbie trivial questions :-) Thanks. Milan On Wed, August 8, 2007 11:11 am, Graeme Wilson wrote: Hi, I have done something similar recently (I provide some sample code below - but note that ultimately everything is still

RE: Newbie question: writing a simple agent

2007-08-08 Thread Graeme Wilson
etc Cheers Graeme -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 14:47 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, I went through your code

Newbie SNMP Design Question

2007-08-08 Thread Boby Paul
Hi Snmp gurus, I am quite new to SNMP, for that matter net-SNMP, but I have worked with many other socket based protocols. I have to work on a new project to do the following functionalities. Please lead me how I can use net-SNMP for that. There are some components in network, which is going to

Newbie problems at Snmptrapd

2007-08-08 Thread Romulo Pelicao de Farias
Hi, i am newbie using the net-snmp, but i was trying to put to work the snmptrapd, on windows. I having 2 problems: 1) always when I restart the service, the logfile are cleaned. I didn't find nothing on documentation that explains that. 2) I didn't understand what I have

FW: Newbie SNMP Design Question

2007-08-08 Thread Boby Paul
@lists.sourceforge.net Subject: Newbie SNMP Design Question Hi Snmp gurus, I am quite new to SNMP, for that matter net-SNMP, but I have worked with many other socket based protocols. I have to work on a new project to do the following functionalities. Please lead me how I can use net-SNMP

RE: Newbie question: writing a simple agent

2007-08-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] The agent itself will not be aware of individual OIDs and their meaning. This will be done by the other process that also holds the actual data. This is a bit of a design problem as stated. The

RE: Newbie question: writing a simple agent

2007-08-07 Thread Milan_Tvarozek
Hello Mike, thanks for replying to my question. I understand that a standard approach is to register the agent for a range of OISs and to let the agent to be OID aware while the other process should take care of the underlaying data. However, I was asked to write an agent that would NOT be

Newbie configure issues

2007-04-02 Thread Malladi, Sasikanth
Hi All, I'm trying to compile the net-snmp packages for my solaris 8 box and am running into multiple issues. Here's my errors from config.log: === configure:4110: sparc-sun-solaris2.8-gcc -c -g -O2 -I/usr/local/ssl/include

Re: How to send a v1 trap (newbie)

2006-08-30 Thread Sebastian Bello
Thanks Dave! Dave Shield escribió: On 28/08/06, Sebastian Bello [EMAIL PROTECTED] wrote: I have used the code in snmptrap to send a trap, but 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the difference

Re: How to send a v1 trap (newbie)

2006-08-29 Thread Dave Shield
On 28/08/06, Sebastian Bello [EMAIL PROTECTED] wrote: I have used the code in snmptrap to send a trap, but 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the difference between the two methods? 'snmptrap'

How to send a v1 trap (newbie)

2006-08-23 Thread Sebastian Bello
Hi list, I want to send v1 traps from my C/C++ application using Net-SNMP. I've been reading the documentation but am a bit confused. Maybe someone can give me some hint: - where can I find a simple code example on how to send a trap? - do I need the full Net-SNMP installed? - do I need to

Re: newbie question

2006-08-05 Thread Dave Shield
[Please Cc: the mailing list on all messages. Thanks] On 05/08/06, Marius Banica [EMAIL PROTECTED] wrote: Cant upgrade this is built in system Then you're probably out of luck. The 5.0.x agent doesn't include support for generating linkUp/Down traps. If you can't change the running code,

newbie question

2006-08-03 Thread Marius Banica
Hello I tried using the documentation but without success so I have a simple question Iam running net snmp 5.0.9 I want to send snmptrap to a host when my link of the network interface goes down and when it comes up I want to use snmptrap command I tried the syntax and using

Re: newbie question

2006-08-03 Thread Dave Shield
On 03/08/06, Marius Banica [EMAIL PROTECTED] wrote: I am running net snmp 5.0.9 I want to send snmptrap to a host when my link of the network interface goes down and when it comes up Step 1: Upgrade to 5.3.1 Step 2: Read the snmpd.conf(5) man page, under ACTIVE MONITORING In praticular,

Re: Newbie help

2006-06-19 Thread Thomas Anders
jaskaran singh wrote: Warning: no access control information configured. *This receiver will *NOT* accept any incoming notifications. *I don't understand why. I am including a copy of snmptrapd.conf file too. Any direction towards a solution is appreciated. Read the snmptrapd.conf(5) manual

Re: Newbie help

2006-06-19 Thread Sherry Chen
command to log result to the file??Thanks advance for your help. -Sherry From: Thomas Anders [EMAIL PROTECTED] To: net-snmp-users@lists.sourceforge.net Subject: Re: Newbie help Date: Mon, 19 Jun 2006 11:08:49 +0200 jaskaran singh wrote: Warning: no access control information configured

Newbie help

2006-06-18 Thread jaskaran singh
I am trying to catch snmptrap sent by a host to this box. When i test the config file using the -Dread_config option i get this message. No log handling enabled - turning on stderr logging registered debug token read_config, 1 read_config: reading premib configuration tokens read_config: config

SWITCH MAC port security (newbie)

2006-06-09 Thread Peter Huncar
Hello I'm trying to write an application to configure AT-8326GB switches on my network to enable/disable MAC addresses on ports via SNMP. I'm new to SNMP and net-snmp. I have the MIB file, but I don't know if I'm able to set port security and assign MAC addresses using shell commands like

net-snmp newbie needs help

2006-03-08 Thread Dana Heath
Greetings! I am BRAND new to the whole net-snmp thing, so please bear with me... I'm looking for some basic guidance. I've run configure, make, and make install with the following successful result (as far as I can tell): -

RE: net-snmp newbie needs help

2006-03-08 Thread kanda.samy
Title: RE: net-snmp newbie needs help Hi, See the /var/log/snmpd.log. I hope you are missing the snmpd.conf file. If so run snmpconf i g basic_setup. Refer ./snmpd h and snmpconf h for more details. If you have snmpd.conf file in some other directory ( not in /usr/local/share/snmp

Re: snmp newbie -- linksys log trap

2006-02-06 Thread Wes Hardaker
On Thu, 02 Feb 2006 03:28:54 +, jburke [EMAIL PROTECTED] said: jburke I've tried some basic settings for trapping some log sent from my jburke linksys befsr41 4-port router which is sending some kinda snmp port jburke 162 messages-- but dam I wanna but I cantta? You need to use the

snmp newbie -- linksys log trap

2006-02-01 Thread jburke
I've tried some basic settings for trapping some log sent from my linksys befsr41 4-port router which is sending some kinda snmp port 162 messages-- but dam I wanna but I cantta? I'm sorry for being so dumb in this, but what terms should I look into and make necessary changes to, as in

Re: newbie question about fileTable

2006-01-11 Thread Dave Shield
On Tue, 2006-01-10 at 11:00 +0100, MelAngeT wrote: What mean the fileSize.1 = 4 ? How large is the file /usr/local/mySoft/logs ? My guess is that it's probably about 4K Is there a way to monitor a directory ? No. Files must be listed explicitly. But it's an idea - I've logged this as a

Re: Re: newbie question about fileTable

2006-01-11 Thread MelAngeT
On Tue, 2006-01-10 at 11:00 +0100, MelAngeT wrote: What mean the fileSize.1 = 4 ? How large is the file /usr/local/mySoft/logs ? My guess is that it's probably about 4K Actualy it's a directory . and yes ls -ds /usr/local/mySoft/logs return 4 /usr/local/mySoft/logs so the size is 4096

Newbie: Problem in installing Perl Module (Net SNMP 5.2.1.2)

2005-11-10 Thread namit gupta
Hi Everybody!! I am new to SNMP Linux, please help as I am stuck in this problem for a while I am using Fedora Core 3 (Linux 2.6.9-1.667)\ net-snmp-libs-5.1.2-11 is installed using RPM I have installed Net-SNMP 5.2.1.2 compiling from the source code (as root), Steps that I had taken for this was:

Re: Newbie MIB question.

2005-11-09 Thread Robert Story
On Mon, 17 Oct 2005 09:53:34 -0400 Ben wrote: BZ So, my question is along the lines of: Do I need to run mib2c and then BZ create my own interface code to read / set wireless paramters based on BZ the MIB yes, exactly. -- NOTE: messages sent directly to me, instead of the lists, will be deleted

Newbie MIB question.

2005-10-17 Thread Ben Z
Hi all; I've been sifting through old posts and Google searches since sometime last Wednesday trying to find an answer to my question. Maybe someone here can help me? I'm trying to setup a wireless test network. I would like to to be able to manage and query my network nodes via SNMP for the

newbie question

2005-08-16 Thread Paul Hurt
Hi there, I have used MIB2C to create a table that I want to give the user access to create new rows on it. My MIB deffinition looks like: myTableEntry OBJECT-TYPE SYNTAX myTableEntry ACCESS not-accessible STATUS mandatory DESCRIPTION A connection entry

Re: newbie question

2005-08-16 Thread Robert Story
On Tue, 16 Aug 2005 09:01:55 -0700 (PDT) Paul wrote: PHI have used MIB2C to create a table that I want to PH give the user access to create new rows on it. PH [...] PH PH Stepping through my agent, I get into the PH object_lookup function, and that calls: PH

Re: newbie question

2005-08-16 Thread Paul Hurt
Hi Robert! Again thank you for your earlyer response, and you can ignore my other questions. People like me are why they (you?) create README's and FAQs. :) Thanks again, you pointed me in the right direction. Paul Hurt --- Robert Story [EMAIL PROTECTED] wrote: On Tue, 16 Aug 2005 09:01:55

SNMP newbie question: sysUpTime

2005-06-24 Thread Jeetendra Singh
As per RFC 1907, sysUpTime is defined as ""The time (in hundredths of a second) since the network management portion of the system was last re-initialized." My questions are: 1. What is meant by "network management portion" in this context? 2. If I have - a managed resource(for ex: device's

Re: SNMP newbie question: sysUpTime

2005-06-24 Thread Dave Shield
On Fri, 2005-06-24 at 09:39, Jeetendra Singh wrote: 1. What is meant by network management portion in this context? The SNMP agent 2. If I have -a managed resource(for ex: device's port status), -a subagent (which is monitoring that port), and -an agentX master

  1   2   >