Hi all,
I would like to know how to put a script in snmpd.conf file.
i have seen the config file.it doesn't help me bcoz the scripts starts with
#!/bin/bash.
so when i try to use..., since there is # in the beginning it is taking as
comment.
how to solve the problem.
one more thing.
I want to
Hi Thomas,
I don't have the skills to do this.
But I might (might) be able to find someone who has money.
If I had money, would that help? How much?
--sk
Thomas Anders wrote:
> Stuart Kendrick wrote:
>> Any insights into this issue?
>>
>> http://archives.devshed.com/forums/networking-100/mung
thanx for the confirmation thomas
--sk
Thomas Anders wrote:
> Stuart Kendrick wrote:
>> Any insights into this issue?
>>
>> http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html
>>
>> I've replicated it under net-snmp-5.5 and perl-5.10
Stuart Kendrick wrote:
> Any insights into this issue?
>
> http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html
>
> I've replicated it under net-snmp-5.5 and perl-5.10.1, so I guess I can
> predict
> your answer "Ick, gross, run awa
Hi Wes, hi Tom,
Any insights into this issue?
http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html
I've replicated it under net-snmp-5.5 and perl-5.10.1, so I guess I can predict
your answer "Ick, gross, run away". :) Or, less mel
C Wells wrote:
> I don't see a tcp option for snmptrap.exe so I assume it isn't there.
> Does anyone know of a win32 snmptrap sending utility that can send using
> TCP ?
Try: snmptrap.exe ... tcp:desthost:162 ...
(with "desthost" being the trap destination host)
In case it doesn't work: what e
Fulko Hew wrote:
> Upon further searching the mailinst archives, I find that this is an old
> (open) bug #1484814
> that fortunately has a workaround. (./configure --without-kmem-usage)
> [...]
> In the end... that bug entry should probably (at the very least) be
> closed with with the suggested w
I've been looking into the idea of reissuing traps that are being received by
snmptrapd using snmptrap and I'm seeing a couple of issues:
1) the traphandle directive passes arguments as an (OID, value) pair but
snmptrap expects an (OID, type, value) triplet. If I want to reissue the trap,
ho
2010/1/11 Fulko Hew
> On Mon, Jan 11, 2010 at 1:37 PM, Fulko Hew wrote:
>
>> On Mon, Jan 11, 2010 at 11:48 AM, Fulko Hew wrote:
>>
>>> On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield <
>>> d.t.shi...@liverpool.ac.uk> wrote:
>>>
2010/1/11 Fulko Hew :
>>>
>> ... snip ...
>>
>> So the prob
On Mon, Jan 11, 2010 at 1:37 PM, Fulko Hew wrote:
> On Mon, Jan 11, 2010 at 11:48 AM, Fulko Hew wrote:
>
>> On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield > > wrote:
>>
>>> 2010/1/11 Fulko Hew :
>>>
>>
> ... snip ...
>
> So the problem is in the handling of ipAddrTable and ipRouteTable...
>
> n
Is it possible to hand the MIB module plus the leaf identifier to the Perl
'get'
method?
This works:
$oid = 'ifDescr';
$val = $session->get($oid};
This does not:
$oid = 'IF-MIB::ifDescr';
$val = $session->get($oid};
failing with the following error:
error: get: unknown object ID (IF-MIB) at
On Mon, Jan 11, 2010 at 11:48 AM, Fulko Hew wrote:
>
>
> On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield
> wrote:
>
>> 2010/1/11 Fulko Hew :
>>
>
>
... snip ...
> So the problem is in the handling of ipAddrTable and ipRouteTable...
now what?
> I'll look at that part of the code while I w
On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield wrote:
> 2010/1/11 Fulko Hew :
> >> What happens if you start walking shortly after this point?
> >> Say ipRouteTable? or ipAdEntTable?
> >
> > It faults on getnext ipRouteTable
>
> OK - It looks as if the problem lies within the ipRouteTable code.
>
2010/1/11 Fulko Hew :
>> What happens if you start walking shortly after this point?
>> Say ipRouteTable? or ipAdEntTable?
>
> It faults on getnext ipRouteTable
OK - It looks as if the problem lies within the ipRouteTable code.
Try using "-I-{token}" to disable this table, and check that
the age
On Mon, Jan 11, 2010 at 10:40 AM, Dave Shield wrote:
> 2010/1/11 Fulko Hew :
> > and I'm browsing it using:
> >
> > # ./snmpwalk -cpublic -v1 -M /net-snm-5.5/mibs -mALL localhost:2000 .iso
> >
> > It doesn't get very far down the tree.
> > I see it trying to get ipFragsCreate, and then it faults.
2010/1/11 Fulko Hew :
> and I'm browsing it using:
>
> # ./snmpwalk -cpublic -v1 -M /net-snm-5.5/mibs -mALL localhost:2000 .iso
>
> It doesn't get very far down the tree.
> I see it trying to get ipFragsCreate, and then it faults.
> Any clues as to what to try next?
Does it return ipFragsCreate
I've build net-snmp on this AIX (version 5.3.001) box I have, and when I
tried doing a walk at .iso
I get some answers back, but then it seg faults.
After searching the web... I tried invoking it with debugging to see if I
can see more;
maybe determine why its segfaulting. I invoked it using:
/n
2010/1/11 Kristoff Bonne :
> Using the C API from net-snmp, how can I print an object in its
> "decimal" format?
>
> When I use snprint_objid, it returns something like
> "SNMPv2-SMI::enterprises.9.1.46", I would to have it as
> "1.3.6.1.4.1.9.1.46".
Call
netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_
Hi,
Using the C API from net-snmp, how can I print an object in its
"decimal" format?
When I use snprint_objid, it returns something like
"SNMPv2-SMI::enterprises.9.1.46", I would to have it as
"1.3.6.1.4.1.9.1.46".
Cheerio! Kr. Bonne.
--
Hi Dave,
Dave Shield schreef:
>> I have a small question concerning the value returned in "val_len" when
>> returning a variable of type "oid".
> "val_len" is always the size of the value being returned in "val".
> Expressed in bytes.
(...)
>> Is this relation of "size = var_val_len / 4" somethi
2010/1/11 Kristoff Bonne :
> I have a small question concerning the value returned in "val_len" when
> returning a variable of type "oid".
"val_len" is always the size of the value being returned in "val".
Expressed in bytes.
> However, I have noticed that size of the element (as found in
> vars
Hi,
I have a small question concerning the value returned in "val_len" when
returning a variable of type "oid".
I have been writing a small program here in C using the net-snmp library
based on the examples on the net-snmp library.
It makes a snmp-query for a number of data-elements, one of t
2010/1/11 Alexander King :
>>>If I do not use the same parent OID,how do I distinguish the
>>> notification entries belong to?
What do you mean by this?
If there is management information associated with a notification,
this would typically be listed in the OBJECTS clause of the notification
defi
2010/1/11 Alexander King :
> I define the trap entries in the same mib file like this:
>
> controllerInfo OBJECT IDENTIFIER ::= { systeminfoController 1 }
> systemNumber OBJECT-TYPE
> SYNTAX DisplayString( SIZE( 0..256 ) )
> ACCESS read-only
> and then:
>
> system
2010/1/10 宝朱 :
> I have installed the binaries
> net-snmp-5.4.1-1.win32 and want to send v3 authPriv getnext to my agent.
> I am getting USM support not enabled error.
> Is there a way to enable encryption in binary install,
Install the binary "net-snmp-{version}-ssl.win32"
rather than the non-SS
2010/1/11 Alexander King :
> I ususlly use 'snmpwalk -v2c -c public localhost' to get all the
> inbuilt OID information.
Except that this will only retrieve the *standard* MIB information.
It won't pick up any vendor-specific MIBs.
Nor will it necessarily retrieve anything that needs particular
c
2010/1/11 Alexander King :
> I define the trap entries in the same mib file like this:
>
> controllerInfo OBJECT IDENTIFIER ::= { systeminfoController 1 }
> systemNumber OBJECT-TYPE
> SYNTAX DisplayString( SIZE( 0..256 ) )
> ACCESS read-only
> and then:
>
> system
2010/1/8 Peyush Kumar :
> I understand some inbuilt OIDs (can be queried using SNMP Get)
> from snmpD
>
> From where can I obtain this "complete"
See the file README.agent-mibs
> If I need to supress the support of SNMP Get on these OIDs in
> my deployment what can be done ?
Compile the code
[ 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. ]
2010/1/1
try :snmpwalk in CLI
I ususlly use 'snmpwalk -v2c -c public localhost' to get all the inbuilt OID
information.
-- Original --
From: "Peyush Kumar";
Date: Mon, Jan 11, 2010 02:17 PM
To: "net-snmp-users";
Subject: InBuilt OIDs supported by snmpd
Hi,
I have installed the binaries
net-snmp-5.4.1-1.win32 and want to send v3 authPriv getnext to my agent.
I am getting USM support not enabled error.
Is there a way to enable encryption in binary install,
C:\Users\ebaozhu>snmpget -v3 -u leelin -n "" -A authpass -x DES -X privpass
-l a
uthPriv lo
31 matches
Mail list logo