forward option changes source ip from the packet

2013-10-10 Thread MANISH AGARWAL
I recently started using the forward feature of the snmpd.conf . 


forward default udp:ip_Address:port


I see that my traps were being forwarded to a new ip as well . However I saw 
that the source ip was changed . This to me seems to be wrong as i would always 
want to preserve source ip addresses before forwarding the same  . 

Is there an option which can help me preserve the source ip as well . 

I am not abel to find suitable documentation , so  please point me to suitable 
documentation on the forward option .  

--mac;
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


how do I configure net-snmp on AIX

2013-01-03 Thread Wipro-Manish Sharma
I have AIX server 5300-07-10-0943  and looking for configuration net -snmp on 
the same.

We have installed net-snmp-5.5-1.rpm package on the server but we are getting 
time response output. and in /var/log/snmpd.log we are getting error as
nlist err: neither proc nor _proc found.Warning:
no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run snmpconf -g basic_setup to help you configure the snmpd.conf file for 
this agent


Kindly help on this as its critical

Regards,
Manish Sharma
9920412433
2239961895

The information contained in this electronic communication is intended solely 
for the individual(s) or entity to which it is addressed. It may contain 
proprietary, confidential and/or legally privileged information. Any review, 
retransmission, dissemination, printing, copying or other use of, or taking any 
action in reliance on the contents of this information by person(s) or entities 
other than the intended recipient is strictly prohibited and may be unlawful. 
If you have received this communication in error, please notify us by 
responding to this email or telephone and immediately and permanently delete 
all copies of this message and any attachments from your system(s). The 
contents of this message do not necessarily represent the views or policies of 
Aditya Birla Group. Computer viruses can be transmitted via email. Aditya Birla 
Group Companies attempts to sweep e-mails and attachments for viruses, it does 
not guarantee that either are virus free. The recipient should check this email 
and any attachments for the presence of viruses. Aditya Birla Group does not 
accept any liability for any damage sustained as a result of viruses.
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Fw: Ways to retrive ip address from cisco routers decimal or hexadecimal.

2010-11-18 Thread Manish Pohnekar
Hi

Sorry for late reply actualy I tried studying mib files before questioning. 
I have lots of mib files and mib.txt file on my machine I am uable detect 
which nib file is being used

Thanks
Manish


- Original Message - 
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: Manish Pohnekar manish.pohne...@info-spectrum.com
Cc: net-snmp-users@lists.sourceforge.net
Sent: Tuesday, November 09, 2010 6:43 PM
Subject: Re: Fw: Ways to retrive ip address from cisco routers decimal or 
hexadecimal.


 On 9 November 2010 12:50, Manish Pohnekar
 manish.pohne...@info-spectrum.com wrote:
 I really need to understand the question in details
 where I acn look the bits
 and defination
 as per #define statement one sourceaddress and another is target address

 I'm not talking about the source code or #define statements
 I'm asking about the MIB file that defines the objects that you are 
 querying.


 If you run snmpwalk or similar of these OIDs, then it should report
 the results in the form:

SOME-MIB::someObject.1.2.3 = STRING: some string

 There should then be a file called 'SOME-MIB' (or possibly 'SOME-MIB.txt')
 This will contain a chunk starting someObject, which is the MIB 
 definition
 of this particular MIB object.

 That is the block which should describe how to display the results in a
 sensible manner.   What does that block look like?


 Dave
 


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Fw: Ways to retrive ip address from cisco routers decimal orhexadecimal.

2010-11-18 Thread Manish Pohnekar


Hi

Ultimately i got the solution I need to manage following file

Thanks following line

netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_STRING_OUTPUT_FORMAT, mode);

mode =

mode = NETSNMP_STRING_OUTPUT_HEX; or

mode = NETSNMP_STRING_OUTPUT_ASCII;



well its late but generated my intrest in snmp

cheers

Manish

- Original Message - 
From: Manish Pohnekar manish.pohne...@info-spectrum.com
To: Dave Shield d.t.shi...@liverpool.ac.uk
Cc: net-snmp-users@lists.sourceforge.net
Sent: Thursday, November 18, 2010 1:51 PM
Subject: Re: Fw: Ways to retrive ip address from cisco routers decimal 
orhexadecimal.


 Hi

 Sorry for late reply actualy I tried studying mib files before 
 questioning.
 I have lots of mib files and mib.txt file on my machine I am uable detect
 which nib file is being used

 Thanks
 Manish


 - Original Message - 
 From: Dave Shield d.t.shi...@liverpool.ac.uk
 To: Manish Pohnekar manish.pohne...@info-spectrum.com
 Cc: net-snmp-users@lists.sourceforge.net
 Sent: Tuesday, November 09, 2010 6:43 PM
 Subject: Re: Fw: Ways to retrive ip address from cisco routers decimal or
 hexadecimal.


 On 9 November 2010 12:50, Manish Pohnekar
 manish.pohne...@info-spectrum.com wrote:
 I really need to understand the question in details
 where I acn look the bits
 and defination
 as per #define statement one sourceaddress and another is target address

 I'm not talking about the source code or #define statements
 I'm asking about the MIB file that defines the objects that you are
 querying.


 If you run snmpwalk or similar of these OIDs, then it should report
 the results in the form:

SOME-MIB::someObject.1.2.3 = STRING: some string

 There should then be a file called 'SOME-MIB' (or possibly 
 'SOME-MIB.txt')
 This will contain a chunk starting someObject, which is the MIB
 definition
 of this particular MIB object.

 That is the block which should describe how to display the results in a
 sensible manner.   What does that block look like?


 Dave



 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today
 http://p.sf.net/sfu/msIE9-sfdev2dev
 ___
 Net-snmp-users mailing list
 Net-snmp-users@lists.sourceforge.net
 Please see the following page to unsubscribe or change other options:
 https://lists.sourceforge.net/lists/listinfo/net-snmp-users
 


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


configuring snmp v3 tap trap simulator in mimic

2010-11-15 Thread Manish Pohnekar
Hi
all,
  I am trying to configure SNMPV3 trap simulator in mimic. I used security 
password and engineid for it.
  Can any one tell me how to put it in v3usm.conf and v3asm.conf configuration 
file.
Thanks and regards, 
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Ways to retrive ip address from cisco routers decimal or hexadecimal.

2010-11-08 Thread Manish Pohnekar
Hi

All I have one query we are using the net-snmp library and receiving the
agent information from cisco router  we are getting IP address in
hexadecimal  format as well as in decimal value in corresponfing ascii
character in 4 character lenghth. but not sure when returens hexadecimal or
decimal we want only in one hexadecimal .

how can we configure that
Manish

- Original Message - 
From: Manish Pohnekar manish.pohne...@info-spectrum.com
To: net-snmp-users@lists.sourceforge.net
Sent: Thursday, November 04, 2010 3:52 PM
Subject: Re: confirm 8f637fb74678a629987502fc84f52d7b5218b0be


 Hi

 All I have one query we are using the net-snmp library and receiving the
 agent information from cisco router  we are getting IP address in
 hexadecimal  format as well as in decimal value in corresponfing ascii
 character in 4 character lenghth. but not sure when returens hexadecimal 
 or
 decimal we want only in one hexadecimal .

 how can we configure that
 Manish


 - Original Message - 
 From: net-snmp-users-requ...@lists.sourceforge.net
 To: manish.pohne...@info-spectrum.com
 Sent: Thursday, November 04, 2010 3:36 PM
 Subject: confirm 8f637fb74678a629987502fc84f52d7b5218b0be


 Mailing list subscription confirmation notice for mailing list
 Net-snmp-users

 We have received a request from 172.29.29.1 for subscription of your
 email address, manish.pohne...@info-spectrum.com, to the
 net-snmp-users@lists.sourceforge.net mailing list.  To confirm that
 you want to be added to this mailing list, simply reply to this
 message, keeping the Subject: header intact.  Or visit this web page:


 https://lists.sourceforge.net/lists/confirm/net-snmp-users/8f637fb74678a629987502fc84f52d7b5218b0be


 Or include the following line -- and only the following line -- in a
 message to net-snmp-users-requ...@lists.sourceforge.net:

confirm 8f637fb74678a629987502fc84f52d7b5218b0be

 Note that simply sending a `reply' to this message should work from
 most mail readers, since that usually leaves the Subject: line in the
 right form (additional Re: text in the Subject: is okay).

 If you do not wish to be subscribed to this list, please simply
 disregard this message.  If you think you are being maliciously
 subscribed to the list, or have any other questions, send them to
 net-snmp-users-ow...@lists.sourceforge.net.



 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a
 Billion shares his insights and actions to help propel your
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 Net-snmp-users mailing list
 Net-snmp-users@lists.sourceforge.net
 Please see the following page to unsubscribe or change other options:
 https://lists.sourceforge.net/lists/listinfo/net-snmp-users
 


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Third party walk gives error with snmpd(net-snmp) daemon

2009-08-06 Thread Manish Gupta
 know if you need any other information ?


Thanks,
Manish

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Tuesday, August 04, 2009 8:00 AM
To: Manish Gupta
Cc: net-snmp-users
Subject: Re: Third party walk gives error with snmpd(net-snmp) daemon

2009/8/4 Manish Gupta mani...@niksun.com:
   we have a different
 snmp walk command from SMARTS group of tools and it gives the following
 error after running the walk as follows

 Saving MIB walk to file(s) '10.60.0.177.walk' '10.60.0.177.mimic'
'10.60.0.177.snap' ...

Do any of these files exist?
If so, what are the contents?


 SNMP-N-EPARSER-Mangled or incorrect packet;
   parsing aborted and data discarded


 It seems the packet format is not correct, can you please give some
insight
 on this what can be the problem , is it the deamon or the snmp walk
command?

I have no idea - I've never used this particular suite of tools.

I'd suggest you try using a single-shot tool (equivalent to our snmpget)
rather than a full SNMP walk, if they include such a thing.   See if there's
a way of turning on debugging, or a raw packet dump.

Failing that, try restarting the agent using
 snmpd -f -Le -d
 (plus any other necessary options), and run a single
query against it.
What does the packet dump look like?

Dave



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Third party walk gives error with snmpd(net-snmp) daemon

2009-08-04 Thread Manish Gupta


Hi,

We are running the snmp daemon (version net-snmp-5.3.1_3) and whenever we
perform walk using snmpwalk command it works fine, but we have a different
snmp walk command from SMARTS group of tools and it gives the following
error after running the walk as follows

C:\Documents and Settings\manishgsm_snmpwalk --snmp=2c --community=public
-t 100 10.60.0.177

Saving MIB walk to file(s) '10.60.0.177.walk' '10.60.0.177.mimic'
'10.60.0.177.snap' ...
SNMP-N-EPARSER-Mangled or incorrect packet; parsing aborted and data
discarded


It seems the packet format is not correct, can you please give some insight
on this what can be the problem , is it the deamon or the snmp walk command?


Regards,
Manish




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Setting the sysObjectId value

2009-06-16 Thread Manish Gupta
Vincent,

I was giving 
sysobjectid enterprises.5713.1.1.2.4

but after giving the following it worked 
sysobjectid 1.3.6.1.4.1.5713.1.1.2.4


Thanks for the help.

Regards,
Manish


-Original Message-
From: Vincent Bernat [mailto:ber...@luffy.cx] 
Sent: Tuesday, June 16, 2009 12:55 PM
To: Manish Gupta
Cc: 'Dave Shield'; net-snmp-users@lists.sourceforge.net
Subject: Re: Setting the sysObjectId value

OoO  Lors de  la soirée  naissante du  mardi 16  juin 2009,  vers 18:10,
Manish Gupta mani...@niksun.com disait :

 We are using net-snmp version 5.3.1_3 and trying to set the value of
 sysobjectid through snmpd.conf file , but it is not setting the value and
 snmpwalk always shows the default value, so can you please tell us how to
 set this value as we are able to set other values like syslocation etc but
 not objected.

What did you put exactly in your snmpd.conf?

sysobjectid .1.2.3.4

Then:

$ snmpget -v 2c -c public localhost SNMPv2-MIB::sysObjectID.0
SNMPv2-MIB::sysObjectID.0 = OID: iso.2.3.4

Maybe there is some error message in logs, like:
/etc/snmp/snmpd.conf: line 111: Error: sysobjectid token not a parsable 
OID:#012#011.1.2.3.4
-- 
BOFH excuse #321:
Scheduled global CPU outage



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Not able to create the new row in ifTable through subagent

2009-01-27 Thread Manish Gupta
Hi,

 

I have developed the ifTable agent for updating all the interfaces which are
not detectable by Kernel on FreeBSD.

 

When I run the snmp master agent and run the snmpwalk on ifTable it shows
all the interfaces detected by kernel, now I run my subagent (ifTable) to
see the new interfaces which are added by this new agent, and when I run the
snmpwalk it is not shown in the list.

 

This new agent is not giving any errors while inseting the new row in
ifTable,.

 

If I run this subagent as the master agent I could see all the interfaces
created through snmpwalk, but my purpose is to create new row of interface
in the existing ifTable created by master snmpd. So is it possible to create
new row by subagent in the ifTable created by master snmpd.

 

 

 

Regards,

Manish

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Not able to create the new row in ifTable through subagent

2009-01-27 Thread Manish Gupta
Dave,

Thanks for the reply .

I have implemented the whole ifTable in subagent, but the snmpwalk shows the
entries created by master snmp agent, so is there a way to override the
table of master agent by subagent table entries, so that snmpwalk could see
the entries created by the ifagent.

Regards,
Manish

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Tuesday, January 27, 2009 9:49 AM
To: Manish Gupta
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Not able to create the new row in ifTable through subagent

2009/1/26 Manish Gupta mani...@niksun.com:
 So is it possible to create
 new row by subagent in the ifTable created by master snmpd.

No.
The ifTable code is expecting to implement the *whole* table.
It's not designed to allow individual subagents to insert
additional rows.

It *might* work if your subagent explicitly registers the row as
a slice rather than a full table.   But there's no examples of
this in the current code, and the mib2c templates don't cover
this option either.

Dave



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Not able to create the new row in ifTable through subagent

2009-01-27 Thread Manish Gupta
Thanks a ton Dave, It resolved the issue.

Regards,
Manish

-Original Message-
From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] 
Sent: Tuesday, January 27, 2009 10:15 AM
To: Manish Gupta
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Not able to create the new row in ifTable through subagent

2009/1/27 Manish Gupta mani...@niksun.com:
 I have implemented the whole ifTable in subagent, but the snmpwalk shows
the
 entries created by master snmp agent, so is there a way to override the
 table of master agent by subagent table entries, so that snmpwalk could
see
 the entries created by the ifagent.

Try starting the master agent using the option '-I-ifTable'
Make sure that this isn't reporting the ifTable *before* starting
your subagent.

If that doesn't turn it off, then try  '-I-mibII/interfaces'

Dave


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Diffie Hellman Key change RFC 2786

2006-08-09 Thread Soni Manish-E3988C




My understanding of RFC 2786 to support 
Diffie Hellman key change is as 
follows:
1. EMS SET to usmDHUserAuthKeyChange and 
usmDHUserPrivKeyChange to trigger key change
2. Agent generates and publishes DH public nmuber "y" 
to usmDHUserAuthKeyChange and usmDHUserPrivKeyChange
3. EMS GET usmDHUserAuthKeyChange and 
usmDHUserPrivKeyChange (obtain 
"y")
4. EMS calculates own public number "z" and SET "y + 
z" (concatenation) to usmDHUserAuthKeyChange and 
usmDHUserPrivKeyChange
5. Agent verifies that the "y" is the same "y" it 
generated, if yes, accepts "z"
6. Both EMS and Agent generate the shared secret with 
y and z.
However when i look at the net-snmp 
implementation of the DH keychange it is a single get and a set instead of 2 
sets and get as mentioned above.
snmpusm makes one get and set request. First it sends 
get on
1. usmDHParameters ( scalar )
2. usmDHUserAuthKeyChange ( with index 
engineID.username )
3. usmDHUserPrivKeyChange ( with index 
engineID.username )
and then set on
1. usmDHUserAuthKeyChange ( with index 
engineID.username )
2. usmDHUserPrivKeyChange ( with index 
engineID.username )
Want to make sure that if the 
implementation is correct or not. Is something wrong with my understanding of 
RFC. Also what triggers the agent to generate it's new public key. Is it the set 
on usmDHUserAuthKeyChange and usmDHUserPrivKeyChange with new public keys from 
EMS. If this true how does EMS know the new agent public key since there is no 
subsequent get.
Manish

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: NET-SNMP agent is not responding to managerrequest(snmpget,snmpgetnext etc)

2006-03-03 Thread Manish
Hi,
Thanx Dave
It just work by adding rocommunity public in snmpd.conf.

Regards
Manish

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 9:03 PM
To: Manish
Cc: net-snmp-users@lists.sourceforge.net; 'Ravindra Keskar'
Subject: Re: NET-SNMP agent is not responding to
managerrequest(snmpget,snmpgetnext etc)

On Thu, 2006-03-02 at 11:08 +0530, Manish wrote:
 I haven't made any changes to snmpd.conf file,

The simplest approach is probably to have the single line

rocommunity public

(probably *instead* of whatever entries are currently there).


 Also I never see documentation about which access setting to specify for
it.

There are various relevant entries in the FAQ, including:
  Requests always seem to timeout, and don't give
 me anything back.  Why?
  I can see the system group, but nothing else.  Why?
  How do I configure access control?
  I don't understand the new access control
 stuff - what does it mean?




 actually I tried all combination which are working with Microsoft
 agent but not with this agent.

That's because the Microsoft agent has the access control configured
(possibly by default), and the Net-SNMP agent doesn't.


 Please suggest any solutions for the same...

See above.

Dave



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


NET-SNMP agent is not responding to manager request(snmpget,snmpgetnext etc)

2006-03-02 Thread Manish

Hi,

I haven't made any changes to snmpd.conf file,
Also I never see documentation about which access setting to specify for it.
I invoked following snmpget command
snmpget -v 1 -c public localhost sysDescr.0
actually I tried all combination which are working with Microsoft agent but
not with this agent.
Please suggest any solutions for the same...

Regards
manish

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 3:00 PM
To: Manish
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: NET-SNMP agent is not responding to
managerrequest(snmpget,snmpgetnext etc)

On Wed, 2006-03-01 at 12:50 +0530, Manish wrote:
 I follow the entire step to install Net-SNMP on my machine, then I
 register Net-SNMP agent with my machine.
 
 But it is not responding to manager requests as snmpget.

How have you configured the Net-SNMP agent?
In particular, what access control settings do you have
in the snmpd.conf file?

What 'snmpget' commands are you trying?

Dave



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


NET-SNMP agent is not responding to manager request(snmpget,snmpgetnext etc)

2006-03-01 Thread Manish








Hi,



I follow the entire step to install Net-SNMP on my machine, then
I register Net-SNMP agent with my machine.

I had stop Microsoft SNMP agent and started Net-SNMP agent service
from SCM.

It is not responding with Net-SNMP agent but it is with
Microsoft agent.

But it is not responding to manager requests as snmpget.

I tried auto discover agent from MIB Browser it also not recognizing
this as an agent but it is with Microsoft agent service on.

Please let me know what should I do to resolve this and
Net-SNMP agent should be recognized agent.



Regards

Manish








SNMP V3 key change

2006-02-27 Thread Soni Manish-E3988C



Wanted to know when 
snmp key change is triggered by setting usmauthkeychange does the net-snmp agent 
wait to update the keys until all the ongoing operations (Sets)are 
completed or the keys are updated immediately and the new keys will be used for 
responsding to ongoing sets.

Manish Soni




Net-snmp 5.0.9 config issue

2004-11-02 Thread Bakshi Manish-Q16572












I would very much appreciate someone's help with the
following NET-SNMP config issue.



I have tried to determine why a SNMPD.CONF file does not
work on a SNMP V3 authentication setup in the following file. After reviewing
the CONF file many times, I have not been able to identify it. My basic intent
is to create 2 users - 1 with access to the mib-2::system subarea and the
other of the mib-2::interfaces subtree in the views view1 and view2. The snmpwalk
command always returns: 

Error in packet.

Reason: authorizationError
(access denied to that object)

Here is my CONF file which describes all of the views,
groups, and accesses :

#

# net-snmp (or ucd-snmp) persistent
data file.

#

syslocation unknown

syscontact unknown

sysservices 72

rocommunity public

rwcommunity private



#

# SMUX peer support (gated)

#

smuxpeer .1.3.6.1.4.1.4.3.1.4 secret



#send v1 traps

trapsink 192.168.1.3 public

#send v2 traps

trap2sink 192.168.1.3 secret

#send authentication traps

authtrapenable 1



# SNMP v3 configuration



createUser tester1 MD5 testpasswd
DES

createUser tester2 MD5 testpass DES

com2sec tester1 default public

com2sec tester2 default public

group test1 usm
tester1

group test2 usm
tester2

view
view1 included system 0

view
view2 included interfaces 0

access test1
 any
auth exact view1
none none

access test2
 any
auth exact view2
none none



# Used with ifMibObjects alias
support

ifalias /etc/rcZ.d/ifalias



# To limit the size of the RMON logfile

logentry 5000

# End of snmpd.conf



The following SNMP v3 requests all return authorization errors
:

1.snmpwalk -v3 -A testpasswd
-n  -u tester1 -l authNoPriv 192.168.1.26 interfaces

2.snmpwalk -v3 -A testpasswd
-n  -u tester1 -l authNoPriv 192.168.1.26 system

3.snmpwalk -v3 -A testpass -n
 -u tester2 -l authNoPriv192.168.1.26 system

4.snmpwalk -v3 -A testpass -n
 -u tester2 -l authNoPriv192.168.1.26 interfaces



I believe that with the above setup, test 1 and 3 should not work. Only
2 and 4 should work, but this is not occurring. Is there something wrong in my
SNMPD.CONF file. I cannot determine if it is the mask for the view or another
issue. 



Thanks for your time and look forward to hearing from you soon.



Regards

Manish
















NET-SNMP 5.0.9 segmentation fault with AgentX subagent.

2004-08-16 Thread Bakshi Manish-Q16572








I wanted to see if this issue was resolved in a later
release of either NET-SNMP or the Linux kernel itself. The issue is concerned
with using AgentX on the master and connecting subagents to the NET-SNMP 5.0.9
master snmpd binary on a 2.4.20 release of RedHat Linux.



After loading the SNMPD master AgentX (with my snmpd.conf
file options) agent, I can connect my subagent to it. Initially, I receive
packets on the opened SNMP session, but after a few GET operations, all master packets
sent to the subagent seems to disappear. The master's snmpd/select
log always indicates a count of 0 packets sent. And, after a few retries, the
master unloads all registered tables/scalars leaves from the subagent
registries, and crashes with a Segmentation Fault.



Can anyone help with more information on this? Was there a
Linux patch or NET-SNMP 5.0.9 patch for this problem?





Thanks

Manish