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 :

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: 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: 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
- 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. I understand

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

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

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 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 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

Re: SNMP newbie question: sysUpTime

2005-06-24 Thread Jeetendra Singh
Thanks a lot Dave. Things are much clear now. Unfortunately :( I have a few more doubts: Consider that my agentX master agent is running for *days*. The sysUpTime accordingly goes into days. I *now* enable my device's port and the device-up trap is sent by my subagent to the manager via

Re: SNMP newbie question: sysUpTime

2005-06-24 Thread Dave Shield
On Fri, 2005-06-24 at 11:55, Jeetendra Singh wrote: Consider that my agentX master agent is running for *days*. The sysUpTime accordingly goes into days. I *now* enable my device's port and the device-up trap is sent by my subagent to the manager via master agent. 1. What should be the value

RE: SNMP newbie question: sysUpTime

2005-06-24 Thread Peter P. Benac
: SNMP newbie question: sysUpTime On Fri, 2005-06-24 at 14:40, Peter P. Benac wrote: Dave, I'd have to disagree with this. sysUptime is going to the amount of time the entire system was up not a just a single port. Yes - that's correct. I'm sorry if I gave the impression otherwise (though I'm

RE: SNMP newbie question: sysUpTime

2005-06-24 Thread Dave Shield
On Fri, 2005-06-24 at 15:39, Peter P. Benac wrote: Ohhh geesh never mind.. I just re-read your post. What I get for trying to read before my morning caffeine fix!! That's OK. Reports of my infallability, though widespread, are erroneous :-) It's always worth correcting or challenging

Re: PLEASE HELP - newbie question

2004-09-10 Thread Dave Shield
I am sorry for boring you again with this basic question but I can't understand it. Can you PLEASE show a little patience! You've now asked the same question *three* times in as many days! You are not paying anything towards the support of this code, and it is unreasonable to expect us to

PLEASE HELP - newbie question

2004-09-09 Thread Pedro Neves
Dear all: I am sorry for boring you again with this basic question but I cant understand it. I am following the flow code of the snmptable application and can not distinguish between the struct node and the struct tree defined in parse.h file. Can someone please help me? I have

Re: Newbie question -- snmpwalk

2004-08-31 Thread Dave Shield
If I set the sysName value I in the snmpd.conf file then I get that value. But if I dont set that value from where does the agent get this information from From the system's own idea of what it is called. On a Unix-sytle box, this will typically be the result of uname -n or