Re: Help needed in making an AgentX subagent work...

2017-08-18 Thread jm . challier
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 :-) -

Help needed in making an AgentX subagent work...

2017-08-17 Thread Jean-Marc CHALLIER
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

Re: help needed on net-snmp's snmptrapd issue

2017-05-17 Thread Pushpa Thimmaiah
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

help needed on net-snmp's snmptrapd issue

2017-03-30 Thread Song Song1 Han
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

help needed, pleaseeeeeeee

2014-05-06 Thread M.AMJAD
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

Help Needed

2013-08-20 Thread Srinivasa Rao Katta
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

Help needed in net-snmp 5.7.1 using DTLS

2013-02-12 Thread B Sreekanth
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

RE: SNMP V3 help needed Urgent

2011-11-25 Thread John Leiseboer
> 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

Re: SNMP V3 help needed Urgent

2011-11-23 Thread Dave Shield
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

SNMP V3 help needed Urgent

2011-11-22 Thread Abhishek Kumar-Noida
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

Re: help needed on snmpwalk using localized keys

2011-11-08 Thread Dave Shield
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

Re: help needed on snmpwalk using localized keys

2011-11-08 Thread ashok kumar
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

help needed on snmpwalk using localized keys

2011-11-04 Thread anand anand
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 -

RE: Help needed on implementing snmp table

2011-09-13 Thread Mohammad Waqas Athar
+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

RE: Help needed on implementing snmp table

2011-09-13 Thread Dheeraj Gautam
-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

RE: Help needed on implementing snmp table

2011-09-12 Thread Mohammad Waqas Athar
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

Help needed on implementing snmp table

2011-09-12 Thread N. Karthikeyan
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

Help needed ( 64 bit compilation )

2011-08-03 Thread anand anand
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 -

Re: Net-SNMP in AIX Setup help needed

2010-07-31 Thread Thomas Anders
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

RE: Net-SNMP in AIX Setup help needed

2010-07-28 Thread Stock, Roger W
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 &

Re: Net-SNMP in AIX Setup help needed

2010-07-27 Thread Dave Shield
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

Net-SNMP in AIX Setup help needed

2010-07-27 Thread Stock, Roger W
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

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
; 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

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
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

Re: help needed with root oid and getnext operation

2009-02-28 Thread Dave Shield
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

Re: help needed with root oid and getnext operation

2009-02-27 Thread Dave Shield
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

Re: help needed with root oid and getnext operation

2009-02-27 Thread Bernadette Eyre
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

Re: help needed with root oid and getnext operation

2009-02-26 Thread Dave Shield
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

RE: help needed with root oid and getnext operation

2009-02-25 Thread EYRE Bernadette
-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

RE: help needed with root oid and getnext operation

2009-02-25 Thread Mike Ayers
> 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

help needed with root oid and getnext operation

2009-02-24 Thread EYRE Bernadette
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

RE: Help needed on EngineID.

2009-02-16 Thread Ragesh V
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

Re: Help needed on EngineID.

2009-02-16 Thread Wes Hardaker
> 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

Help needed on EngineID.

2009-02-16 Thread Ragesh V
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

Re :Help Needed on Trap Support to Multiple destinations

2008-08-24 Thread vishal_nitr
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

Help Needed on Trap Support to Multiple destinations

2008-08-22 Thread Rajesh Gopalan
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

help needed??

2008-04-10 Thread saroj kumar
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

Re: Problem creating my own Agentx Subagent... Help needed

2006-05-17 Thread Thomas Anders
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

Problem creating my own Agentx Subagent... Help needed

2006-05-16 Thread Srivastava, Namburi (IE10)
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

help needed regarding Authentication & encryption (SHA/AES)

2006-05-09 Thread anand anand
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

Re: help needed!

2006-03-31 Thread Wes Hardaker
> 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

help needed!

2006-03-29 Thread Puru Govind
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

RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-24 Thread Dave Shield
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

Re: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-24 Thread Thomas Anders
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.

RE: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-24 Thread Rane, Prashant
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

Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-20 Thread Rane, Prashant
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

Re: Help needed: Problem with snmptrapd 5.2.2 config parameter serverRecvBuf

2006-01-20 Thread Dave Shield
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

Re: Version problem exists in my subagent -- Immediate help needed

2005-12-13 Thread Dave Shield
[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

Re: Version problem exists in my subagent -- Immediate help needed

2005-12-13 Thread Dave Shield
[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

Re: Version problem exists in my subagent -- Immediate help needed

2005-12-13 Thread Dave Shield
[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

Re: Version problem exists in my subagent -- Immediate help needed

2005-12-13 Thread Dave Shield
[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

Re: Version problem exists in my subagent -- Immediate help needed

2005-12-13 Thread Dave Shield
[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

Re: Help needed with snmptrapd options

2005-11-16 Thread Dave Shield
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

Help needed with snmptrapd options

2005-11-16 Thread Yadav, Amit
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

Version problem exists in my subagent -- Immediate help needed

2005-10-07 Thread Rohini V
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

Re: SnmpTrap help Needed!!

2005-02-25 Thread raja krishna
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

Re: SnmpTrap help Needed!!

2005-02-21 Thread Robert Story
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

SnmpTrap help Needed!!

2005-02-21 Thread raja krishna
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

problem with snmpwalk on snmp tables. help needed urgently please.

2005-01-23 Thread sharath ramegowda
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

Re: Help needed for Inetger64 implementation

2004-11-03 Thread Sasikumar Bodathula
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

Re: Help needed for Inetger64 implementation

2004-11-02 Thread Andy Smith
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

Help needed for Inetger64 implementation

2004-11-01 Thread Sasikumar Bodathula
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. --

Re: Help needed for BITS implementation

2004-09-28 Thread Users
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>

Re: Help needed for BITS implementation

2004-09-28 Thread Sasikumar Bodathula
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

Re: Help needed for BITS implementation

2004-09-09 Thread Dave Shield
>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.

RE: Help needed for BITS implementation

2004-09-07 Thread Sasikumar Bodathula
" 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

RE: Help needed for BITS implementation

2004-09-07 Thread Kurapati M-G19456
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

Help needed for BITS implementation

2004-09-07 Thread Sasikumar Bodathula
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