Hi again
Sorry to have bothered you - the solution was right in front of my eyes :
You have to do "netsnmp_ds_set_boolean()" _before_ "init_agent()", not after...
I got my callback at last, I can continue the coding...
See you :-)
-
Hello everyone,
Sorry to bother you with something that many will certainly find
trivial, but it's been driving me crazy for days, now... Even though I
read all tutorials I found, I'm pretty sure I'm missing a little
something that prevents my program from working... Maybe I misunderstood
som
Hi Song Han,
It looks like snmptrapd.conf persistent file doesnot have entry(usm_entry)
for snmpv3 user pasitaes_inform
You can try following steps
1. Stop snmptrapd
2. Remove all usm_entries or usm_entry of pasitaes_inform in persistent
snmptrapd.conf
3. Start snmptrapd
Now snmptrapd write usm_e
Hi all,
currently I am setting up a snmp trap server to do some testing on the snmp
trap sending from our devices..
Snmp trap message can be received with �Cd option , but it seems snmptrapd
didn’t process this message. And I got such errors with �CD. is there anything
wrong or missed ? thanks
Respected,
I am a research student and new to snmp, want help plz.
CAN I USE (register) MY PEN (Private Enterprise Number) without creating my own
MIB, HOW?
If it is not possible, give me a template (example) MIB to change just to
insert my PEN in that and use it,
i will be very
Hi Folks,
Good Afternoon.
I am hoping sending this information to one of the net-snmp
developers or users.
I have installed net-snmp 5.7.2 on Sparc Solaris 10
and I was seeing following error message in the /var/log/snmpd.log.
File system /Zones3 was 3.0 TB size.
Could you pl
Hi,
I have a task to use net-snmp for my project. For that we are implementing a
prototype and should able to use send requests and receive notifications from
agent and trapdistributor.
Somehow we are able to install net-snmp 5.7.1 in our solaris 10 server. Here we
could not able to establ
> On 22 November 2011 19:28, Abhishek Kumar-Noida
> wrote:
> > I am trying to get SNMPWALK from V3 however unable to do the same. I
> > am getting SNMPWALK via V2 from same host however not from V3.
>
< Dave Shield's response deleted. >
If all still fails after you've tried what Dave suggests, t
On 22 November 2011 19:28, Abhishek Kumar-Noida wrote:
> I am trying to get SNMPWALK from V3 however unable to do the same. I am
> getting SNMPWALK via V2 from same host however not from V3.
First question - how is the agent configured?
What access control settings are in place?
(Probably lines
Hi,
I am trying to get SNMPWALK from V3 however unable to do the same. I am getting
SNMPWALK via V2 from same host however not from V3.
I have UID, Password and encryption key. And running following syntax. Can you
please guide me if syntax is wrong? Need your immediate help on this.
snmpwalk
On 8 November 2011 08:55, ashok kumar wrote:
> rwuser myuser authPriv
> createUser myuser SHA -l 0x0001020304050607080900010203040506070809
> AES -l 0x00010203040506070809000102030405
So you are setting the localised keys directly,
rather than via a pass phrase.
> The snmpwalk throws the f
Hello All,
I have a similar requirement and was trying to add the user "myuser"
with the following lines.
rwuser myuser authPriv
createUser myuser SHA -l 0x0001020304050607080900010203040506070809
AES -l 0x00010203040506070809000102030405
The snmpwalk throws the following error:
[root@localhost s
Hello all,
We have added myuser as rwuser.
We are using the below directive in persistent snmpd.conf
createUser myuser SHA -l 0x0001020304050607080900010203040506070809 AES -l
0x00010203040506070809000102030405
Tried snmpwalk using the below command
snmpwalk -v3 -u myuser -l authPriv -
+0530
Subject: RE: Help needed on implementing snmp table
I believe mib2c.iterate.conf should provide this. You might need to disable
caching of data. disabling the caching will make snmpd to fetch data from
application always -Dheeraj From: Mohammad Waqas Athar
[mailto:mohwaqa...@hotmail.com
-users@lists.sourceforge.net
Subject: RE: Help needed on implementing snmp table
I have the same configuration . i need to query mysql for every request . i
think table raw is the best in this case, but i do not know how to make get
next working so ,i am currently using table iterate access
bulk get do
not work . If you find any good implementation for external access please Let
me know too Thanks
Date: Mon, 12 Sep 2011 18:56:20 -0700
From: karthik_96...@yahoo.com
Subject: Help needed on implementing snmp table
To: net-snmp-users@lists.sourceforge.net
Hi All,
Could you please
Hi All,
Could you please suggest me the mib2c config file
and the sample implementation for the following case?
- snmp Table resides outside of agent
- Data in that external table is not static. Hence, this table
need to be built dynamically for each snmp request.
Thanks,
-karthi
Hello all,
When compiling net-snmp for 64 bit the build is going through fine, however
we do not see any shared libs getting created.
Instead static library filea are getting created.
Any specific steps which needs to be taken care of during configure for
shared libs to be created ?
Regards
-
Stock, Roger W wrote:
> I am getting a NULL return from a request for host MIB info.
>
> Can anyone tell me if they see something wrong with what I am doing?
>
> # snmpwalk -v 2c -c public localhost host
> SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3
> SNMPv2-MIB::sysORDes
e.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Tuesday, July 27, 2010 4:49 PM
To: Stock, Roger W
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Net-SNMP in AIX Setup help needed
On 27 July 2010 21:25, Stock, Roger W wrote:
> Here is my snmpdv3.conf file:
>
> defVersion=2
&
On 27 July 2010 21:25, Stock, Roger W wrote:
> Here is my snmpdv3.conf file:
>
> defVersion=2
>
> syslocation = "Computer room"
> syscontact = "Admins"
> sysName = uisp570s.bu.edu
[snip]
That's not a valid config file for the Net-SNMP agent.
Either you are using a different vendor's agent
I am trying to get snmpd working for ver 2c requests, both locally and for
remote requests.
I am also new to this.
I am getting a NULL return from a request for host MIB info.
Can anyone tell me if they see something wrong with what I am doing?
# snmpwalk -v 2c -c public localhost host
HOST-RES
;
net-snmp-cod...@lists.sourceforge.net
Subject: Re: help needed with root oid and getnext operation
2009/2/28 EYRE Bernadette :
> One of my original problem was that when using snmpwalk command
OK - so you are using "snmpwalk".
That's definitely relevant here
> on say
e
Cc: Mike Ayers; net-snmp-users@lists.sourceforge.net; harish...@hp.com
Subject: Re: help needed with root oid and getnext operation
2009/2/26 Bernadette Eyre :
> My code registers organization root oid.
>
> (I substituted y and x in the oid to conceal some proprietary stuff)
Fair
2009/2/28 EYRE Bernadette :
> One of my original problem was that when using snmpwalk command
OK - so you are using "snmpwalk".
That's definitely relevant here
> on say a column (without any instance index) of one of the tables,
That's pretty much what I expected, but you hadn't given suffi
2009/2/26 Bernadette Eyre :
> My code registers organization root oid.
>
> (I substituted y and x in the oid to conceal some proprietary stuff)
Fair enough.
> I don't register the individual tables and scalars. The master agent
> knows of this root oid only. It knows to forward all the get/getne
Hi David,
my comments are embedded below.
On Thu, 2009-02-26 at 08:44 +, Dave Shield wrote:
> 2009/2/25 EYRE Bernadette :
> > Thank you both Mike and Harish, every little help counts.
> > a little more help from others on other points
> > will be greatly appreciated
>
> Mike has answered t
2009/2/25 EYRE Bernadette :
> Thank you both Mike and Harish, every little help counts.
> a little more help from others on other points
> will be greatly appreciated
Mike has answered the issues regarding general SNMP processing.
I've no idea what information Harish has suggested, since this does
-users@lists.sourceforge.net
Subject: RE: help needed with root oid and getnext operation
> From: EYRE Bernadette [mailto:bernadette.e...@alcatel-lucent.com]
> Sent: Monday, February 23, 2009 6:25 PM
> 1 - what am I expected to return for GETNEXT call? Do I
> return the index of th
> From: EYRE Bernadette [mailto:bernadette.e...@alcatel-lucent.com]
> Sent: Monday, February 23, 2009 6:25 PM
> 1 - what am I expected to return for GETNEXT call? Do I
> return the index of the next valid object instance
> or the actual value of the first valid object instance?
Always
Hello snmp coders and users,
I'm lost please help shed some light.
I have an subagent which registers organization root oid (several tables and
scalars)
when I run snmpwalk on one of the columns of one of the tables the
net-snmp master agent calls my handler with GETNEXT mode first
and then wit
Thanks a lot Wes. It worked perfectly for me!!!
-Original Message-
From: Wes Hardaker [mailto:harda...@users.sourceforge.net]
Sent: Monday, February 16, 2009 9:48 PM
To: Ragesh V
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Help needed on EngineID.
>>>>> On M
> On Mon, 16 Feb 2009 15:28:16 +0530, "Ragesh V" said:
RV> I have one snmp agent, which should reply to the get/getNext
RV> from an SNMP manager with the contextEngineID and
RV> msgAuthoritativeEngineID as per my requirement (ie Our enterprise ID +
RV> IP of one machine + Trailing zeros).
U
Hi,
I have one snmp agent, which should reply to the get/getNext
from an SNMP manager with the contextEngineID and
msgAuthoritativeEngineID as per my requirement (ie Our enterprise ID +
IP of one machine + Trailing zeros).
As per my knowledge, I believe for this I just have to configure
On Fri, 22 Aug 2008 16:15:00 +0530 Rajesh Gopalan wroteBlankHi
Rajesh, when you generate "snmpd.conf" by using "snmpconf"
command. You get the option to specify the trap destination.Or if you have
already generated it add an entry in it "trap2sink
" which wil
Hi,
This is Rajesh working in Sasken communication Technologies Ltd. We are
using the proven Net SNMP Open source (version 5.4.1) for a project. We
need a help on trap support as we are new to this.
We need to support multiple destinations for the trap events. We want to
know whether the current
sir,
i am doing project i.e.,"I*ntelligent Agent for observing the Compute and
Storage characteristics in Windows System software Service*"
i have to write agent program but for that *.c and *.h file needed that
should be auto generated using mib2c tool but my problem is that
i am unable to
1>unabl
Srivastava, Namburi (IE10) wrote:
I AM USING THE NET-SNMP VERSION* net-snmp-5.1.4*
If you're starting from scratch, I'd rather recommend to use 5.3.1 when
it comes out (anytime soon, currently at 5.3.1.pre2).
[EMAIL PROTECTED] myexpts]# ./mysubagent: error while loading shared
libraries: li
Title: Problem creating my own Agentx Subagent... Help needed
Hi,
I have tried to create my own Agentx Subagent based on the instructions given at the following link.
http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html
I AM USING THE NET-SNMP VERSION net-snmp
Hello All
I am using SHA and AES
I am using the following command :
./snmpget -M /usr/local/share/snmp/mibs -v 3 -a SHA -A 0303031303230333034303530363037303830393030303130323033303430353036303730383039 -e 3030303030304131313331333133313331333133 -l authPriv -u anand -x AES -X 3030303130
> On Wed, 29 Mar 2006 16:41:10 +0530, "Puru Govind" <[EMAIL PROTECTED]>
> said:
Puru> I am final sem undegrad doing computer engineering. I am doing a
Puru> project which is :"condition monitoring of electrical devices using AI
Puru> techniques"..In this I have to remotely monitor the dev
hello,
I am final sem undegrad doing computer engineering. I am doing a
project which is :"condition monitoring of electrical devices using AI
techniques"..In this I have to remotely monitor the devices and I am
using SNMP for it. My project will just monitor one OIDany idea
how should i go abo
On Tue, 2006-01-24 at 17:46 +0530, Rane, Prashant wrote:
> But this snmptrapd binary cores when I try to run it with the "debug
> all" option , as seen below
As Thomas has said, we'd really need to see a debugger back trace
to comment on why this might be failing (let alone fix it).
We'd probab
Rane, Prashant wrote:
But* this snmptrapd binary cores* when I try to run it* with the "debug
all" option* , as seen below
Can you please provide a backtrace (run under gdb and type "bt" after it
has crashed)? What's your configuration (snmptrapd.conf)? Please file a
bug report on http://www.
Title: RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf
Hi Dave,
Thanks for your inputs. I guess I will have to look into the snmptrapd code.
I am using a locally (on solaris_5.8) compiled binary of snmptrapd v 5.2.2, as I was not able to locate any for
Hi
To take care of trap burst (1000 traps in a second), I tried to
configure snmptrapd 5.2.2 parameter serverRecvbuf in a config file
"snmptrapd.cfg".
% cat /usr/nc/Solutions/ConnectSNMP/conf/snmptrapd.cfg
# execute 'snmptrapd -H' to get a list of all parameters understood by
snmptrapd.
server
On Fri, 2006-01-20 at 21:30 +0530, Rane, Prashant wrote:
> Need urgent help/advice on:
> 2. Any insights on possible reasons for the traps getting dropped
I make no claims to any sort of expertise on high-volume systems,
but I offer the following suggestion for your consideration.
Off the top of
[Sorry for the delay in responding to this]
On Fri, 2005-10-07 at 10:39 +0530, Rohini V wrote:
> The get commands work fine, when it is sent from the net-snmp
> utility "snmpget" for both versions v1 and v2c.
> But snmpset fails for v1 and works well for v2c
What are the access control settings
[Sorry for the delay in responding to this]
On Fri, 2005-10-07 at 10:39 +0530, Rohini V wrote:
> The get commands work fine, when it is sent from the net-snmp
> utility "snmpget" for both versions v1 and v2c.
> But snmpset fails for v1 and works well for v2c
What are the access control settings
[Sorry for the delay in responding to this]
On Fri, 2005-10-07 at 10:39 +0530, Rohini V wrote:
> The get commands work fine, when it is sent from the net-snmp
> utility "snmpget" for both versions v1 and v2c.
> But snmpset fails for v1 and works well for v2c
What are the access control settings
[Sorry for the delay in responding to this]
On Fri, 2005-10-07 at 10:39 +0530, Rohini V wrote:
> The get commands work fine, when it is sent from the net-snmp
> utility "snmpget" for both versions v1 and v2c.
> But snmpset fails for v1 and works well for v2c
What are the access control settings
[Sorry for the delay in responding to this]
On Fri, 2005-10-07 at 10:39 +0530, Rohini V wrote:
> The get commands work fine, when it is sent from the net-snmp
> utility "snmpget" for both versions v1 and v2c.
> But snmpset fails for v1 and works well for v2c
What are the access control settings
On Wed, 2005-11-16 at 03:34 -0600, Yadav, Amit wrote:
> Could someone tell me why is this PID of snmptrapd stored
> in this file.
Because it's a convenient way of controlling the daemon.
Automatic shutdown scripts can run something like
kill -TERM `cat /path/to/pid/file`
rather than havi
Title: Help needed with snmptrapd options
Hi,
We use snmptrapd binary in our product, and I changed on of the options i.e. -p which takes the path name, to store the pid
of snmptrapd, to something other than /tmp. Could someone tell me why is this PID of snmptrapd stored
Sir
I have created a subagent for a MIB.
The get commands work fine, when it is sent from the net-snmp
utility "snmpget" for both versions v1 and v2c.
But snmpset fails for v1 and works well for v2c
And for Net-snmp, the default version is set to v2c.
Similarly, a Get command works fine from
Hi,
I tried seeing the dump at snmpd and snmptrapd. I am
able to be that the packet that was sent from my
subagent-agent is recieved at the snmpd deamon,however
i dont get any packets at snmptrapd.
There is no known firewall that could block packets. I
am able to recieve traps if i am using smux a
First, please don't post to both lists.
On Wed, 16 Feb 2005 21:48:48 -0800 (PST) raja wrote:
RK> "snmptrapd -f -P" to capture notifications,but failed
RK> to capture any notifications.i am sure that my code
RK> generates traps.
Try
snmptrapd -f -Le -d
That will dump all packets receive
Hi,
I am using Agentx protocol to manage a couple of
protocols.I am using my own agentx-code as subagent
and net-snmp ver 5.0.8 as the master agent. I tested
get/Set and walk successfully,But i am unable to
capture traps on snmptrap deamon.
I used the following option:
"snmptrapd -f -P" to capt
hi ..
i have a mib table to which i am adding rows using the
function shown below.
all the additions are fine and when i do a "snmpget"
on the individual rows the vlues returned are correct.
but when i do an snmpwalk starting at the table's oid.
i get the following error.
ERROR
---
snmpw
Thank you for ur reply Andy.
On Tue, 2004-11-02 at 17:37, Andy Smith wrote:
> You will probably need to use some type of character string. It looks
> like DisplayString will give you 255 characters which is more than
> adequate. My knowledge of SMI is not what it should be so there may be a
> b
You will probably need to use some type of character string. It looks
like DisplayString will give you 255 characters which is more than
adequate. My knowledge of SMI is not what it should be so there may be a
better answer.
Regards,
Andy
Sasikumar Bodathula wrote:
Hi,
We have defined a propr
Hi,
We have defined a proprietary MIB in which we had an index
pstnRoutePrefix which can be 15 digits number we tried with Integer type
and Counter64 type in both the cases we didn't get the expected
result.Can anyone suggest what should be the type of this index.
Regards,
Sasikumar B.
--
On 28 Sep 2004 12:26:09 +0530 Sasikumar wrote:
SB> The code use to implement this 8 bit value is as follows(Thhis is not
SB> the complete code only the part which handles bits is shown).
SB>
SB> iVal = atoi(cVal);/*cVal is the value given by th server in string
SB>*form
SB>
Sorry for this delayed reply.
In my case all get/set request is passed via the server to the node
in this case server gives me the data(value ) for the respective request
is given as string. Take for example in H3223 mib there is an entry
called codec types which take 13 bits.
This is for 8 b
>I am facing some problem while implementing Accounting control MIB
> i.e one of the entry has data type BITS value ranges from 0-9 , I am
> passing the bit value through character array (size 2).But it is taking
> the value present in the first character , not reading the second
> character.
" in your e-mail is not clearly telling which part(subagent/agent) of
> the SNMP that you are talking about.
>
> Mahesh
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasikumar Bodathula
> Sent: Tuesday, September 07, 2004 6
TECTED] On Behalf Of Sasikumar Bodathula
Sent: Tuesday, September 07, 2004 6:56 PM
To: Net-SNMP
Subject: Help needed for BITS implementation
Hi,
I am facing some problem while implementing Accounting control MIB i.e one of the
entry has data type BITS value ranges from 0-9 , I am passing the
Hi,
I am facing some problem while implementing Accounting control MIB
i.e one of the entry has data type BITS value ranges from 0-9 , I am
passing the bit value through character array (size 2).But it is taking
the value present in the first character , not reading the second
character. Can som
68 matches
Mail list logo