I'm sorry about my comments of people in SNMPTT mail list. I didn't
mean that they didn't want to help me, but I think that there are less
people writing there, so I apologize If someone felt bad about it.
So if I don't need embedded perl, i'm not in the correct way. You said:

> Err... but "memTotalReal" isn't a notification object.
> This parameter *MUST* be an object defined using
> NOTIFICATION-TYPE. 

So if I want to send a Trap about the memory avaliable in a machine,
what should I do? How do I know what I've got to say?


On Apr 5, 2005 5:53 PM, Dave Shield <[EMAIL PROTECTED]> wrote:
>     [ 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 Tue, 2005-04-05 at 15:50, Miguel Gómez wrote:
> > But what about variable binding? The thing is that I don't know if I
> > need Net-SNMP with embedded perl to translate variables with SNMPTT.
> 
> No - you don't.
> Embedded perl is *ONLY* needed if you're wanting to use perl code within
> the agent itself - e.g. to do fancy things with the config
> files.  It's not required for translating variables.
> 
> 
> > I know that I shouldn't talk about SNMPTT here, but people in
> > SNMPTT mail list don't give me a hand.
> 
> I'm sorry, but I've never used SNMPTT at all.
> So asking me about it is a complete waste of time.
> 
> However, checking the snmptt mail archives, it looks as if
> today is the first time you've asked anything on that list.
> It seems a bit premature to say that they're not prepared
> to help you.  You're asking for assistance for *free*, so
> you need to show a little patience. I'm sure that Alex has
> other calls on his time, and paid employment must take
> precedence.
>   If you want an immediate response, you've got to be
> prepared to pay for it.
> 
> 
> > When I do this:
> > # snmptrap -v 2c -c buzones gestion '' memTotalReal
> 
> Err... but "memTotalReal" isn't a notification object.
> This parameter *MUST* be an object defined using
> NOTIFICATION-TYPE.
> 
> >
> > In gestion's machine (/var/log/syslog) I get (with snmptrapd -On):
> >
> > >Apr  5 16:15:01 gestion snmptrapd[10300]: buzon01 [UDP:
> > [192.168.50.181]:32769]:
> > >Trap , .1.3.6.1.2.1.1.3.0 = Timeticks: (1726737) 4:47:47.37,
> > .1.3.6.1.6.3.1.1.4.1.0 = OID: >.1.3.6.1.4.1.2021.4.5
> >
> > Now, I have to format that Trap, so I have these lines in snmptt.conf:
> >
> > >EVENT memAvailReal .1.3.6.1.4.1.2021.4.6 "Status Events" Normal
> > >FORMAT Total Real Memory avaliable in $A($aA) = $0,$1
> >
> > And I get this in /var/log/snmptt.log:
> >
> > >Tue Apr  5 16:47:08 2005 memAvailReal Normal "Status Events" buzon01
> > - Total Real >Memory avaliable in buzon01(192.168.50.181) = $0,$1
> >
> > There's the problem, variables like $aA, and $A are substituted, but
> > $0 and $1 no. Do you know what's the problem? Thank you for your time
> 
> Nope - never used snmptt in my life.  (Sorry Alex!)
> Try giving the snmptt people a chance to think about your problem.
> 
> Dave
> 
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to