questions about sub agent

2005-10-19 Thread 조용한
Hi I have one question about sub agent. I'm developing and testing sub-agent program in my linux server. Is it possible for sub-agent to communicate with Master agnet(net-snmp Master Agent) which is in other machine or different ip address without changing any code? And if I should change cod

Re: Binary that installs just the snmp utils

2005-10-19 Thread Dave Shield
On Tue, 2005-10-18 at 09:34 -0700, Ravi Malghan wrote: > Hi: I want to install UCD-SNMP with just the SNMP > utilities (primarily snmpget, snmpwalk) for Solaris 9. > 1. Does anybody know if such a binary exists I'm not aware of such a thing, no. We certainly don't distribute the agent and utiliti

Re: Multiple sets in one pdu

2005-10-19 Thread Dave Shield
On Tue, 2005-10-18 at 18:08 -0700, Yong Chen (yongche) wrote: > I'm facing a problem with multiple sets in one pdu, > basically it's sequence issue. Remember that SET assignments are processed "as if simultaneously". You cannot rely on a particular ordering of varbinds in the SET request. This sho

private mib definition problem

2005-10-19 Thread Chunmei Dai(CD)
i define private mib files. 1.I want a 64 bit INTEGER as a table’s index. Then I use SYNTAX  “Counter64” as this table’s index 2.complie this mib file using tool “adventnet simulation toolkit”. This tool give me following message:      ERR-162  The objects having the syntax

Re: questions about sub agent

2005-10-19 Thread Dave Shield
On Wed, 2005-10-19 at 07:13 +, 조용한 wrote: > Is it possible for sub-agent to communicate with Master agent(net-snmp > Master Agent) which is in other machine or different ip address Yes. Please see the FAQ entry: How can I run AgentX with a different socket address? and the docume

host.allow entry for example-demon.c and libwrap/tcp_wrappers?

2005-10-19 Thread Dave Hatton
 (Sorry in advance if this has been covered – I don’t seem to be able to find the answer on the list or faq)   I have compiled the agentx example-demon.c up and have been successful in accessing data from it using the example in the tutorial (http://net-snmp.sourceforge.net/tutorial/tutor

Re: private mib definition problem

2005-10-19 Thread Dave Shield
On Wed, 2005-10-19 at 16:10 +0800, Chunmei Dai(CD) wrote: > 1.I want a 64 bit INTEGER as a table’s index. Then I use > SYNTAX “Counter64” as this table’s index This is not allowed. >From RFC 2578, section 7.7: Since a single value of a Counter has (in general) no information content (see s

[SLV]RE: private mib definition problem

2005-10-19 Thread Chunmei Dai(CD)
Dave I try it ,good idea, thanks Chunmei -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: 2005年10月19日 16:21 To: Chunmei Dai(CD) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: private mib definition problem On Wed, 2005-10-19 at 16:10 +0800, Chunmei Dai(CD) w

help

2005-10-19 Thread 唐亮
Dear All, I have some problems with SNMP,I want to know whether the ecos support the SNMP MIB2,if support,which struct can be used to finish this work.Thank you very much. Sincerely yours, Tang Lian

Can both scalar and tabular object template create together?

2005-10-19 Thread surjit . mahapatra
i All I am using net-snmp 5.2.1.2. My MIB consist of 40 Scalar object,2 Tabular object and 2 notification objects. I want to know how to create template code using mib2c for all the 3 types of objects in one shot?? Is it possible to create template code for all the 3 types of objects using mib2c

Hi

2005-10-19 Thread Sumalatha_Nadella
Hi,   This is Sumalatha… I am new to this SNMP. Can anybody help me out in registering the .c file generated by the mib module with the snmp agent.   Thanks & Regards, Sumalatha DISCLAIMER:This email (including any attachments) is intended for the sole use of the intended recipient

net-snmp WITHOUT DES

2005-10-19 Thread Barry Benowitz
Hi,   When I build a version of 5.1.3.1 net-snmp (cross compiled) The package included DES encryption. However, for compatibility I need to build a version WITHOUT DES. How can this be accomplished.?   Thanks,   Rumpole6   Barry Benowitz Raritan Computer (732) 764 8886 x1362 [EMA

Cross compile in ppc

2005-10-19 Thread Miguel Ángel Álvarez Cabanes
Good evening to you all I am trying to cross-compile the net-snmpd agent (or the mini-agent) to a powerpc system in which I already have openssl, busybox, uclibc, kernel 2.6.10 and a lot of things... I have read all the messages I have found about cross compiling net-snmp, and here are more or le

Re: Hi

2005-10-19 Thread Dave Shield
On Tue, 2005-10-18 at 15:33 +0530, Sumalatha_Nadella wrote: > Can anybody help me out in registering the .c file generated > by the mib module with the snmp agent. Put the C file (and accompanying header file) into the source tree somewhere under 'agent/mibgroup', and run "configure" with the o

Re: Can both scalar and tabular object template create together?

2005-10-19 Thread Dave Shield
On Tue, 2005-10-18 at 09:09 -0400, [EMAIL PROTECTED] wrote: > I want to know how to create template code using mib2c for all the 3 types > of objects in one shot?? mib2c isn't that clever. It takes a single template config, and generates code in that style. It can't handle working with two styles

Re: net-snmp WITHOUT DES

2005-10-19 Thread Dave Shield
On Tue, 2005-10-18 at 10:43 -0400, Barry Benowitz wrote: > When I build a version of 5.1.3.1 net-snmp (cross compiled) > The package included DES encryption. However, for compatibility I > need to build a version WITHOUT DES. How can this be accomplished.? Try configure --without-openssl

Wrong Type (should be Counter64): Counter32: 4278126933

2005-10-19 Thread Turbo Fredriksson
In my perl_persist script, how do I make sure I return a Counter64? The manual only mention 'counter' (which seems to be a Counter32). Tried the obvious 'counter64' but that didn't work - see subject... --- This SF.Net email is sponsored by: Pow

Re: Wrong Type (should be Counter64): Counter32: 4278126933

2005-10-19 Thread Dave Shield
On Wed, 2005-10-19 at 13:08 +0200, Turbo Fredriksson wrote: > In my perl_persist script, how do I make sure I return > a Counter64? You can't :-( > The manual only mention 'counter' (which seems > to be a Counter32). Correct. > Tried the obvious 'counter64' but that > didn't work - see sub

RE: Does anyone know what trap it is ? (Ryan guo)

2005-10-19 Thread Bill Smith
Ryan, The "10" in the last digit means "linux". You have a system on your network (maybe the local system?) that is advertising itself as a NET-SNMP agent on a Linux system. The 0.0.0.0 source address and the 0 second timestamp is telling me it is your local snmpagent advertising to itself. Reg

Apologies to the list!

2005-10-19 Thread Bill Smith
I give my apologies to everyone on this list for reposting the long encoded block from Ryan's message in my reply to him. Have a good day! Regards, Bill Smith --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free c

Re: Binary that installs just the snmp utils

2005-10-19 Thread Thomas Anders
Dave Shield wrote: On Tue, 2005-10-18 at 09:34 -0700, Ravi Malghan wrote: Hi: I want to install UCD-SNMP with just the SNMP utilities (primarily snmpget, snmpwalk) for Solaris 9. [...] 2. if not how do I create one. What do I need to do before I run configure? - unpack (full) source

RE: host.allow entry for example-demon.c and libwrap/tcp_wrappers?

2005-10-19 Thread Dave Hatton
Just to say that I now determined that this works if I specify   snmpd: ALL   in hosts.allow.but not it I use   snmpd: 192.168.1. 127.0.0.1   Can anyone see what I’m doing wrong?    

problem with get/set scalar

2005-10-19 Thread taner memet ali
Hi, i made some template code using mib2c filled the blanks and modified NET-SNMP-EXAMPLES-MIB like this: netSnmpExampleString OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-write STATUS current DESCRIPTION "This is a simple object which merely houses a writable String

RE: Multiple sets in one pdu

2005-10-19 Thread Yong Chen (yongche)
Thanks a lot Dave. But in ChangeLog, it says: Fixes: - the agent should properly handle requests in the right order. (e.g., restrict the agent to processing only one SET at a time) Seems it is opposite to what you said. Also the ordering of varbinds in a SET request may have some sig

Re: Wrong Type (should be Counter64): Counter32: 4278126933

2005-10-19 Thread Turbo Fredriksson
Quoting Dave Shield <[EMAIL PROTECTED]>: > On Wed, 2005-10-19 at 13:08 +0200, Turbo Fredriksson wrote: >> In my perl_persist script, how do I make sure I return >> a Counter64? > > You can't :-( Bummer. In another thread to day (private MIB definition problem) you talked about "using two 32-bit

Re: Cross compile in ppc

2005-10-19 Thread Thomas Anders
Miguel Ángel Álvarez Cabanes wrote: "/home/mac/uSEL/trunk/output/board-lite5200/stage/bin/powerpc-linux-uclibc-ranlib .libs/libnetsnmpagent.a creating libnetsnmpagent.la (cd .libs && rm -f libnetsnmpagent.la && ln -s ../libnetsnmpagent.la libnetsnmpagent.la) /home/mac/uSEL/trunk/output/board-lit

problem with get/set scalar

2005-10-19 Thread taner memet ali
Hi, i solved the problem. I edited the mib include and init headers and the config headers manually and it runs like hell :-) --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, a

RE: Multiple sets in one pdu

2005-10-19 Thread Yong Chen (yongche)
And I've been reading the code, but not finding the "as if simultaneously" processing of SETs. Can you please point me to the code? Appreciate your help, Yong Chen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yong Chen (yongche) Sent: Wednesday, Octo

Hexstring <-> ASCII

2005-10-19 Thread Roy Chan
Hello Everyone, I've been using the snmptrapd utility in UCD-SNMP v4.2.5. The SNMP notifications received is displayed in ASCII string. When using the snmptrapd utility in NET-SNMP v5.1. The SNMP notifications is displayed in Hex String. How can I view the SNMP notifications in ASCII string inst