notification filtering

2005-09-30 Thread Mark Ellison
Hi, I am looking at the net-snmp-5.2.1.2 distribution to figure out if I can populate the SNMP notification filtering tables and then use these tables to filter outgoing notifications based upon the value of the snmpTrapOID.0 varbind in the outgoing pdu. I see calls to the snmpd_register_con

AW: net-snmp seems to ignore my AgentX subagent

2005-09-30 Thread Daniel Gudlat
Dave Shield wrote: > My immediate suspicion would be the access control settings. > I suspect that the master agent isn't configured to allow > access to the enterprises.1919 subtree. That would result > in the master agent rejecting the request without troubling > the subagent. > > Check the acce

Re: net-snmp seems to ignore my AgentX subagent

2005-09-30 Thread Dave Shield
On Fri, 2005-09-30 at 15:40 +0200, Daniel Gudlat wrote: > things seem to work just fine until it becomes time to query any value > in the subtree registered for the subagent. The answer from snmpd will > invariably be "noSuchName", without even consulting the subagent. > > Here is a transcript of

net-snmp seems to ignore my AgentX subagent

2005-09-30 Thread Daniel Gudlat
Hello, I'm at the end of my wits regarding net-snmp 5.2.1 configured as an AgentX master and my own java-based AgentX subagent, both running under Suse 9.3. Snmpd is configured to use port 705/udp for AgentX communication (but the behaviour is the same when using 705/tcp), and things seem to work

Could not format log-string

2005-09-30 Thread thomas
When logging the traps i receive, i get following in my logfile: Could not format log-string Could not format log-string Could not format log-string What does this mean?, and how can i fix it ? ///Thomas --- This SF.Net email is sponsored

Fw: Could not format log-string

2005-09-30 Thread thomas
When logging the traps i receive, i get following in my logfile: Could not format log-string Could not format log-string Could not format log-string What does this mean?, and how can i fix it ? ///Thomas --- This SF.Net email is spon

Re: tracking disk usage

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 18:35 -0700, Dan Stromberg wrote: > Are there any free programs available that will query netsnmp for the > various "storage" items in an snmpwalk (what's the technical term for > those things?) MIB objects > periodically, give graphs of disk usage over time, There are sev

Re: SNMPv1 problem

2005-09-30 Thread Dave Shield
On Thu, 2005-09-01 at 18:24 -0400, Changchun Zhao wrote: > on trap receiver, the linkUp trap shows some SNMPv2 mib when I'm > sending SNMPv1 trap. I don't know if that's right. That's fine. Despite the name of the MIB, SNMPv2-SMI isn't really anything to do with SNMPv2 as opposed to SNMPv1. It'

Re: snmpd loading with mibs not from the difault libraries

2005-09-30 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 Wed,

Re: reconfig fails

2005-09-30 Thread Dave Shield
On Fri, 2005-09-23 at 09:23 +0100, Sperlich, Klaus wrote: > /home/snmpd.conf: line 10: Error: bad security model > , should be: v1, v2c or usm or a registered security plugin name And what is line 10 of that file? Dave --- This SF.Net email i

Re: Please help

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 11:39 -0700, Tuan Nguyen wrote: > here is what I did and I got error in return. > > snmpwalk -c public -v 1 -Oqs -m all 10.XX.XX.XX You got "an error" in return. Any particular error? Would you care to share that information with the rest of us? It is *very* difficult to h

RE: how can I make the net-snmp do a operation use a variable nameinstead of an oid?

2005-09-30 Thread Dave Shield
On Mon, 2005-09-26 at 08:46 +0800, Ying Wang(CD) wrote: > The error does not occur in every table just in one table with string-string > index. > And, I doubted the problem is in my MIB, but, so far, I have not found any > abnormity. The problem is most likely in the code to implement your MIB

Iterate option is unable to retreive the first index column value s.

2005-09-30 Thread Rohini V
Hi There exists a table with 2 indices. Totally the table posseses 5 columns, out of which first 2 columns are indexes. I am using a structure to retrieve these 2 indexes. The structure is declared as : /* * This structure has a specific purpose. * Used only with tables which have 2 indexes.