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
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 :
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.
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
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
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
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
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
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
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
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
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
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
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
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
(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
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
) - 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
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
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
-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
; }
-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
-
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
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
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
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
[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,
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
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,
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
43 matches
Mail list logo