Re: Trap question: OID for variable from a table

2009-03-05 Thread Dave Shield
2009/3/5 McGowen, Wendy : > So since this is a single indexed table, the vmName would be the last > index, making .118.109.49 acceptable. Plus I've defined it with IMPLIED > (although is that really necessary?): No - it's not necessary. Whether you use implicit or explicit string indexes is totall

RE: Trap question: OID for variable from a table

2009-03-05 Thread McGowen, Wendy
riginal Message- From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Sent: Wednesday, March 04, 2009 3:20 PM To: McGowen, Wendy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Trap question: OID for variable from a table 2009/3/4 McGowen, Wendy : > I haven't done anything

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy : > I haven't done anything with string indices > yet, but it looks like I just have to convert each character in the > string to its ASCII equivalent (for example, "vm1" would be .118.109.49, > correct?). Perhaps. It depends on whether the index is IMPLIED or not.

RE: Trap question: OID for variable from a table

2009-03-04 Thread McGowen, Wendy
correct?). Easy peasy! Thanks Dave!! -Original Message- From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Sent: Wednesday, March 04, 2009 11:03 AM To: McGowen, Wendy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Trap question: OID for variable from a table 2009/3/4 McGowen, Wendy

RE: Trap question: OID for variable from a table

2009-03-04 Thread Sergio Cabaço
Hello, I'm trying to compile a net-snmp agent with authentication and cipher support. I've compiled the openssl for my target and gave the directory to the "--with-openssl=dir". Here's an example: Make openssl ---> ...openssl/include/openssl/*.h ---> ...openssl/lib/*.a Configu

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy : > Do I have to include the index > value in the OID for the vmName object in the trap I believe so, yes. >From RFC 2578: 8.1. Mapping of the OBJECTS clause The OBJECTS clause, which need not be present, defines an ordered sequence of MIB obje

RE: trap question

2004-10-20 Thread Bruce Shaw
>Again they should seriously reward the support on this. No question. So, contact "them" and nominate us. I understand the Nobel is available. The question is, what category? Probably a tossup between "Peace" and "economics". This communication is intended for the use of the recipient to whic

Re: trap question

2004-10-20 Thread Gary Clark
rk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 2004 8:54 AM Subject: Re: trap question > > > I have just found an example. > > > > In /net-snmp/agent/mibgroup/example/notification.c > > > > I will use this code if that

Re: trap question

2004-10-20 Thread Gary Clark
Ahh ''mib2c -c mib2c.notify.conf' would seem to be the magic charm I'm seeking. Much appreciated, Garyc - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Gary Clark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> S

Re: trap question

2004-10-20 Thread Dave Shield
> I have just found an example. > > In /net-snmp/agent/mibgroup/example/notification.c > > I will use this code if thats Ok? Yup - that's a reasonable place to start. Another is to run 'mib2c -c mib2c.notify.conf' on your MIB. But both of these are prima

Re: trap question

2004-10-20 Thread Gary Clark
ROTECTED]> Sent: Wednesday, October 20, 2004 3:31 AM Subject: Re: trap question > > > 4) Pull a link which has an associated MIB oid type of NOTIFICATION_TYPE > > What do you mean by "pull a link" ? > > > > So if I set a value in the NOTIFICATION object

Re: trap question

2004-10-20 Thread Gary Clark
rap generation? My apologies for the confusion. I misunderstood the usage of the NOTIFICATION_TYPE. Much appreciated, Garyc - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Gary Clark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wed

Re: trap question

2004-10-20 Thread Dave Shield
> 4) Pull a link which has an associated MIB oid type of NOTIFICATION_TYPE What do you mean by "pull a link" ? > So if I set a value in the NOTIFICATION object Sorry - that doesn't make sense. NOTIFICATION-TYPE objects don't have values, and you can't SET them. You can specify a NOTIFICATION