AGENT EXT SIT ON NAILS -7

2005-04-19 Thread Parthiban Naliiamudali
  Dear sir, Thansk to Mr.Robert Story sir for providing information about augumenting in the table index. sir, now the PROBLEMS are... 1)HOW TO CONFIGURE SNMPTRAPD.CONF ACCESS CONTROL? AND IS IT COMPULSORY TO RUN "SNMPTRAPD" AS ROOT? PLEASE KINDLY SEE BELOW I TRIED ALL THESE... sir, i tried

community between agent and kernel

2005-04-19 Thread Farazad Farhadzadeh
Hi Can you help me about community between agent and kernel. I want to know when agent want to set a value for requested object agent how receive this value from kernel? --- This SF.Net email is sponsored by: New Crystal Reports XI. Version

RE: Retrieving SNMP header fields in the handler

2005-04-19 Thread Kodel Oleg
I'm requested by my customer to implement this certain mechanism: The SNMP manager will add to every SNMP message some "magic key". My agent (I'll use agentX) shall pass or drop the message according to the "magic key". I shall calculate and add the same key to every message that I send to the mana

Re: snmpd and community issue

2005-04-19 Thread Sasikumar Bodathula
Hi, I am having snmpd.conf file in this path /usr/share/snmp/snmpd.conf, I am using rwcommunity no rocommunity i had few snmpd.conf file in my system which i rename to snmpd.conf.old and started the snmpd and i was able to reproduce the same problem. Can i remove the other snmpd.conf files in ot

Re: snmpd and community issue

2005-04-19 Thread Sasikumar Bodathula
I am using net-snmp-5.1.2 version in RedHat 9.0 linux. On Fri, 2005-04-15 at 19:26, Robert Story wrote: > On 15 Apr 2005 09:40:42 +0530 Sasikumar wrote: > SB> What i want to say is when i do get on the sysDescr with the community > SB> name empty or wrong name (This name is not present in the snm

Question on SMP Linux

2005-04-19 Thread Jacky Chan
I have a question on using net-snmp to monitor the multi-cpu linux server. I have read and followed the tutorial to setup the MRTG. http://www.net-snmp.org/tutorial/tutorial-5/mrtg/index.html I have a question on this tutorial. I have an X86 Linux server and have 4 CPUs. In the tutorial, the exam

Net-SNMP 5.1.2 Memory leaks

2005-04-19 Thread Gary Clark
hello, Has anybody seen the memory leaks with Red Hat 9 Net-SNMP 5.1.2? I'm using the function CONTAINER_REMOVE to remove the context but its looks like it does not free memory? Eek? Has anybodyelse seen this? The context does appear to be free from the list but no memory deallocation? Thanks, Ga

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-19 Thread Wes Hardaker
> On Thu, 14 Apr 2005 16:49:16 +0100, "Andy Ford" <[EMAIL PROTECTED]> said: Andy> Thanks Jeff. Unfortunately I am using the SNMP Perl module supplied Andy> with net-snmp. When I run my script it returns nothing - error or no Andy> error - it quietly returns. When I run snmptrap with the same

Re: Agent not executing perl init script

2005-04-19 Thread Wes Hardaker
> On Fri, 15 Apr 2005 16:56:54 -0700, "[EMAIL PROTECTED]" <[EMAIL > PROTECTED]> said: kbrewton> I am using Net-SNMP 5.1.1 on Red Hat Linux 9 with embedded kbrewton> perl turned on; However, I am unable to get the agent to kbrewton> invoke the perl initialization script kbrewton> '/usr/loc

Re: linux+snmp

2005-04-19 Thread Wes Hardaker
> On Sun, 17 Apr 2005 23:45:01 +0530, "T.K Venu" <[EMAIL PROTECTED]> said: T> plz let me know a good url to doc's/configure snmp manager&agent. Well, you've started down a road that leads upward. Up a learning curve, I'm afraid. I can only offer a few hints: 1) for configuring your agent,

Re: Retrieving SNMP header fields in the handler

2005-04-19 Thread Wes Hardaker
> On Mon, 18 Apr 2005 07:53:46 +0200, Kodel Oleg <[EMAIL PROTECTED]> said: Kodel> In my subagent, in the get/set handlers I need to reach the Kodel> fields of the SNMPv2 header, such as RequestID, AgentAddress, Kodel> Community. Is it possible to retrieve these fields using Kodel> regular API

Re: snmpd not responding for get/getnext request when traps are pumped.

2005-04-19 Thread Wes Hardaker
> On 18 Apr 2005 16:58:23 +0530, Sasikumar Bodathula <[EMAIL PROTECTED]> > said: Sasikumar> Is this a known problem if so please let me know the fix. No, it's not known if you've truly hit something. Sasikumar> Is there any API which will tell that snmpd is waiting for Sasikumar> respon

Re: SNMP v3 Testing errors with authPriv mode

2005-04-19 Thread Wes Hardaker
> On Tue, 19 Apr 2005 18:10:52 +0800, "Yeo Siow Vic" <[EMAIL PROTECTED]> > said: Yeo> I have compiled a set of openssl binary, where do i store it? so Yeo> that net-snmp can detect openssl's existence during "configure"? Generally you would run "make install" which would install it in /u

Win32 simple Net-SNMP C program fails execution

2005-04-19 Thread Mike Bragg
Hello, I'm trying to learn how to use the net-snmp libraries to query network devices for information using the C API. I'm having issues executing a simple snmpget for sysDescr.0 of a device. The program compiles without errors, but when I run it I get the Error "snmpget: Too long". The progra

Re: dinamic creation of rows in a table (2)

2005-04-19 Thread Dave Shield
On Tue, 2005-04-19 at 11:55, Gemma Sánchez wrote: > mib2c -c mib2c.create-dataset.conf -f newsub00 subestacion > table_set->allow_creation = 1; > Do this code automatically manage dinamic creation and deletion of rows in > these tables? Yes. > How should the manager proceed to create or d

dinamic creation of rows in a table (2)

2005-04-19 Thread Gemma Sánchez
Hi all I have defined the next piece of MIB. aeIEC OBJECT IDENTIFIER ::= { subestacion 16} aeIndLibre OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "" ::= {aeIEC 1} aeEvTable OBJECT-TYPE SYNTAX SEQUENCE OF TIPOaeEvEntry MAX-ACCESS read-create STATUS curren

Re: SNMP v3 Testing errors with authPriv mode

2005-04-19 Thread Yeo Siow Vic
thanks for the reply. I have compiled a set of openssl binary, where do i store it? so that net-snmp can detect openssl's existence during "configure"? thanks vixtor - Original Message - From: "Thomas Anders" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 19, 2005 4:26 PM Subject: Re: S

Re:communication between agent and information

2005-04-19 Thread Farazad Farhadzadeh
> Do you mean how the agent knows what OID is being asked for? no. > Or how the agent determines what the corresponding value is? no. i want to know how snmp agent communicate with hardware of network in agent and get value for OID. > > > How to find out what this value actual

Re: How decode the trap fields on a windows machine

2005-04-19 Thread Dave Shield
On Mon, 2005-04-18 at 14:14, AESYS S.p.A. [Enzo Arlati] wrote: > I receive a trap but I can able to decode the fields meaning. > I try to find if there is a match with the layout specified inside the snmp > protocol but I didn't sucess. Note that SNMP doesn't used "fixed size" data structures, so

Re: SNMP v3 Testing errors with authPriv mode

2005-04-19 Thread Thomas Anders
Yeo Siow Vic wrote: Do i have to compile and build a openssl binary, to test SNMPv3 authPriv mode? Yes, you need OpenSSL, but there are binary packages for most platforms. See http://www.openssl.org/related/binaries.html . And i have to configure net-snmp again so it can be aware of openssl's exist

Re: communication between agent and information

2005-04-19 Thread Dave Shield
On Tue, 2005-04-19 at 07:49, Farazad Farhadzadeh wrote: > for example about ip.pForwarding.0 please tell me the agent how > it response to request from manager on the other hand the agent > where and how achieve these information about this request. Do you mean how the agent knows what OID is bei

Re: SNMP v3 Testing errors with authPriv mode

2005-04-19 Thread Yeo Siow Vic
dear all, Do i have to compile and build a openssl binary, to test SNMPv3 authPriv mode? And i have to configure net-snmp again so it can be aware of openssl's existence? thanks. victor > I compiled the net-snmp myself. > > I checked the config.log file, it failed to detect openssl, and i thi