RE: Trap question: OID for variable from a table

2009-03-05 Thread McGowen, Wendy
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 wen...@pivot3.com: I haven't done anything with string indices

Re: Trap question: OID for variable from a table

2009-03-05 Thread Dave Shield
2009/3/5 McGowen, Wendy wen...@pivot3.com: 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

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy wen...@pivot3.com: 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

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 Configure

RE: Trap question: OID for variable from a table

2009-03-04 Thread McGowen, Wendy
!! -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 wen...@pivot3.com

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy wen...@pivot3.com: 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

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

Re: trap question

2004-10-20 Thread Gary Clark
. 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: Wednesday, October 20, 2004 3:31 AM Subject: Re: trap question 4) Pull a link which has

Re: trap question

2004-10-20 Thread Gary Clark
: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 Sorry - that doesn't make sense. NOTIFICATION-TYPE objects don't have values, and you can't SET

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 primarily

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] Sent: Wednesday, October 20, 2004 8:54 AM Subject: Re: trap question

Re: trap question

2004-10-20 Thread Gary Clark
: [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 thats Ok? Yup - that's a reasonable place to start. Another is to run 'mib2c -c

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 which it