Re: Availability of agentx header files.

2005-05-25 Thread Dave Shield
On Tue, 2005-05-24 at 17:33, Robert Story wrote: On Thu, 19 May 2005 16:54:25 +0530 Kurapati wrote: KMG I could not find any of the agentx files in this rpm. KMG (agentx_config.h, protocol.h, etc...) KMG KMG Please let me know, are they part of any other RPM? No, as those are the

Re: NETSNMP newbies,Library Problem.

2005-05-25 Thread Dave Shield
On Tue, 2005-05-24 at 18:00, chinmay bhat wrote: as i have only a single index i am using the function netsnmp_table_dataset_add_index(table_set, ASN_INTEGER); is that ok ? Should be - add_indexes is basically just a loop wrapped round this anyway. Note : it is working fine.. Then it's

Re: Subagent kills Master AgentX after sending 299 traps

2005-05-25 Thread Dave Shield
On Tue, 2005-05-24 at 17:31, Robert Story wrote: On Tue, 24 May 2005 08:42:35 -0700 (PDT) Salsa wrote: SSnmptrapd was indeed running and received S traps until my subagent stopped. Then it said that it S lost connection and tried to ping and reconnect. Was that your subagent that

Re: Master Agent not communicating with sub-agent

2005-05-25 Thread Dave Shield
On Wed, 2005-05-25 at 08:36, Eyal Schneider wrote: a) Trying to get system.sysUpTime.0 works correctly b) snmpwalk on tcpConnTable returns many rows (I don't know what to check there) That's fine - if it returns *anything*, then the access control is probably OK. c) The subagent

Re: Master Agent not communicating with sub-agent

2005-05-25 Thread Dave Shield
Dave Wes - can you recall why the AgentX registration handling uses the Dave 'community' field of the PDU structure? Was it just Shield stupidity Dave again? wassnat me! I don't know. OK - so we'll put it down to a Shield cock-up then. I know that I didn't get to grips with SNMPv3

Re: ASN_IPADDRESS data type

2005-05-25 Thread Victor Yeo
dear sir, once again, thanks for your accurate analysis. One more question, i use mib2c.create-dataset.conf to generate this table. But i dont' know how many rows i will need in compile time. Can i create the table rows in real-time? If the question is asked before, please kindly point me to the

Re: Master Agent not communicating with sub-agent

2005-05-25 Thread Eyal Schneider
OK - now try the same request that Wes suggested - snmpwalk . NET-SNMP-AGENT-MIB::nsModuleTable What are the entries relating to .1.3.6.1.4.1.1331.11.3 ? Do they mention public or not? Dave The public is not mentioned now: ...

Re: ASN_IPADDRESS data type

2005-05-25 Thread Dave Shield
On Wed, 2005-05-25 at 11:30, Victor Yeo wrote: One more question, i use mib2c.create-dataset.conf to generate this table. Can i create the table rows in real-time? Yes. If you register the dataset table using: netsnmp_table_data_set *ds = netsnmp_create_table_data_set(

Re: Fwd: Re: Subagent kills Master AgentX after sending 299 traps

2005-05-25 Thread Dave Shield
On Wed, 2005-05-25 at 15:18, Salsa wrote: Setting ping timeout and running on other machines didn't help either. I didn't really expect it would solve the problem. The idea is to clear away all the extraneous crud so we can clarify what exactly is wrong. I'm giving symptons like: All I know

Snmpv2 traps and perl. Help please

2005-05-25 Thread King, John (Greg) (LMIT-HOU)
If I issue the command below I get a log entry in trap.log snmptrap -v2c -c public 127.0.0.1 '' .1.3.6.1.4.1.311.1.1.3.1.1 If I try this in perl nothing occurs but I get a result return of 1. #!/usr/bin/perl use SNMP; my $desthost = '127.0.0.1'; my $comm = 'public'; my $sess = new

RE: Perl snmp_trap examples?partial success : Found workaround bu t need to understand why this worked

2005-05-25 Thread King, John (Greg) (LMIT-HOU)
Sending a v1 trap with type=inform instead of type=0 fixed it from rewriting 0 to a 6 (actually further trying showed I could put anything other than type=specific for that field to get the results to match what was originally logged). Anyone explain why it changes type=0 to type=6 since that is

Re: array-user snmpbulkwalk worked for a table not entire mib

2005-05-25 Thread [EMAIL PROTECTED]
When setting the non-repeater value to 1 and up, it seemed to avoid the problem. Also, changing the max-repeater to 1. Is changing these values to make a bulkwalk work an acceptable practice? If it is acceptible, any reason why this makes sense would be much appreciated. Thanks again. -

Authentification Traps

2005-05-25 Thread John Adam
Can someone lend some insight into our Authentification Trap issue? We have a device that does not allow us to disable authentification traps. The trap receiver is set to ignor the abundant authentification traps sent. However, we would like to have this function disabled so that the messages

snmp-trap distribution to multiple servers?

2005-05-25 Thread Nick Ellson
Hello All, I am having no luck searching for what I need. I appologize if this has been covered before. I have many devices sending SNMP traps to a Solaris 8 system running Ciscoworks. Most of the devices can only send traps to one IP address. I now have need of 4 devices to get copies of

Re: Persisting MIB table

2005-05-25 Thread Steve S. Law
Thanks for the direction. Some high-level questions: (1)Using those APIs to implement persistence means that data is saved to some .conf file only once and only when the sub-agent is normally terminated? (2)When the sub-agent is restarted, what happens to data in the saved file? Is it deleted,