Regarding Table data Create and Fill

2008-03-11 Thread kumar undurthi
Hi All, I have a problem in creating a table and Fill the table. i.e Normally table can create in initialization() part and can be fill with the static data. But in My case I want to Create and Fill the table with the dynamic data(values) when ever a request comes to the Agent.( it is p

RE: receive a trap

2008-03-11 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of snmp girl > Sent: Tuesday, March 11, 2008 8:59 AM > > net-snmp 5.4.1 > > couldn't open udp:162 --errno2 no such file or directory. > > Are you running this as yourself, or as root? > Port 162 is

RE: no rule to make target 'netsnmp_library.3', needed by 'maninstall'.

2008-03-11 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of skk > Sent: Tuesday, March 11, 2008 3:53 AM > while i am installing the netsnmp5.1.1.tar.gz on redhat 9 > ,the error message is(rh9 on vmware): If you are building, I would suggest downloading 5.4.1 and installing that

RE: Pls guide me to write the first program of SNMP

2008-03-11 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of TAING Nguon > Sent: Monday, March 10, 2008 8:27 PM > here is a piece of the output from the above command. > > SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management > Architecture MIB. > SNMPv2-MIB::sysORDescr.2 = STRING: Th

Re: Timeout:No Response From 127.0.0.1

2008-03-11 Thread Dave Shield
On 11/03/2008, simone marangoni <[EMAIL PROTECTED]> wrote: > yes, i think..i restart the network management services by > /etc/init.d/snmpd restart "think" is dangerous when debugging problems. Always check to be sure. Run 'ps -ef | grep snmp' and you should see the agent process. But

Timeout:No Response From 127.0.0.1

2008-03-11 Thread simone marangoni
yes, i think..i restart the network management services by /etc/init.d/snmpd restart - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse01

Re: receive a trap

2008-03-11 Thread snmp girl
> > > > > net-snmp 5.4.1 > > couldn't open udp:162 --errno2 no such file or directory. > > Are you running this as yourself, or as root? > Port 162 is a "privileged port", and can only be used by > processes running as root. my manager is a windows machine , and I run it as administrative --

Re: receive a trap

2008-03-11 Thread Dave Shield
On 11/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > warning :no access control information configured > this receiver will not accept any incoming notification >From the FAQ entry How do I handle traps and notifications? http://www.net-snmp.org/wiki/index.php/FAQ:Applications_19 ...

Re: Timeout: No Response from 127.0.0.1.

2008-03-11 Thread Dave Shield
On 11/03/2008, simone marangoni <[EMAIL PROTECTED]> wrote: > snmpd doesn't work..Timeout:No Response from 127.0.0.1 What are the access control settings in your snmpd.conf file? Is the agent actually running? Dave -

receive a trap

2008-03-11 Thread snmp girl
hello I send and a trap and to receive it , I use a trap receiver , but I want also to receive it in my dos when I execute snmptrapd -f -Le , but as answer I get : warning :no access control information configured this receiver will not accept any incoming notification net-snmp 5.4.1 couldn't open

Timeout: No Response from 127.0.0.1.

2008-03-11 Thread simone marangoni
Hi guys snmpd doesn't work..Timeout:No Response from 127.0.0.1 if i try: [EMAIL PROTECTED]:~$ sudo /etc/init.d/snmpd restart [sudo] password for simone: Restarting network management services:. the result is the same: [EMAIL PROTECTED]:~$ snmpget -v1 -cpublic 127.0.0.1 sysDescr.0 T

unsubscribe

2008-03-11 Thread Jaya Joseph -X (jajosep - Infosys at Cisco)
- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Net-snmp-users maili

Re: Size of MIB variable using mib2c

2008-03-11 Thread Dave Shield
On 11/03/2008, Raghavendra Prasad <[EMAIL PROTECTED]> wrote: > I am talking about writing source code generation configuration > script files like mib2c.scalar.conf- I am writing a script file to > generate source-code-framework, I need to find size of the string from > MIB file. OK - got you.

Re: Size of MIB variable using mib2c

2008-03-11 Thread Raghavendra Prasad
> What do you mean by that? > The size of an arbitrary string value that your MIB module should > report back? Or the size of a new string value that is being SET? > Or what? I am talking about writing source code generation configuration script files like mib2c.scalar.conf- I am writing a s

Re: Size of MIB variable using mib2c

2008-03-11 Thread Raghavendra Prasad
> What do you mean by that? > The size of an arbitrary string value that your MIB module should > report back? Or the size of a new string value that is being SET? > Or what? I am talking about writing source code generation configuration script files like mib2c.scalar.conf- I am writing a s

unsubscribe

2008-03-11 Thread Baird, Josh
- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Net-snmp-users maili

Re: Size of MIB variable using mib2c

2008-03-11 Thread Raghavendra Prasad
> What do you mean by that? > The size of an arbitrary string value that your MIB module should > report back? Or the size of a new string value that is being SET? > Or what? I am talking about writing source code generation configuration script files like mib2c.scalar.conf- I am writing a s

Re: help

2008-03-11 Thread Dave Shield
On 11/03/2008, Isaac Eliassi <[EMAIL PROTECTED]> wrote: > How one can " add whichever MIBs you need to support " ? I tried by adding > < mibs +MY-MIB-II > to the snmp.conf file but nothing happened, > When I type " snmpwalk -v 2c -c public localhost " I see many other mibs but > not mine. Pleas

RE: help

2008-03-11 Thread Isaac Eliassi
How one can " add whichever MIBs you need to support " ? I tried by adding < mibs +MY-MIB-II > to the snmp.conf file but nothing happened, When I type " snmpwalk -v 2c -c public localhost " I see many other mibs but not mine. Thanks, Isaac -Original Message- From: [EMAIL PROTECTED] [mailt

Re: Reg. snmptrapd.conf

2008-03-11 Thread Dave Shield
On 11/03/2008, Sampath kumar s <[EMAIL PROTECTED]> wrote: > Hi All, > In snmptrapd.conf we hav a feature to fwd the traps to another > destination...i just wanted to know whether we can fwd to multiple > destinations ?? can I use smething like this > > forward default DESTINATION1 > forward default

Re: help

2008-03-11 Thread Dave Shield
On 10/03/2008, Elizabeth George <[EMAIL PROTECTED]> wrote: > how can we write simple snmp agent The Net-SNMP suite already comes with an SNMP agent. Your best approach is probably to use this, rather than trying to re-create it from scratch. If you want a simple agent, then try configure --

Re: Index out of range when using get_node

2008-03-11 Thread Dave Shield
On 10/03/2008, Jelena Savic <[EMAIL PROTECTED]> wrote: > Then i have an application that takes in a list of oids, and parses them > using read_objid > (however the same problem occurs while using snmp_parse_oid or get_node) > > I get the problem: > Unknown object identifier: Index out of range

Re: Size of MIB variable using mib2c

2008-03-11 Thread Dave Shield
On 10/03/2008, Raghavendra Prasad <[EMAIL PROTECTED]> wrote: >I have a requirement to find out the > size of string-type MIB variables - unfortunately I could not figure > out how to find the size of string variable, What do you mean by that? The size of an arbitrary

no rule to make target 'netsnmp_library.3',needed by 'maninstall'.

2008-03-11 Thread skk
while i am installing the netsnmp5.1.1.tar.gz on redhat 9 ,the error message is(rh9 on vmware): make[1]:***no rule to make target 'netsnmp_library.3',needed by'maninstall'.Stop. make[1]:Leaving directory '/home/net-snmp5.1.1/man' make:***[installsubdirs]Error 1 i need your help! thanx advance

Reg. snmptrapd.conf

2008-03-11 Thread Sampath kumar s
Hi All, In snmptrapd.conf we hav a feature to fwd the traps to another destination...i just wanted to know whether we can fwd to multiple destinations ?? can I use smething like this forward default DESTINATION1 forward default DESTINATION2 Thanks & Regards, Sampath S