How to use net-SNMP-5.4.1 with VLANs

2008-01-07 Thread vishal_nitr
Hi Dave,  When I tried running snmpd while a vlan interface was configured on my pc; the snmpd was crashing by displaying the message like following during initialisationerror on subcontainer 'ia_addr' insert (-1)couldn't map value 0 for ipAddressAddrTypeNET-SNMP version 5.4.1and after this

How to compile with kvm for process name for Solaris 10

2008-01-07 Thread Zhong, Ping
Hi, The /proc/pid/psinfo for oracle 10g contains the following: oracle ora_pmon_edixtst The prCount will only have oracle but not the real process. How can I compile it to pick up the ora_pmon_edixtst? Thanks! Ping, -- IMPORTANT

Re: mib2c-update: unable to merge automatically.

2008-01-07 Thread Paul Herring
On Jan 7, 2008 4:41 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 07/01/2008, Paul Herring <[EMAIL PROTECTED]> wrote: > > I'm starting to get this 'error' cropping up on my files when using > > mib2c-update on my source files (it's previously had no problem > > merging MIB changes into my modifie

Re: mib2c-update: unable to merge automatically.

2008-01-07 Thread Dave Shield
On 07/01/2008, Paul Herring <[EMAIL PROTECTED]> wrote: > I'm starting to get this 'error' cropping up on my files when using > mib2c-update on my source files (it's previously had no problem > merging MIB changes into my modified sources.): What happens if you create a completely new directory, co

Re: Running agent without snmpd.conf

2008-01-07 Thread Dave Shield
On 07/01/2008, Mani, Sathish <[EMAIL PROTECTED]> wrote: > I saw that piece of code before sending the email to you, but it looked > a bit complicated. I was expecting a simpler API. Why? The access control mechanism within SNMP is fairly complex, since it needs to handle two significantly differe

RE: Running agent without snmpd.conf

2008-01-07 Thread Mani, Sathish
Dave, Thanks for the response. I saw that piece of code before sending the email to you, but it looked a bit complicated. I was expecting a simpler API. Anyway, I am creating the snmpd.conf file during runtime and all I have in that file is rwcommunity xyzabc and it works fine. Also, I noticed th

mib2c-update: unable to merge automatically.

2008-01-07 Thread Paul Herring
I'm starting to get this 'error' cropping up on my files when using mib2c-update on my source files (it's previously had no problem merging MIB changes into my modified sources.): ---8< # SNMPD:updating .o files for ndCCUGPRMCGroup export UPDATE_MIB2C_OPTS="-q -I mib2c_config"; \

Re: How to implement tables

2008-01-07 Thread Xuan Pan
Thanks Dave for being so helpful. I have got a working agent that can respond to queries on both Scalars and Tables. I chose iterator helper mainly because my data is stored externally. Then I realized I still need to copy the table data into a linked list locally into the memory so that the intera

Fail to install libraries on target!

2008-01-07 Thread Göran Hillebrink
Hi, I'm trying to cross compile net-snmp 5.4 for cris on a Gentoo 2007.0 system. make works fine but when I do make install I run into problem. libnetsnmp ends up in usr/lib but not libnetsnmpagent, libnetsnmphelpers and libnetsnmpmibs. libnetsnmpagent wants to be relink. libtool: install: wa

Re: SNMPD not responding when a context name is given in the request

2008-01-07 Thread Dave Shield
On 07/01/2008, Pamidipati Suresh-G20238 <[EMAIL PROTECTED]> wrote: > Following are the directives/lines added in snmpd.conf for snmpv3 > configuration. > > # > rwuser user1 noAuthNoPriv 1 > createUser user1 MD5 user123 DES > access mygroup context any noauth

SNMPD not responding when a context name is given in the request

2008-01-07 Thread Pamidipati Suresh-G20238
All, We are using Net-snmp-5.2.2 as Agentx master agent and subagent. I have configured the agent to be SNMPv3 agent and created user, group and access permissions with a non-null context name. But when snmp v3 request is sent with valid username, security level and context name, SNMPD is respond

RE: Enterprise trapquestion/send_v2trap API call

2008-01-07 Thread McGowen, Wendy
Thanks for this suggestion, Dave! I ran smilint against my MIB and - oops! - there were a bunch of v1/v2 errors. I've cleaned the MIB up, and will post it later for review. I have one last section to add, our own network support - TPTB don't want full SNMP support in the product, and they haven't

Problem with 'make install'

2008-01-07 Thread dave.goodman
Hello, I'm trying to install net-snmp (5.4.1) on Solaris 5.8. The 'make test' command runs fine[1], with all the tests coming back 'ok', but when I do the 'make install' command (as root), I get a number of errors returned amongst the successful results... root - dltlsec3> make install >

Re: garbage filters in "DisplayString"

2008-01-07 Thread Dave Shield
On 07/01/2008, johnrembo <[EMAIL PROTECTED]> wrote: > below is a correct output of snmp-agent: > > JUNIPER-FIREWALL-MIB::jnxFWCounterPacketCount. > "Balticum_in"."Balticum_in".counter = Counter64: 5708439665 > but, oid values (representing decimaly indexed ascii symbols) seems to have > some adit

SNMP on a bridge interface

2008-01-07 Thread Mateus Interciso
Hello, is it possible to set up a SNMP server on a bridge interface? I'm getting this error after some time the server start: error getting netmask for interface 1 error on subcontainer 'ia_addr' insert (-1) couldn't map value 0 for ipAddressAddrType error on subcontainer '' insert (-1) Then, the

garbage filters in "DisplayString"

2008-01-07 Thread johnrembo
gentelmen, could somebody please explain the following curiosities i am experiencing with net-snmp (i'm converting oid's to ascii representation, but can not achieve same result as snmp-agend does) below is a correct output of snmp-agent: JUNIPER-FIREWALL-MIB::jnxFWCounterPacketCount. "Baltic

Re: Net-snmp-5.4.1: problem while coding acknowledgement forInform-Request.

2008-01-07 Thread Alain GUENRO
Mike Ayers a écrit : >> Sent: Friday, January 04, 2008 2:08 AM > >> I am coding a manager with net-snmp-5.4.1 >> >> I have a problem to acknowledge an Inform-Request. > > You are aware that net-snmp already comes with a full-featured manager > that can be configured as needed? That this m

Re: perhaps you forgot to load "SNMP::Session"?

2008-01-07 Thread Dave Shield
On 03/01/2008, Alex Moen <[EMAIL PROTECTED]> wrote: > When I try to "manually" install the Perl modules... I run into the following > error when I run "make test": > > Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for > module >NetSNMP::default_store: libcrypto.so.6: ca

Re: Re: cannot find module At line 1 of in exteral windows, but not in localhost of linux

2008-01-07 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 03/01

Re: Running agent without snmpd.conf

2008-01-07 Thread Dave Shield
On 04/01/2008, Mani, Sathish <[EMAIL PROTECTED]> wrote: > I want the users to just change one XML and not touch the snmpd.conf. > 1) Configure the agent not to use conf file >netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, > NETSNMP_DS_LIB_DISABLE_CONFIG_LOAD, 1); > 2) Get the

Re: How to deny access from only some hosts usinf vacm

2008-01-07 Thread Dave Shield
On 07/01/2008, arijit <[EMAIL PROTECTED]> wrote: > However, snmpd.conf does allow as part of com2sec specification ip address of > hosts(subnets) from which to allow accesses in addition to the groupname. > I was wondering, if net-snmp already inplements this, if the other option of > not allowing

Re: Enterprise trapquestion/send_v2trap API call

2008-01-07 Thread Dave Shield
On 04/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: >>> Note that this *notification* can not be converted >>> to v1 format. >> That's not actually true. >> The names aren't important, but you should always define SMIv2 >> notifications with '0' as the penultimate subidentifier. >> This allows SN

Running agent without snmpd.conf

2008-01-07 Thread Mani, Sathish
Hi, I have added some new MIBs to the agent and it is working fine, but I have some issues in using the conf file. I want to give users of my application, the flexibility to configure the agent listen port and "rwcommunity". We are already using an XML file with all the configurable items for our

Re: How to deny access from only some hosts usinf vacm

2008-01-07 Thread arijit
Mike, Thanks a ton for your help! However, snmpd.conf does allow as part of com2sec specification ip address of hosts(subnets) from which to allow accesses in addition to the groupname. I was wondering, if net-snmp already inplements this, if the other option of not allowing access from