subagent question

2005-03-09 Thread Vishwanath Kalbagilmath
Hello, Can SNMP subagent written/compiled with net-snmp master agent work with a different SNMP master agent (might be propratery)? tia. -- Vish --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT

get_myaddr()

2005-03-09 Thread Vishwanath Kalbagilmath
Hello All, I am newbie to net-snmp, I have a doubt to be clarified. In function get_myaddr(void), I noticed that if gethostname() fails, an attempt is being made to connect to 128.22.33.11. Can anyone explain me what this actually means. Thanks in adv, Vishwanath

include conf

2005-03-09 Thread Jose Dragone
Hi Is there any way to add different configurations to different hosts in snmpd.conf , as for instance: include roll-1.conf include server-2.conf include database-3.conf And then to point (link) with these include files to NFS or AFS anywhere just to keep different configurations posibilities.

Debugging ipAddrTable

2005-03-09 Thread Gonia Eric - egonia
When trying to walk the ipAddrTable.ipAddrEntry.ipAdEntAddr with debugging turned on I get this in the log file: nlist err: neither ipstat nor _ipstat found. nlist err: neither ipforwarding nor _ipforwarding found. nlist err: neither tcpDefaultTTL nor _tcpDefaultTTL found. nlist err: neither tcpst

Re: Informsink meaning!

2005-03-09 Thread Jude Amal Anand
I have enabled Informsink but i get the SNMPD:send_request() error. WHy is that?? This error doesn't appear if the informsink is commented. Is there any prblem if we comment informsink? If so wat is the problem? On Wed, 9 Mar 2005 12:18:37 -0500, Robert Story <[EMAIL PROTECTED]> wrote: > On T

Re: 5.2.1 Trap Handler causes snmptrapd to exit from broken pipe

2005-03-09 Thread Michael Higgins
Robert Story wrote: On Tue, 08 Mar 2005 17:01:23 -0800 Michael wrote: MH> I added the code to ignore the SIGPIPE signal and found that I also had MH> to remove the close(2) to get to the execv() call that runs the trap MH> handler. That is really odd. I can't think of why a close call would not

Re: Modules not being included

2005-03-09 Thread Robert Story
On Tue, 08 Mar 2005 13:08:44 +0200 Steve wrote: SC> --with-mib-modules="fourD/wifi" SC> SC> The .h file (fourD.h in ../agent/mibgroup) currently contains a single SC> line (in future it should conatin several, but for starters ...) : SC> SC> config_require(fourD/wifi) SC> SC> Un

Re: Problem in setting several octet strings with an only SET PDU

2005-03-09 Thread Robert Story
On Tue, 1 Mar 2005 10:52:08 +0100 Gemma wrote: GS> > I have a new question, if I run the agent with '-Ddumph_recv,dumpv_recv', GS> > where could I see what the agent is actually receiving from the client? GS> > There exists any archive to look? or where are the results dumped? The debug output sh

Re: Informsink meaning!

2005-03-09 Thread Robert Story
On Tue, 01 Mar 2005 14:57:31 +0100 Alexandre wrote: AP> The inform notifications (informsink) are confirmed messages. AP> I would like to know if net-snmp can handle these confirmations and how. Yes, net-snmp handles these. snmptrapd listens for informs, and sends confirmation responses. -- Robe

Re: Net-Snmp with Linux and snmp with Windows

2005-03-09 Thread Robert Story
On Mon, 28 Feb 2005 17:15:36 +0100 (CET) G wrote: GP> I installed net-snmp 5.2.1 on Linux RedHat. Did you use the Redhat rpm, or install from source? GP> I use Solarwinds (NPM) for to see the CPU, Memory, Disk and Interfaces. GP> If I use Solarwinds with windows I see all but if I use Linux RedHa

Re: pass and python - customising 'monitor' targets

2005-03-09 Thread Robert Story
On Tue, 1 Mar 2005 18:10:33 + (GMT) Dave wrote: D> So my python script handles the get() and getnext() by talking back to the D> agent and filtering out unwanted OIDs, then returning the result back to the D> calling agent (snmpd) D> D> This seemed to work fine - and in fact does work fine whe

Re: SNMP - FTP Traffic

2005-03-09 Thread Robert Story
On Wed, 9 Mar 2005 21:22:33 +0530 Senthil wrote: SM> Can i know by what method we can collect the FTP information from the SM> overall network traffic? if you have any experiance with some other SM> traffic informations please share it. That will depend on your OS and tools. One example I could

Re: Wrong agent IP

2005-03-09 Thread Robert Story
On Tue, 1 Mar 2005 13:55:06 +0100 Sophie wrote: SL> I have two network card on my computer and when net-snmp sends traps, SL> it uses the first ip address it finds as the agent adress ( I would SL> like to use another one). SL> I tried to fix this by changing snmpd.conf and setting: SL> agentaddres

Re: the agent cann't send trap, why?

2005-03-09 Thread Robert Story
On Sat, 5 Mar 2005 12:01:24 +0800 xdlhf wrote: X> I have a problem when using traps in 5.2 X> X> but after i start snmpd, the trap can't be sent to 192.168.1.25, This is a known issue with 5.2. Please upgrade to 5.2.1. -- Robert Story; NET-SNMP Junkie Support:

Re: Monitoring Interfaces

2005-03-09 Thread Robert Story
On Wed, 9 Mar 2005 13:43:14 +0200 Chris wrote: CV> >CV> But snmpd doesn't seem to open a port to listen on CV> > CV> >How are you determining that it isn't listening? Are you CV> >running it as root? CV> CV> Yes. netstat -L I'm running as root until I get it up and working before CV> moving it

Re: Doubt on alarms

2005-03-09 Thread Robert Story
On Tue, 1 Mar 2005 12:03:21 -0800 (PST) Mauricio wrote: MR> I was looking at the way alarms work and I have a MR> question: what is the minimum time you can tell a MR> alarm to repeat itself? MR> is it 1 second? Yes. MR> is it posible to go to milliseconds? No, the api is just for seconds. You'd

Re: 5.2.1 Trap Handler causes snmptrapd to exit from broken pipe

2005-03-09 Thread Robert Story
On Tue, 08 Mar 2005 17:01:23 -0800 Michael wrote: MH> I added the code to ignore the SIGPIPE signal and found that I also had MH> to remove the close(2) to get to the execv() call that runs the trap MH> handler. That is really odd. I can't think of why a close call would not return. The only thi

Re: Error: OID not increasing: with proxy

2005-03-09 Thread Robert Story
On Wed, 9 Mar 2005 10:24:43 +0100 MAUGER wrote: MFER> MFER> SNMPv2-MIB::sysServices.0 = INTEGER: 2 MFER> MFER> SNMPv2-MIB::sysServices.0 = INTEGER: 34 MFER> MFER> Error: OID not increasing: SNMPv2-MIB::sysServices.0 MFER> MFER> MFER> MFER> my snmpwalk is

Re: Code Manager Using JAVA?

2005-03-09 Thread Michael Higgins
Jude Amal Anand wrote: Hi all, First of all thanx to all those ppl who take time off their busy schedule to HELP US out. Now i need one favor :-D i have installed net-snmp (Latest) in my R H linux 9 system. I configured the agent. Did all the set up necessary and the TRAP is beautifully received i

RE: I got following queries about net-snmp

2005-03-09 Thread Bruce Shaw
>3. Is it supported on Solaris 8 and 10? I have run it successfully on Solaris 8 and I believe others have had it working on Solaris 10 however you'll need to compile it yourself as I won't have a Solaris 10 machine to produce binaries until next week. This communication is intended for th

Re: SNMP - FTP Traffic

2005-03-09 Thread Senthil Murugan
Hello, Thanks for you response. Can i know by what method we can collect the FTP information from the overall network traffic? if you have any experiance with some other traffic informations please share it. Thanks, Senthil Murugan - Original Message - From: "Robert Story" <[EMAIL PROT

To answer my own question

2005-03-09 Thread Steve Comfort
Hi all, This may be one for the FAQ. After sub-dividing my agent code into a number of modules, I had been struggling to get the compilation to include the modules. The error I was making, I eventually discovered was that in file xyz.c, I was exporting an init function init_fourD_xyz. Looking a

I got following queries about net-snmp

2005-03-09 Thread Vijay Krishna
Title: I got following queries about net-snmp 1.  Is it possible to run net-snmp on Linux? 2.  Can the net-snmp distribution be used for commercial purposes? 3.  Is it supported on Solaris 8 and 10? 4.  Like mib2c, is there some mib compiler for c++ like mib2c++?  Thanking in

Re: Pass no longer working

2005-03-09 Thread Craig Kelley
Robert Story wrote: On Fri, 25 Feb 2005 08:22:04 -0700 Craig wrote: CK> We have these two lines in our snmpd.conf file: CK> CK> # sysDescr CK> pass .1.3.6.1.2.1.1.1 /etc/snmp/ibn_snmp.pl CK> # sysLocation CK> pass .1.3.6.1.2.1.1.6 /etc/snmp/ibn_snmp.pl CK> CK> This worked great with 4.2.5,

creating static executable

2005-03-09 Thread nithya venkatachalam
  dear team, I would like to create a static executable. if I configure with --with-ldflags=-Bstatic I don't get a fully static executable. are there any other ways by which we can do this. please help me in this regard. thanks in advance nithya

RE: public accessible snmp devices?

2005-03-09 Thread Bruce Shaw
>> VR> Just wondering if there are any public accessible (read-only) snmp >> VR> enabled devices that one can access for testing purposes? VR>But wat is test.net-snmp.org ??? Apparently it's a public accessible (read-only) snmp enabled devices that one can access for testing purposes. VR>and why

Re: trap forwarding pb

2005-03-09 Thread Andy Smith
MAUGER Fabien ext ROSI/DPS wrote: Hi, I'd like to forward trap received by my snmptrapd to a remote host. so I wanted to use the "forward" directive in the snmptrapd.conf file, but the it seams that the snmptrapd daemon doesn't know this directive and i don't know why??? moreover "forward" is not p

Code Manager Using JAVA?

2005-03-09 Thread Jude Amal Anand
Hi all, First of all thanx to all those ppl who take time off their busy schedule to HELP US out. Now i need one favor :-D i have installed net-snmp (Latest) in my R H linux 9 system. I configured the agent. Did all the set up necessary and the TRAP is beautifully received in another system. (

Re: loading a MIB file using snmptrapd

2005-03-09 Thread Andy Smith
Hello, snmptrapd -m "MIB-1:MIB-2:MIB-3" or snmptrapd -M "/path/to/mibs" Both of those seem to work unless I am missing something in my config files that make them work. Regards, Andy Seema Gupta wrote: Hi All, From the manual I am not able to understand the how I could give the Mib file name so

Re: Unkonwn Token:master

2005-03-09 Thread Andy Smith
Rustagi, Sandeep (Sandeep) wrote: Hi, I am trying to use net-snmp 5.1.2 or 5.2. I am getting the following error while running "snmpd" /usr/local/share/snmp/snmpd.conf: line 403: Warning: Unknown token: master. NET-SNMP version 5.1.2 Is there a line containing the word "master" in your snmpd.conf f

RE: Monitoring Interfaces

2005-03-09 Thread Chris Visser
>-Original Message- >From: Robert Story [mailto:[EMAIL PROTECTED] >Sent: 08 March 2005 07:38 PM >To: Chris Visser >Cc: net-snmp-users@lists.sourceforge.net >Subject: Re: Monitoring Interfaces > >On Thu, 3 Mar 2005 15:45:36 +0200 Chris wrote: >CV> I've tried just doing a make and make in

Re: Setting Destination Trap Port on windows

2005-03-09 Thread Andy Smith
C Wells wrote: Microsoft loves making snmp difficult. Does anyone know how you can force a windows box to send its traps to a port other than the standard udp 162 ? The services file allows you to change the snmptrap listening port and the snmp port itself, but I can figure out how to make the trap

Re: CISCO MIB question

2005-03-09 Thread Andy Smith
This is not the most in depth doc, but I have found it useful more than once: http://www.cisco.com/warp/public/535/3.html You might also try: http://www.google.com/search?hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=snmp+mib+specification&btnG=Search Regards, Andy Saqib bin Soh

RE: Error: OID not increasing: with proxy

2005-03-09 Thread MAUGER Fabien ext ROSI/DPS
First, your alias for the list address has a trailing '.', which causes my mailserver to reject my replies to you. Please remove it. i ve removed the '.' in the list adress it would be better now. On Fri, 4 Mar 2005 14:32:35 +0100 MAUGER wrote: MFER> I've got an agent which is

RE: Anyone got Traps/Informs working with IPv6?

2005-03-09 Thread Frithiof Jensen (AH/LMD)
Nope - "bracketing" the address does not help. Does net-snmp verify that there is a trap-reciever on the specified address (in my understanding, it should not, but one knever knows). -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: 8. marts 2005 16:41 To: Frithiof J