Re: Table in a Trap

2005-03-15 Thread Sridhar S
Hi, I think, you cannot have a table as part of OBJECTS definition in NOTIFICATION-TYPE macro (SNMPv2-SMI). Alternate is to list the all table objects in the OBJECTS. Thanks SrIdhar On Tue, 15 Mar 2005 20:21:53 +0100, "[EMAIL PROTECTED] " <[EMAIL PROTECTED]> said: > > Hi all!! > I want to send

need primer on net-snmp security configuration

2005-03-15 Thread Chuck Cottrill
I am getting a timeout response from my mib browser. I downloaded the ireasoning v2.0 mib browser (http://www.ireasoning.com/) for windows, and tried to use it to view my tables. It gives a timeout message. The system mib also gives a timeout message. I have the net-snmp snmpd running, and an a

RE: snmptrapd with Host Resource Mib

2005-03-15 Thread Bruce Shaw
>I have been able to set up the following expression form [sic] the Host Resource Mib. >expression: 1.3.6.1.2.1.25.2.3.1.6. / .1.3.6.1.2.1.25.2.3.1.5. * 100. >This expression works fine and I can validate it with df -k and check it's [sic] results. >What I would like to be able to accomplish

RE: I got following queries about net-snmp

2005-03-15 Thread Vijay Krishna
Title: RE: I got following queries about net-snmp Hi  I am using perl 5.8.6 and installed net-snmp 5.2    When I try to run mib2c on sample MIB definition it complains of SNMP perl module not being installed.  However I have installed net-snmp and then changed to perl sub directory of net-s

RE: I got following queries about net-snmp

2005-03-15 Thread Vijay Krishna
Title: RE: I got following queries about net-snmp How do we attach a sub agent to a master agent? Is their a command for sub agent process to attach to the master? Many thanks vijay - - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - This e-mail and any attachments m

snmptrapd with Host Resource Mib

2005-03-15 Thread John Kokidko
Hello I have been able to set up the following expression form the Host Resource Mib. expression: 1.3.6.1.2.1.25.2.3.1.6. / .1.3.6.1.2.1.25.2.3.1.5. * 100. This expression works fine and I can validate it with df -k and check it's results. What I would like to be able to accomplish is sending

Re: Trying to setup SNMP

2005-03-15 Thread Alex Burger
Hi Timothy. If you are using Linux, you probably need to store the snmpd.conf file in /usr/local/share/snmp/snmpd.conf, not /etc/snmpd.conf. Try running snmpconf. The first thing it will do is tell you where any existing configuration files are. Alex Timothy Horie wrote: I created a /etc/snmpd

Table in a Trap

2005-03-15 Thread [EMAIL PROTECTED]
Hi all!! I want to send in a trap a Table that I have created. I have put in the part of Notification of the MIB, this: lbnLink NOTIFICATION-TYPE STATUScurrent OBJECTS { netSnmpTable } DESCRIPTION "Trap"

Trying to setup SNMP

2005-03-15 Thread Timothy Horie
I created a /etc/snmpd.conf file: # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity testing123 24.6.52.6 But when I try to start snmpd: # snmpd # cat /var/log/snmpd Warning: no access control information conf

Re: snmptrapd executes handler 2 times

2005-03-15 Thread Hugo Caçote
Hi Thomas, > Start the snmptrapd with debug to see what config files it reads in. > Make sure it doesn't read two of them (each of them listing the perl > trap handler). I realy think that snmptrapd is just reading one configuration file /etc/snmp/snmptrapd.conf as you can see in the output bell

RE: Add Host Resources MIb to Agent

2005-03-15 Thread Bruce Shaw
>I have a successful install of Net-Snmp, on Sun Solaris, as an agent. >I would like to use the Host Resources Mib but it does not appear to be >one of the working modules at this time. AFAIK HOST-RESOURCES-MIB is included by default. If you are doing an snmpwalk you may need to include the par

Re: snmptrapd executes handler 2 times

2005-03-15 Thread Hugo Caçote
Hi, No the agent is configured to send just one trap. As you can see from the output of snmptrapd that I show bellow the snmptrapd is just getting 1 time but the perl trap handler gets executed two times: 2005-03-15 16:03:21 2005-03-15 16:03:21 sun.cern.ch [xxx.xxx.xxx.xxx] (via UDP: [xxx.xxx.xx

Add Host Resources MIb to Agent

2005-03-15 Thread John Kokidko
Hi, I have a successful install of Net-Snmp, on Sun Solaris, as an agent. I would like to use the Host Resources Mib but it does not appear to be one of the working modules at this time. All other functions with Net-Snmp work fine. What would be the best procedure to add this mib module, Host Res

Re: Deprecated objects in ifTable

2005-03-15 Thread Sridhar S
Robert, As per your advice I used the netsnmp_column_info structure to indicate valid columns to the agent. Following is my observation. When I make a query from the manager on these invalid columns I am getting 'SNMP_NOSUCHINSTANCE' error, but I am expecting a 'SNMP_NOSUCHOBJECT' error, as thes

Re: snmptrapd executes handler 2 times

2005-03-15 Thread Sridhar S
In any case agent is configured to send two traps ? SrIdhar On Tue, 15 Mar 2005 15:31:29 +0100, "Hugo Caçote" <[EMAIL PROTECTED]> said: > Dear All, > > I'm using snmptrapd with embedded perl turned on. For some reason my > perl trap handler is being executed 2 times for each trap I receive. > >

Re: query

2005-03-15 Thread Sridhar S
Vijay, I hope you are running as snmpd [OPTIONS] localhost:. SrIdhar On Tue, 15 Mar 2005 06:55:43 -0500, "Andy Smith" <[EMAIL PROTECTED]> said: > Vijay Krishna wrote: > > I could run the snmpd agent daemon on port 161, but couldn't do the > > same on some other port, > > > > Got an error mes

snmptrapd executes handler 2 times

2005-03-15 Thread Hugo Caçote
Dear All, I'm using snmptrapd with embedded perl turned on. For some reason my perl trap handler is being executed 2 times for each trap I receive. As someone seen the same behaviour before or knows which is the function in snmptrapd that executes the perl handler. This way I can try to some de

Re: query

2005-03-15 Thread Andy Smith
Vijay Krishna wrote: I could run the snmpd agent daemon on port 161, but couldn't do the same on some other port, Got an error message , server saying that couldn't open that transport endpoint. Are you sure there is nothing else running on the port that you are trying to use? That is the fir