handling empty structures genrated by mib2c

2006-04-05 Thread amit limaye
Hello, i have written my own mib2c.conf file to generate header files from MIB which lists all traps and the corresponding structure entries for storing data passed with the traps. Here is wht my mib2c.conf files looks like

Perl Scripting with SNMP

2006-04-05 Thread Michael A. Price
Hello All ;-), I am looking for a little direction with this project. We have net-snmp up and running and traps are being sent to it :-). We have snmpd.conf configured to dump the traps to file and it is working. But now, I have been tasked with associating the traps with email alerts or pages.

Re: DISMAN-PING-MIB

2006-04-05 Thread Wes Hardaker
> On Fri, 31 Mar 2006 09:55:24 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> But I believe it was initially developed on Linux, and has Dave> probably never been ported to (or even compiled on) other O/Ss. Dave> You are the first person to ask about it in eighteen months! I've tried to c

Re: Information about snmp

2006-04-05 Thread Wes Hardaker
> On Mon, 27 Mar 2006 06:04:24 +0100 (BST), saritha kuchana <[EMAIL > PROTECTED]> said: saritha> Iam new to snmp. I want to know how to create a snmp saritha> sub-agent conf file. My subagent is ieee802dot11-demon, saritha> Please can tell me how to create the ieee802dot11-demon.conf sari

Re: help: how to run my trap

2006-04-05 Thread Wes Hardaker
> On Sat, 1 Apr 2006 03:52:41 -0500, "michael liu" <[EMAIL PROTECTED]> said: michael> In my code, I used send_easy_trap(SNMP_TRAP_ENTERPREISES, 99) michael> ,which same is the example.c code, but how do I know this michael> trap is sent or received? configure the agent with a destination to s

Re: Problems with recognizing Hex-Strings on 5.3.0.1

2006-04-05 Thread Wes Hardaker
> On Thu, 23 Mar 2006 13:51:58 -0600, [EMAIL PROTECTED] said: Vern> 5.1 returns: Vern> snmpwalk -v 1 -c ctron 10.169.192.10 .1.3.6.1.4.1.9.9.23.1.2.1.1.4 Vern> iso.3.6.1.4.1.9.9.23.1.2.1.1.4.5.1 = Hex-STRING: 0A A9 C0 09 5.1 I think ignored localization information. 5.3.0.1 definitely res

Re: From Where Agent Address´s field is filled

2006-04-05 Thread Wes Hardaker
> On Fri, 24 Mar 2006 14:22:22 +, "Paulo Ricardo" <[EMAIL PROTECTED]> > said: Paulo> But in tems of Solaris, do you know in which archieve this is defined?? yes, but reading the code I'd know ;-) -- Wes Hardaker Sparta, Inc. ---

Re: snmpTargetAddrTable inconsistent values

2006-04-05 Thread Wes Hardaker
> On Fri, 24 Mar 2006 16:02:00 +0530, <[EMAIL PROTECTED]> said: kanakamahesh> But I suddenly noticed with out any changes it is giving kanakamahesh> 1000, 5 as values for snmpTargetAddrTimeout, kanakamahesh> snmpTargetAddrRetryCount attributes for corresponding of kanakamahesh> same trapsess e

Re: How Can I change the ethernet interface SCAN

2006-04-05 Thread Wes Hardaker
> On Wed, 29 Mar 2006 11:17:32 +, "Paulo Ricardo" <[EMAIL PROTECTED]> > said: Paulo> I would like to know How can I change the ethernet interface Paulo> scan?? I don't think you can. -- Wes Hardaker Sparta, Inc. --- This SF.Net

Re: New agent snmp ( ping )

2006-04-05 Thread Wes Hardaker
> On Tue, 4 Apr 2006 11:08:15 -0300, "Wesley Naves de Faria" <[EMAIL > PROTECTED]> said: Wesley> My agent must do a ping in IP ADDRESS and store in a table the "same ip Wesley> address", "time to response" and "packets losts". FYI, you might check out the MIB in the following document:

Bug in vacm_destroyViewEntry?

2006-04-05 Thread Ivanov Oleg
Hello, Is the argument oid *viewSubtree in the function void vacm_destroyViewEntry(const char *viewName, oid *viewSubtree, size_t viewSubtreeLen) a pointer to oid starting with root oid? If so, than we couldn't compare it like this: if (!strcmp(vp->viewName + 1, viewName) && vp->vie