Re: Writing Agent Vs sub-agent

2004-07-26 Thread Manuel Mall
I was recently confronted with the same problem and tried a few different approaches. I am sure there is no "one single right way" to do it. But here is a summary of my experience. Environment: RedHat 9, NetSNMP 5.1.1 I didn't want to directly modify the agent code at all or to have to build a cu

RE: Writing Agent Vs sub-agent

2004-07-26 Thread Kurapati M-G19456
1. What's the advantage of writing a sub-agent rather than a SNMP agent? What's the recommended way? To share the load of the SNMP Agent. To make the system scalable without changing the code of the Agent 2. If written a sub-agent, then how do agent and sub-agent communicate? SMUX/AGE

Newbie SNMP question

2004-07-26 Thread Richard Thornton
Hi Firstly what a great piece of work net-snmp is. Secondly please help I know this has been asked before and the answers usually have been, "yes, with a bit of work" or "read the proxy section of the snmpd.conf" I have read it. I have seen postings answered by Dave Shield, Wes Hardaker and

Re: How to debug the agent

2004-07-26 Thread hoil oh
Hi! "./snmpd -D " option is debugging mode. if you look at /var/log/snmpd.log, you will see the debug message. --- Original Message --- Sender : [EMAIL PROTECTED]<[EMAIL PROTECTED]> Date : 2004-07-26 22:27 Title : How to debug the agent I've integrated my MIB with the net-snmp

Version 9 and linux red hat installation problem

2004-07-26 Thread Gary Clark
Hello, Reinstalled linux red hat version 9. Then promptly grabbed the net-snmp-5.1.1.rh9.i686.rpm. I then performed the magic: >rpm -i net-snmp-5.1.1.rh9.i686.rpm to get the below: perl (Tk) is needed by net-snmp-5.1.1 I then grabbed the package Tk800-804.027.tar.gz. Performed the necessary g

UCD-SNMP-MIB Question

2004-07-26 Thread Troy Bifulco
Title: Message Hi Everyone,       Thanks for your time I am having problems polling ram on a SUSE 8.1 Enterprise Linux box.  I believe that I have net-snmp configured correctly.  I am currently using mrtg to poll cpu, and that works great.  I am running net-snmp version 5.1.1   However when

Re: How to debug the agent

2004-07-26 Thread Giorgio Nunzi
Hi, the easiest way is to launch the agent with this syntax: snmpd -f -L -DALL -f: don't go back to shell (easier to stop it with ctrl-c). -L: print messagges to the stdout (otherwise they go to /var/log/snmpd.log. I guess to you can change this with the configure script). -D: select the scope of

Writing Agent Vs sub-agent

2004-07-26 Thread PMM
Hi All, Just a simple query: 1. What's the advantage of writing a sub-agent rather than a SNMP agent? What's the recommended way? 2. If written a sub-agent, then how do agent and sub-agent communicate? Regards, PMM --- This SF.Net email is

How to debug the agent

2004-07-26 Thread haris_here
I've integrated my MIB with the net-snmp agent, and it was working properly. After some recent additions to my application, the agent spills out an error of "No Such Object available on this agent", for an 'snmpwalk'. I'd like to debug the agent, and reach the problem. Does the net-snmp agent

Re: installation problem

2004-07-26 Thread Doug McPherson
Per earlier (personal) reply and my other post to this list: This is the precise symptom I got when building from a directory with spaces in the path. Is "/home/rasit/Snmp/All" the real directory, or is it something else, like "home/rasit/Snmp/All modules" ? Try cd-ing to the directy and *ma

Re: few more questions related to SNMPv3

2004-07-26 Thread Narinder Soni
Thanks Dave. I have one more question - If I try to access UCD-SNMP-4.2.5 agent v3 with any other 3rd party SNMP Manager then it is required to mention the EngineId of agent into the configuration files of some of these SNMP Managers. Where do I find the value of EngineId of agent? Please note tha

Re: Perl Problems - make test

2004-07-26 Thread Dave Shield
> As it happens, there are nine separate postings to the users > list that reference the string "PerlIO_fprintf" and dating from > April 2003 up to the my posting just a few days ago. Which version of the code are you using? The use of the 'PerlIO_fprintf' call was removed some time before the 5.1

Re: WRB - Problems compiling a .c produced by mib2c.

2004-07-26 Thread Dave Shield
> gcc -g -O2 -Dlinux -x c ieee802dot11_oldapi.c > > I get errors having this form: > > var_ieee802dot11 undeclared here (not in a function) > initialiser element is not constant > (near initialisation for 'ieee802dot11_variables[0].findVar') And what does the relevant code look like? > What

Once again: disman problem ?

2004-07-26 Thread gerd . bavendiek
Hi, a few months ago Joel Parker described a problem with 5.1.1 on Linux. He was getting invalid traps with mteHotValue set to 0 and without an ErrMessage. You may see the posting at http://sourceforge.net/mailarchive/message.php?msg_id=8111760 The other day I ran into the very same problem using