Registering your own MIB

2007-01-15 Thread Shuaib Siddiqui
Hello, where can i find the details of the routine register_mib() ? thanks! Shuaib -- MSc in Communication Systems I&C Faculty EPFL Switzerland Home page: http://shuaibe.googlepages.com/ - Take Surveys. Earn Cash. Influenc

Re: Registering your own MIB

2007-01-15 Thread Dave Shield
On 15/01/07, Shuaib Siddiqui <[EMAIL PROTECTED]> wrote: > where can i find the details of the routine register_mib() ? The code is mostly in agent/agent_registry.c though it ends up calling 'netsnmp_register_old_api' from agent/helpers/old_api.c But note that this is part of the old v4 modul

Re: problem in sending more than one trap

2007-01-15 Thread Dave Shield
On 03/01/07, payal singla <[EMAIL PROTECTED]> wrote: > We are mainly initializing the session , opening the session, creating pdu, > sending the pdu(trap) n closing the session. > main commands used for the above are: > snmp_open > snmp_pdu_create(SNMP_MSG_TRAP2) > snmp_send > snmp_close > > since

error in netsnmpmibs/subagent.c

2007-01-15 Thread Ingo Franz
Dear NetSnmp, in Function: subagent_register_ping_alarm: if (ss) { if (ss->securityModel != SNMP_DEFAULT_SECMODEL) { DEBUGMSGTL(("agentx/subagent", "unregister existing alarm %d\n", ss->securityModel)); snmp_alar

Re: ask about souce code generated with mib2c .iterate.conf

2007-01-15 Thread Dave Shield
On 05/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > could I know the detail mechnism about this code or how to modify them for > us? That's a somewhat vague question. Could you perhaps give a bit more detail about exactly what you are struggling with? There are basically two bits of the c

Re: snmpset question regarding rlCopy.mib

2007-01-15 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 15/01

Try to receive a GET in a GETNEXT handle

2007-01-15 Thread Matthieu GUILLAUME
Dear all, I have a table with 2 indexes : OCTET-STRING.INTEGER. There is a good behaviour when I receive a GETNEXT. When I receive a GET net-snmp don't transmit the request to the handle : 20070115171024 lecture udp1 Received 53 bytes from UDP: [172.26.225.75]:1053 : 30 33 02 01 00 04

RE: snmpd (5.4) cannot open shared object file

2007-01-15 Thread David Arthur
Thanks for the suggestions...looking into 'ldconfig' now. BTW, my OS is SUSE Linux Enterprise Server 9. I just wonder why I am needing to use this to get to version 5.4 (from 5.3.1). I started with 5.1.3 and removed it using RPM. I then extracted/configured/built everything in 5.3.1 from the sourc

How to install 2 net-snmp in the same machine

2007-01-15 Thread BENAMAR Khalid
hello i want to install 2 net-snmp in the same machine the first will be a sub agent ( for getting private mibs i can't use derective monitor) the second ( to generate trap and using derective monitor ) thanks for your help _ Ten

How to get information on NFS server and file system of HDD

2007-01-15 Thread Galaxy Virus
Hello, I am sorry to bother you again. I log-in the unix workstation remotely and using net-snmp comman, I would like to obtain 1) information on NFS server 2) file system of HDD Which net-snmp command should I use ? regards, galaxy -

How to get information on NFS server and file system of HDD

2007-01-15 Thread Galaxy Virus
Hello, I am sorry to bother you again. I log-in the unix workstation remotely and using net-snmp comman, I would like to obtain 1) information on NFS server 2) file system of HDD Which net-snmp command should I use ? regards, galaxy -

Re: snmpd (5.4) cannot open shared object file

2007-01-15 Thread Daniel Lacey
Ah! Well ldconfig creates a "static" table of libraries. (read the man page, read the man page...) Removing 5.3.1 and remaking it gets you the same version of the libraries (according to ldconfig). You will have the same problem *if* you un-install 5.3.1, run ldconfig to rebuild the *static* l

Re: SET command only works with system (SNMPv2-MIB) objects

2007-01-15 Thread Dave Shield
On 03/01/07, Corral Martínez Andrés <[EMAIL PROTECTED]> wrote: > When I try to do a set command to writable objects not in the > SNMPv2-MIB MIB the command fails. > > It prints the following error: "Reason: (genError) A general failure occurred" What OIDs have you tried this with? Just ifAdminStat

Re: Open Source Graphical Mib Editor

2007-01-15 Thread Deon van der Merwe
Hi Barrie, I do not know of an editor like that. What I do is to use a standard text editor and then verify the result with http://www.mibble.org. On 1/12/07, Barrie Hill <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know of an open source graphical mib editor for Linux or > Windows? > > Chee

Re: host-resources disk usage in bytes

2007-01-15 Thread Deon van der Merwe
Hi Dave, On 1/9/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/01/07, Deon van der Merwe <[EMAIL PROTECTED]> wrote: > > According to net-snmp disk usage percentage is: 78.20% > > Different than df, but df is also strange... > > [EMAIL PROTECTED] df -B4096 > > Filesystem 4K-blocks

Re: snmpset question regarding rlCopy.mib

2007-01-15 Thread Dave Shield
On 11/01/07, Eric Estes <[EMAIL PROTECTED]> wrote: > Is anyone familiar with copying a network switches running configuration to > the startup configuration using rlCopy.mib (Create&Go)? I'm been trying to > get this working for ages and have had no luck. I'm sorry - I'm not familiar with "rlCopy.

Re: How to get information on NFS server and file system of HDD

2007-01-15 Thread Dave Shield
On 14/01/07, Galaxy Virus <[EMAIL PROTECTED]> wrote: > I log-in the unix workstation remotely and > using net-snmp comman, I would like to obtain > > 1) information on NFS server > 2) file system of HDD That's a little bit vague. Exactly what information do you want to find out? Dave --

RE: How to get information on NFS server and file system of HDD

2007-01-15 Thread Bruce Shaw
>I would like to obtain >1) information on NFS server >2) file system of HDD >Which net-snmp command should I use ? Assuming your know your community string (I'm using 'public' as an example) a simple walk of the entire system would give you some hints as to where this information might be di

Re: sending traps from embedded AgentX subagent

2007-01-15 Thread Dave Shield
On 20/12/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > These are the packet dumps I got even after changing the socket through > which the master and sub-agent communicate. Hmmm... Looking back at the previous conversation, you were talking about configuring the Master and subagent

Re: About the SNMP Agent extending, Please Help me, Thanks.

2007-01-15 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 20/12

Re: Regarding agent extension

2007-01-15 Thread Dave Shield
On 21/12/06, noopur tiwari <[EMAIL PROTECTED]> wrote: > i am interested in extending the net-snmp agnet for a >... table in this mibi have used the mib2c utility with > mib2c.iterate.conf file and ... now want that whenever an snmpget > command is issued then value of the OID should be > retrie

Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2007-01-15 Thread Dave Shield
On 22/12/06, jiang jilin <[EMAIL PROTECTED]> wrote: > Program received signal SIGSEGV, Segmentation fault. > 0xb7e95b20 in rsfwTable_handler (handler=0x80a1e60, > reginfo=0x80a1ea0, reqinfo=0x0, requests=0x810ebe0) at rfw/rs.c:361 > 361 > snmp_set_var_typed_integer(request->requestvb, ASN_COUN

To obtain the information about CPU,

2007-01-15 Thread Galaxy Virus
Dear all, To obtain the information about CPU, I followed this tutorial page http://www.net-snmp.org/tutorial/tutorial-5/mrtg/index.html. But there is no example net-snmp command there. I just found graph and MRTG configuration. If I run following command ( which I got from m

SNMPv3 trap configuration question

2007-01-15 Thread kevin lee
Hi I am trying to configure device to generate snmpv3 traps. I use the trapsess directive to define the trap host, however I notice that the traps being sent out do not include authoritative engine ID, engine boots and engine time. I need to manually assign -e option to the trapsess in order to