On Thu, 2005-04-07 at 04:46, John Pfaff wrote:
> I added the lines
> rwcommunity public
> view all-mibs included .1
> access notConfigGroup "" any noauth exact all-mibs none none
You're actually mixing up two different approaches here.
*Either* have a setting
rwcommunity public
*or* hav
On Wed, 2005-04-06 at 08:33, Soori wrote:
> In every SNMP document it is stated that SNMP uses UDP
> as transport. Can any body tell me is there any
> specific reason to use SNMP over UDP and not TCP ?
As well as the question of behaviour in a failing network,
that baskeböler mentions, there's ano
Try this -
paste the MIB in the same directory as the application snmpget, and run snmpget.Jonathan Halpern <[EMAIL PROTECTED]> wrote:
hi all,i'm quit new in snmp & NetSnmpI,m tryiing to add a MIB to the agent...so i have created MY-MIB , i have pasted it in /usr/local/share/snmtp/mibs...and i have
On Wed, 2005-04-06 at 20:37, Gary Benitt wrote:
> In the .conf file, I have the following:
>exec .1.3.6.1.4.1.2021.50 qmail-messages
> /usr/local/bin/qmailmrtg7 m /var/log/qmail
What type of file is /usr/local/bin/qmailmrtg7 ?
Is it a binary, or a shell script, or what?
What happens i
Since u r new, instead of writing an agent, u can extend the existing agent with your MIB and run it on the target machine.Jonathan Halpern <[EMAIL PROTECTED]> wrote:
Hi all, im quit new in snmp and i have already installed theNetSnmp v5.2 under my cygwin in windows XP.Im trying to write an agent..
Curly Stooge wrote:
Running snmpconf I chose "nobody" as the user to run
the snmpd as. What are the ramifications for doing so?
Does this put limitations on the ability to read
system process tables?
See the FAQ:
http://www.net-snmp.org/docs/FAQ.html#How_about__Can_t_open__dev_kmem__
Is running sn
1) U cannot know the number of children under a node, but u can traverse the child list using -
struct tree *tp, *temp;
//Assing tp to the parent of interest here...
for (temp = tp->child_list; temp; temp=temp->next_peer)
2) U can use some of the freely available GUI based SNMP trap receivers and c
On Wed, 2005-04-06 at 11:29, Jim Su wrote:
> What I'm not clear is how the var_xxxtable() return each instance
> to correlate to the data previous read?
Using the 'name' parameter.
On input, this holds the OID being requested.
On return, this holds the OID of the value being returned.
I presume
Hi all.
Thanks Robert
I need to send these display strings (that I am going to define of 1492 B,
like you have advised me) by a TRAP. Could a TRAP PDU carry several of these
Display Strings or it would be to much information? would be better to send
just one of then by the TRAP and make the
On Wed, 2005-04-06 at 15:23, Farazad Farhadzadeh wrote:
> i want to know how i can compile new mib file
> for net-snmp manualy.
But you still haven't said what you *mean* by
"compiling a MIB". See the FAQ entry
Where can I find a MIB compiler?
What *exactly* are you actually trying to do?
> I haven't heard of people wanting to tunnel things within kerberos, so
> that's a new thought and could certainly be done. Most people that
> end up protecting older SNMP versions within a secure transport have
> picked TLS or IPsec to provide that protection.
I have given a thought on these tw
Hi
i dont know any copiler for mib compiling,please give me complete
information about this.
-Original Message-
From: Dave Shield <[EMAIL PROTECTED]>
To: Farazad Farhadzadeh <[EMAIL PROTECTED]>
Cc: net-snmp-users@lists.sourceforge.net
Date: Thu, 07 Apr 2005 09:46:44 +0100
Subject: Re:
>> "Amrani, Shachar" <[EMAIL PROTECTED]> wrote:
> 1. How do I get an array size ?
> (what I mean is: if I put the root MIB and I want to know how
> many children it has?)
On Thu, 2005-04-07 at 09:39, K M wrote:
> 1) U cannot know the number of children under a node, but u can
> tr
On Thu, 2005-04-07 at 09:42, Gemma Sánchez wrote:
> Another thing I need to know is if net-snmp is ruled by
> the RFCs on the ASN/BER encoding, with no variation at all.
Yes, of course.
That's the whole point of Internet Standards.
How could we interwork with other network management tools
if we
On Thu, 2005-04-07 at 09:48, Farazad Farhadzadeh wrote
> i dont know any copiler for mib compiling,please give me
> complete information about this.
Not until you tell us what you are trying to do.
Dave
---
SF email is sponsored by - The IT
Hi Dave;
Thanks a lot!
You've gave a very clear flow of how the header_simple_table works. I will
read the document again to comprehend the logic.
Thanks again,
Jim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield
Sent: Thursday, April
send_enterprise_trap_vars() will send v1 or v2 traps?
-- Vishwanath
Vishwanath Kalbagilmath wrote:
Hello,
Can SNMP subagent written/compiled with net-snmp master agent work
with a different SNMP master agent (might be propratery)?
tia.
-- Vish
Hi All,
I am having two machines, in one machine net-snmp-5.0.9 is
installed in another machine i uninstalled the net-snmp-5.0.9 and
installed net-snmp-5.1.2, when i started the snmpd in the second machine
it is throwing error unable to find libdb-3.1.so file but in first
machine where i am
On Thu, 2005-04-07 at 10:08, Vishwanath Kalbagilmath wrote:
> send_enterprise_trap_vars() will send v1 or v2 traps?
Could be either.
This depends *purely* on what 'trapsink/trap2sink/informsink'
directives you have configured. The way you specify the
trap to send_enterprise_trap_vars() has no ef
[ 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 Thu,
On Thu, 2005-04-07 at 10:24, Vishwanath Kalbagilmath wrote:
> Let me know if my understanding is right.
>
> trapsink -> v1
Yes.
> trap2sink -> v2
v2 *trap*, yes
> informsink -> ?
v2 "inform" - i.e. an acknowledged trap.
Dave
---
SF email
Thanks for quick response.
Let me know if my understanding is right.
trapsink -> v1
trap2sink -> v2
informsink -> ?
TiA,
-- Vi
Dave Shield wrote:
On Thu, 2005-04-07 at 10:08, Vishwanath Kalbagilmath wrote:
send_enterprise_trap_vars() will send v1 or v2 traps?
Could be either.
This depends *
Hi all!
I installed net-snmp 5.1.2-6.1 in Debian to produce graphs for some
ethernet interfaces. It seems it's not reporting correct values for
them. Here's my snmd.conf (very simple) and the output from the poller
program:
#snmpd.conf
rwuser edu auth
rouser jffnms auth .1.3.6.1.4.1.8072
rocom
i still have the same problem with the MIB i hace crated.I cant meke it work
Maybe i meke a mistake and the MIB isnt correct, so
is there anyone who can send me a MIB and instruccions to meke it work and
how to consult ir
thanks very much
I'll appreciate your help
Jonathan
-
No ideas?
snmpd and example-demon are both started as root...
Jonas Dietsche wrote on 04/06/05 17:02:
Hello List,
I downloaded net-snmp-5.2.1 and installed it.
Then I tried to follow the tutorial, especially the section writing a
subagent program.
When I start the example-demon I always get the me
I think another reason for UDP is the smal SNMP payloads that can fit in
one UDP transaction
such that the communication is truely message oriented and atomic.
Dave Shield wrote:
On Wed, 2005-04-06 at 08:33, Soori wrote:
In every SNMP document it is stated that SNMP uses UDP
as transport. Can
On Sat, 2 Apr 2005 14:32:18 +0100 Andy wrote:
AH> The problem seems to exist as far back as FreeBSD 4.9 and 4.10.
AH>
AH> It may well be a FreeBSD issue - I can't tell.I am not familiar with
AH> how the net-snmp code obtains information (presumably from the kernel).
AH> So it's a bit hard to
On Thu, 7 Apr 2005 10:42:57 +0200 Gemma wrote:
GS> I need to send these display strings (that I am going to define of 1492 B,
GS> like you have advised me) by a TRAP. Could a TRAP PDU carry several of
GS> these Display Strings or it would be to much information?
A UDP PDU can be 64 kB, but that
On Mon, 4 Apr 2005 11:07:27 +0100 Andy wrote:
AF> Thanks Robert for the patch, but I couldn't get it to work.
Hmm... I didn't actually try using any perl, as there was a leak for all traps,
which I fixed. Can you verify no leaks if you don't use perl handlers?
If there is a leak specific to perl,
>> In the .conf file, I have the following:
>>exec .1.3.6.1.4.1.2021.50 qmail-messages
>> /usr/local/bin/qmailmrtg7 m /var/log/qmail
>What type of file is /usr/local/bin/qmailmrtg7 ?
>Is it a binary, or a shell script, or what?
The file is compiled C binary...
>What happens if you tr
On Tue, 05 Apr 2005 16:39:15 +0530 chinmay wrote:
CB> And libraries are
CB>
CB> libnetsnmpagent.so.5.0.6
Those are the available libraries - which ones did you actually link into your
app? What does the link line look like?
--
NOTE: messages sent directly to me, instead of the lists, will be de
On Fri, 01 Apr 2005 20:17:23 -0800 Wes wrote:
WH> FYI, Net-SNMP was selected to be the SourceForge project of the month
WH> for April 2005. The web page describing it is here:
WH>
WH> http://sourceforge.net/potm/potm-2005-04.php
What happened to the pics of the rest of the key developers?
--
On Sat, 02 Apr 2005 18:25:40 -0500 [EMAIL PROTECTED] wrote:
LEC> I need information about if i can get up or shutdown a window´s services
LEC> with SNMP ?
I don't think Net-SNMP on windows supports that. Not sure about the microsloth
agent.
--
NOTE: messages sent directly to me, instead of the l
On Sun, 03 Apr 2005 12:10:06 +0430 Farazad wrote:
FF> I run snmp(agent) on my system with ./snmpd then i get information from
FF> this system (by another system)and run this command(10.10.10.134 is my ip
FF> address):
FF> snmpget -c public -v 2c 10.10.10.134:161 system.sysUpTime.0
FF> but system
On Tue, 05 Apr 2005 10:09:36 +0530 Sridhar wrote:
SS> I am using Net-SNMP version 5.0.9.
SS>
SS> The attached file ifNumber_orig.c is the code that that generated by
SS> tool-kit and handler function is modified to retrieve the value of
SS> ifNumber from the back-end. With this file, if retrieving
On Tue, 05 Apr 2005 14:07:24 -0700 Wes wrote:
WH> > On Tue, 05 Apr 2005 14:39:37 -0400, Dean Knape <[EMAIL PROTECTED]>
said:
WH> Dean> I'm having a heck of a time trying to get net-snmp 5.2.1 to configure
WH> Dean> with libwrap. My system is SunOS 5.9 sun4u sparc.
WH>
WH> It looks like libwra
JD> Jonas Dietsche wrote on 04/06/05 17:02:
JD> > Hello List,
JD> >
JD> > I downloaded net-snmp-5.2.1 and installed it.
JD> > Then I tried to follow the tutorial, especially the section writing a
JD> > subagent program.
JD> > When I start the example-demon I always get the message
JD> >
JD> > Er
On Wed, 06 Apr 2005 20:12:15 + Jonathan wrote:
JH> so i have created MY-MIB , i have pasted it in
JH> /usr/local/share/snmtp/mibs...
JH> and i have added the mibs +MY-MIB...
What is the name in the DEFINITION in your mib (generally the first line)?
--
NOTE: messages sent directly to me, ins
On Wed, 6 Apr 2005 16:21:03 -0700 (PDT) Curly wrote:
CS> Running snmpconf I chose "nobody" as the user to run
CS> the snmpd as. What are the ramifications for doing so?
That depends on the OS.
CS> Does this put limitations on the ability to read
CS> system process tables?
For systems which requi
the first line is :
MIB DEFINITIONS ::= BEGIN
>From: Robert Story <[EMAIL PROTECTED]>
>Reply-To: net-snmp-users@lists.sourceforge.net
>To: "Jonathan Halpern" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: MY-MIB problem!!
>Date: Thu, 7 Apr 2005 15:33:37 -04
On Thu, 07 Apr 2005 10:31:00 +0200 Thomas wrote:
TA> A more sophisticated privilege separation model may allow to drop
TA> privileges for some of the code *without* losing functionality, but this'd
TA> most definitely be a non-trivial effort.
You should submit this as a feature request...
--
NOT
On Thu, 07 Apr 2005 13:50:28 + Jonathan wrote:
JH> Maybe i meke a mistake and the MIB isnt correct, so
JH> is there anyone who can send me a MIB and instruccions to meke it work and
JH> how to consult ir
smilint is very useful for validating mibs..
http://www.ibr.cs.tu-bs.de/pro
Jonathan Halpern wrote:
the first line is :
MIB DEFINITIONS ::= BEGIN
It should be changed to:
MY-MIB DEFINITIONS ::= BEGIN
Alex
>On Wed, 06 Apr 2005 20:12:15 + Jonathan wrote:
>JH> so i have created MY-MIB , i have pasted it in
>JH> /usr/local/share/snmtp/mibs...
>JH> and i have added the mi
On Thu, 07 Apr 2005 19:36:04 + Jonathan wrote:
JH> the first line is :
JH>
JH> MIB DEFINITIONS ::= BEGIN
Then you want "+MIB", not "+MY-MIB".
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert St
On Thu, 7 Apr 2005, Dave Shield wrote:
On Wed, 2005-04-06 at 08:33, Soori wrote:
In every SNMP document it is stated that SNMP uses UDP
as transport. Can any body tell me is there any
specific reason to use SNMP over UDP and not TCP ?
TCP uses 3 way handshake before the real transmission starts, w
Hi Greeting:
Thanks to Dave I have my agent correctly return the corresponded values for
each table items. The understanding of what name[*length -1] represent for is
the key.
Just want to check see if the following is reasonable and feasible.
For example my agent returned the val
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all,
I would like to use snmpwalk to get the value of this OID in the mib.
1.3.6.1.2.1.17.7.1.2.2.1
And Something is missine in the result.
1.3.6.1.2.1.17.7.1.2.2.1.1.1.* should show the mac address.
[EMAIL PROTECTED] .snmp]$ snmpget -m all -c
47 matches
Mail list logo