RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
I think I found something make the previous error disappear. And the cause is on my side. 1. To continue the experiment suggested by Robert I did the following - [EMAIL PROTECTED] ~/jim/Src/net-snmp/agent$ gcc -g -O2 -Dlinux -o .libs/snmpd snm

snmpwalk problem in HPUX platform

2004-08-31 Thread Prakash
Hello All,       I am working on HP-UX platform. I tried the following command and I get 0 variable found.The same command works fine on Linux. What files are referred to display these informations.Are these file available in all platforms.   #  snmpwalk -m ALL -C p -L o -v 1 -c publ

Re: Warning: Unknown token: agentSecName.

2004-08-31 Thread Ernest SO
I found the following error in the log. Warning: Unknown token: agentSecName. how can i fix? thx! - Original Message - From: "Ernest SO" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 11:03 AM Subject: Warning: Unknown token: agentSecName. > I set my co

Warning: Unknown token: agentSecName.

2004-08-31 Thread Ernest SO
I set my community to public and the following sentense. rocommunity public rouser public --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 tod

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
I ran the single step compilation at the agent directory and here is the result. *** [EMAIL PROTECTED] ~/jim/Src/net-snmp/agent$ gcc -g -O2 -Dlinux -o .libs/snmpd snmpd.o -L/usr/home/genie/jim/Src/authutil/ -lauth ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.

read_objid() input

2004-08-31 Thread Pedro Neves
Dear all: I am trying to use the read_objid function with the following input system.sysDescr.0 as explained in the Simple Application example from the tutorial. However, it is not working. It only works if i use the complete oid: 1.3.6.1.2.1.1.1.0 Can someone help me and explain me what am i do

configuring VLANS or multiple variable sets in one SNMP command

2004-08-31 Thread MrD
Hello, I recently found the net-snmp lib and tools and I love them:) Thanks all involved. I've built them from the source on a linux system very easy just one failure for perl doing the test.. Can't load '../blib/arch/auto/NetSNMP/agent/agent.so' for module NetSNMP::agent: /usr/lib/libnetsnmpmibs.s

How to get the Cisco MIB included ??

2004-08-31 Thread Horst Thiveßen
Hello,   I have a debian woody with net-snmp 5. I use the snmpd for receiving traps from differnent network devices e.g. cisco. But the numerical output for the private mib (cisco=.9.x) is not very useful. I want to get literal outputs, so I can read what the reason of the snmp-trap was. So

Re: configuring VLANS or multiple variable sets in one SNMP command

2004-08-31 Thread Users
On Tue, 31 Aug 2004 15:04:31 -0700 (PDT) MrD wrote: M> Can multiple variables be set in differnet modules in M> one snmp set command? Yes. M> I know that mib2c prototypes a function for each M> variable to be set is this the only way snmp set will M> work, one variable or one module at a time? T

Re: configuring VLANS or multiple variable sets in one SNMP command

2004-08-31 Thread Gary Clark
Well I designed a VLAN on one of our routers and it worked. But that is not what this user group is for. The set commands as far as I know access a single oid within your MIB. But you could create your own SET request which would use the individual SET requests? A wee' wrapper. It shouldnt be that

configuring VLANS or multiple variable sets in one SNMP command

2004-08-31 Thread MrD
Hello, Sorry if this posts twice :) I recently found the net-snmp lib and tools and I love them:) Thanks all involved. I've built them from the source on a linux system very easy just one failure for perl doing the test.. Can't load '../blib/arch/auto/NetSNMP/agent/agent.so' for module NetSNMP::ag

RE: snmpconf error

2004-08-31 Thread Bruce Shaw
What are you trying to do? If you're doing a basic setup, it's snmpconf -g basic_setup ie. lowercase g not uppercase G >I am running snmpconf -G coming withnet-snmp-5.1.2-SunOS_5.8_sun4m.tar and got following error. Anyone know how to fix it? >./snmpconf -G >Not enough arguments for mkdir at

Re: Windows Agent

2004-08-31 Thread Users
On Tue, 31 Aug 2004 08:28:59 -0500 Young, wrote: YD> Any way to gain access to the systemStats table with the Windows agent? If it's not included in the build, then it's probably because nobody has written the code to implement the module. So until someone contributes the code, no. -- Robert Sto

Re: Need help in implementing an unusual sub-agent logic

2004-08-31 Thread Users
On Tue, 31 Aug 2004 13:42:40 +05180030 [EMAIL PROTECTED] wrote: VC> Quoting Robert Story <[EMAIL PROTECTED]>: VC> > I got another idea today... use the mib2c.array-user.conf template, but VC> > inject a custom handler right above it that finds the row/value for all VC> > the requests and inserts th

snmpconf error

2004-08-31 Thread Wes Zhang
Hi All, I am running snmpconf -G coming with net-snmp-5.1.2-SunOS_5.8_sun4m.tar and got following error. Anyone know how to fix it? ./snmpconf -G Not enough arguments for mkdir at ./snmpconf line 186, near ""$opts{'I'}")" Not enough arguments for mkdir at ./snmpconf line 201, near ""$home")" Exec

Re: Add a useful utility into agent

2004-08-31 Thread Users
On Tue, 31 Aug 2004 17:02:26 +0800 Jim wrote: JS> 1. The change to the configure command line option (--with-ldflags="-L JS> /usr/home/genie/jim/Src/authutil/" --with-libs=-lauth) failed and created JS> the following message. JS> JS> mv -f .libs/snmpd.lo snmpd.lo JS> /bin/sh ../libtool --mode=

Re: How to get the Cisco MIB included ?

2004-08-31 Thread Users
On Tue, 31 Aug 2004 21:42:09 +0200 Horst wrote: HT> But the numerical output for HT> the private mib (cisco=.9.x) is not very useful. I want to get literal HT> outputs, so I can read what the reason of the snmp-trap was. So I HT> downloaded the Cisco MIB v1 and v2. For several hours I have read the

How to get the Cisco MIB included ?

2004-08-31 Thread Horst Thiveßen
Hello,   I have a debian woody with net-snmp 5. I use the snmpd for receiving traps from differnent network devices e.g. cisco. But the numerical output for the private mib (cisco=.9.x) is not very useful. I want to get literal outputs, so I can read what the reason of the snmp-trap was. So

Re: Saving persistent values *now*

2004-08-31 Thread Gary Clark
> > > 1) Have you built your genertated template OK using mib2c? yes/no > > > > 2) If yes you should see an initialization function being generated. At > the > > end of this function you should add the following: > > > > /* Create the token handler */ > > snmpd_register_config_handler(t

Re: request for information

2004-08-31 Thread Dave Shield
> Question : considering one single CPU, where are physically located the MIBs > data : inside the daemon process or on the disk ? Which MIB data do you mean? The values for some MIB objects will be held within the agent itself. The values for other MIB objects will be retrieved dynamically when

Windows Agent

2004-08-31 Thread Young, Darren
Any way to gain access to the systemStats table with the Windows agent? Darren Young Senior UNIX Administrator University of Chicago Graduate School of Business [EMAIL PROTECTED] Voice: 773-702-0331 --- This SF.Net email is sponsored by BEA We

Re: mailing list suggestion

2004-08-31 Thread Dave Shield
> > Since this list obviously should serve the needs of the majority of list > > members, everyone *please tell the list admin* (not the list, to keep list > > noise low) whether you vote *for* or *against* adding a [net-snmp-users] > > tag to the subject line. Mailto:[EMAIL PROTECTED] . > I'll c

request for information

2004-08-31 Thread Scognamillo Claude
Good morning, I am currently starting practice with snmp and Net-SNMP. At this moment, I have one question. Question : considering one single CPU, where are physically located the MIBs data : inside the daemon process or on the disk ? For example, on a multi-CPU architecture, each CPU share one s

SNMPV3 Help

2004-08-31 Thread Kiran
Title: SNMPV3 Help hello all , I have a problem in configuring V3 users. I have compiled the code with OPENSSL support .I am using UCD_SNMP ver 4.2.3 I adde a user with MD5 authentication it works for me . But when i add a user with SHA authentication and DES encryption the agent w

Re: Newbie question -- snmpwalk

2004-08-31 Thread Dave Shield
> If I set the sysName value I in the snmpd.conf file then > I get that value. > But if I dont set that value from where does the agent > get this information from >From the system's own idea of what it is called. On a Unix-sytle box, this will typically be the result of uname -n or s

Re: Problem while executing snmpwalk

2004-08-31 Thread Dave Shield
> snmpwalk -v 1 -c public localhost UCD-SNMP-MIB::ucdavis.prTable > I donot get any output > But for SNMPv2-MIB::system I get the following output [snip] > What may be the reason ?? How have you configured the agent's access control? See the FAQ entry: I can see the system

Re: snmpd: Time out: no response from localhost

2004-08-31 Thread Dave Shield
Thomas has already pointed you in the direction of the most likely cause of the timeout problem. I'd make just one further observation: > snmpstatus localhost public > > snmpwalk -v 1 192.168.1.1 public > > snmpwalk -v 1 localhost public > > snmpwalk -v 2c localhost public I suggest you get

Error executing mib2c

2004-08-31 Thread Prakash
Hello All,   I have a problem executing mib2c export MIBDIRS=/opt/iexpress/net-snmp/share/snmp/mibs export MIBS=ALL mib2c -c mib2c.old-api.conf UCD-SNMP-MIB::ucdavis  -f outputfile I get the following error   No log handling enabled - turning on stderr loggingUCD-SNMP-MIB: Module not found

Re: snmpd: Time out: no response from localhost

2004-08-31 Thread Thomas Anders
David W. Brown wrote: However, when I try to access the daemon via snmpwalk or snmpstatus I only get the following: Time out: no response from localhost. Have you checked the FAQ entry http://www.net-snmp.org/FAQ.html#Requests_always_seem_to_timeout__and_don_t_give_me_anything_back___Why_ ? +Thoma

snmpd: Time out: no response from localhost

2004-08-31 Thread David W. Brown
Hello SNMP gurus. I have the snmpd daemon running without problems. I am running snmpd with -D but the debugging content in the log file delivers little info or ideas as to what is wrong. However, when I try to access the daemon via snmpwalk or snmpstatus I only get the following: Time out: no r

Problem while executing snmpwalk

2004-08-31 Thread Prakash
Hello All,       I have  a problem while executing snmpwalk        My snmpd.conf file  has the following contents   #  Make sure mountd is runningproc openssl   #  Make sure there are no more than 4 ntalkds running, but 0 is ok too.proc ntalkd 4   #  Make sure at le

Newbie question -- snmpwalk

2004-08-31 Thread Prakash
Hello All,     When  I issue a command like this        snmpwalk -v 1 -c public localhost  SNMPv2-MIB::system.sysName SNMPv2-MIB::sysName.0 = STRING: hostname     If I set the sysName value I  in the snmpd.conf file then I get that

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
With Robert's suggestion, several experiments have been done. 1. The change to the configure command line option (--with-ldflags="-L /usr/home/genie/jim/Src/authutil/" --with-libs=-lauth) failed and created the following message. ***

Re: Need help in implementing an unusual sub-agent logic

2004-08-31 Thread vchauhan
Hi Robert, Thanks for this new suggestion. In fact I have tried a similar solution but using the iterator conf file. The reason why this solution is not the best fit for me is that I cannot afford to populate the table at every request made to read any variable(s) of the table. The overhead of retr

Re: Need help in implementing an unusual sub-agent logic

2004-08-31 Thread Users
On Mon, 30 Aug 2004 02:03:33 -0400 Robert wrote: RS> VSC> Essentially my requirement is that whenever a get, get-next or RS> VSC> get-bulk request is received at my sub-agent, I want to make a RS> VSC> propietary call to my NE to obtain the value for the oid(s). RS> VSC> How can I use any skeleton