Fwd: Couldn't open a master agentx socket to listen on()

2007-04-04 Thread Reza Salehi
Something added to my previous E-mail. Once I add the following command: agentXSocket tcp:localhost:705 I can run snmpd and mysubagent without error but mysubagent it seems not working.( it is not loading nstAgentSubagentObject). Any idea? Thanks, Reza Note: f

Couldn't open a master agentx socket to listen on()

2007-04-04 Thread Reza Salehi
Hi, I am trying to run snmpd as AgentX. Once I add the line " master agentx" into the snmpd.conf and run snmpd in debug mode I get this error : Couldn't open a master agentx socket to listen on(): I appreciate if anybody can help me on this. Regards, Reza

Re: Bizarre MIB translation problems

2007-04-04 Thread Andy Fry
Hi Thomas, snmpget version is 5.3.0.1 CISCO-PROCESS-MIB last updated 20030122Z I'm pretty sure I have everything set up exactly the same on another box and that's working fine but using snmpget version 5.1.2 but the same MIB version. I didn't post the snmptranslate results, but they're pre

Fwd: Re: Agent Implimentation

2007-04-04 Thread Reza Salehi
Thanks for your response. I encountered another weired problem. Before I was able to compile the notification.c example into agent and run it. Now I tried to run it as sub agent.I compile it at sub agent and it compiled without error. Then I tried to remove notification mib from agent.I d

Make install unsuccessful?

2007-04-04 Thread Malladi, Sasikanth
All, I build net-snmp 5.3.1 from source on my solaris 8 box. uname -a SunOS ipns01 5.8 Generic_117350-35 sun4u sparc SUNW,Ultra-250 Solaris Then I ran make install, which seems to have run successfully without any errors. However, I can't get snmpconf to work as the snmpconf-config firle in the d

Re: Agent Implimentation

2007-04-04 Thread Joao Miguel Ferreira
On Wed, 2007-04-04 at 09:34 -0700, Reza Salehi wrote: > Thank you so much Joao for your response. You answer exactly what I > need to know. I think I am going to try Agentx first. I am using C not > perl. I am wonder why the last approach you mentioned is not good? Well, I guess writting and readi

Re: communicate with ME102

2007-04-04 Thread Michael Renner
On Wednesday 04 April 2007 09:53, Thomas Anders wrote: > Michael Renner wrote: > > But while 'ap-mrtg -i 192.168.5.11 -c public -t w' works well, snmpwalk > > won't: snmpwalk -c public -v1 192.168.5.11 > > Timeout: No Response from 192.168.5.11 > > What about just fetching sysDescr.0? well, I got

Re: compilation problem on Linux

2007-04-04 Thread Thomas Anders
Awadhesh Kumar wrote: > /usr/lib/libpopt.so: could not read symbols: File in wrong format [...] > I also used following for buiild purpose > LDFLAGS=-L/usr/lib64 > ../configure Close. Try: env LDFLAGS=-L/usr/lib64 ./configure ... from the top-level source dir. +Thomas -- Thomas Anders

compilation problem on Linux

2007-04-04 Thread Awadhesh Kumar
Hi, I have downloaded the Netsnmp 5.3.1 source code and tried to build it on the Linux machine. I got following error when i use 'make' command followd by ./configure. /usr/lib/libpopt.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [snmpd] Er

RE: Snmpconf issue

2007-04-04 Thread Malladi, Sasikanth
Well, you guessed it right. The folder is empty. Here's a brief overview of the steps that I followed (I could have sworn that I stayed true to the README.solaris instructions). 1. I downloaded the source code installed in ~/net-snmp/net-snmp-5.3.1. 2. I then ran configure as shown below. (It ge

Re: Snmpconf issue

2007-04-04 Thread Dave Shield
On 04/04/07, Malladi, Sasikanth <[EMAIL PROTECTED]> wrote: >> What does >> ls /export/opt/share/snmp/snmpconf-data/ >> display? > > Shows me the three folders: > ls /export/opt/share/snmp/snmpconf-data/ > snmp-data snmpd-data snmptrapd-data Oops. I should really have asked what ls /

RE: Snmpconf issue

2007-04-04 Thread Malladi, Sasikanth
Added more detail. Please see below. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malladi, Sasikanth [CCC-OT_IT] Sent: Wednesday, April 04, 2007 8:39 AM To: Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Snmpconf issue Dave, please s

RE: Snmpconf issue

2007-04-04 Thread Malladi, Sasikanth
Dave, please see below. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, April 04, 2007 4:05 AM To: Malladi, Sasikanth [CCC-OT_IT] Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Snmpconf issue On 03/04/07, Malladi, Sasik

Re: Mib2c with mib2c.mfd.conf

2007-04-04 Thread Thomas Anders
Augusto Salazar wrote: >>> /usr/local/share/snmp//mib2c.mfd.conf:25 contained a line that started >>> with a @ but did not match any mib2c configuration tokens. >>> (maybe missing the trailing @?) [...] > Thanks for the answer, I am working in net-snmp-5.4. It's a bug in 5.4, fixed in SVN Rev 158

Re: Agent Implimentation

2007-04-04 Thread Joao Miguel Ferreira
On Tue, 2007-04-03 at 12:16 -0700, Reza Salehi wrote: > Hi, > > I have a question about implementing a MIB in agent side .Right now > for adding and implementing each MIB I need to compile the agent and > add my code to that. Is there anyway that I can run my code separately > and just refresh so

Re: Mib2c with mib2c.mfd.conf

2007-04-04 Thread Joao Miguel Ferreira
On Wed, 2007-04-04 at 08:47 +0800, Augusto Salazar wrote: > Hi, > > Has abyone been able to use this command with net-snmp for the bridge-mib? > Hello Augusto, I just tried: mib2c dot1dStpPortTable and it seems to work (I've chosen the mfd option !!!) I haven't checked the code but it should

Re: CPU idle refresh time

2007-04-04 Thread Carles Pina i Estany
Hi, On Apr/04/2007, Carles Pina i Estany wrote: > Everything worked fine... but I see that CPU Idle time and other CPU > variables are not updated. Disk usage it is updated (I create some big > files, and disk usage changes) reading the FAQ I see that I should read ssCpuRawIdle two times and:

Re: Agent Implimentation

2007-04-04 Thread Dave Shield
On 03/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > I have a question about implementing a MIB in agent side .Right now for > adding and implementing each MIB I need to compile the agent and add my code > to that. Is there anyway that I can run my code separately and just refresh > some variables

Re: Snmpconf issue

2007-04-04 Thread Dave Shield
On 03/04/07, Malladi, Sasikanth <[EMAIL PROTECTED]> wrote: > All, I have build net-snmp from source on Solaris 8. My build directory > (~/net-snmp/net-snmp-5.3.1) is different from my installation directory > (/export/opt/net-snmp). That's normal. > When I try to run snmpconf, I'm running into i

CPU idle refresh time

2007-04-04 Thread Carles Pina i Estany
Hello, Yesterday I setted up snmpd. I am using a very small and brief configuration, for example: - viewsystemview included .1 agentaddress udp:192.168.1.12 rocommunity test disk / - Everything worked fine... but I see that CPU Idle time and other CPU varia

Re: Disman events and sysName under Solaris 10

2007-04-04 Thread Dave Shield
[Please retain the Cc: to the list. Thanks] On 03/04/07, Ward, Martin <[EMAIL PROTECTED]> wrote: > > Try > >monitor -r 30 -i sysName.0 -o laNames -o laErrMessage > >"laTable" laErrorFlag != 0 > > > > That works fine for 5.4.0 but at the moment we are using the default > 5.0.9

Re: communicate with ME102

2007-04-04 Thread Thomas Anders
Michael Renner wrote: > But while 'ap-mrtg -i 192.168.5.11 -c public -t w' works well, snmpwalk won't: > snmpwalk -c public -v1 192.168.5.11 > Timeout: No Response from 192.168.5.11 What about just fetching sysDescr.0? snmpget -c public -v1 192.168.5.11 1.3.6.1.2.1.1.1.0 snmpget -c public -v2c 1