|
From: Enrique T. <enr...@gm...> - 2006-01-29 18:56:45
|
Thank you, Jamie!
29 Jan 2006 10:11:04 +1100, Jamie Cameron <jca...@we...>:
> On Sat, 2006-01-28 at 01:14, Enrique Toledano wrote:
> > Hi, Jamie
> >
> > There have been problems in the download section of the web, and I
> > think last time I downloaded the version not changed. I have it now,
> > but I still have problems.
> > When I use the SNMP-session module, the traps does not include any
> > variable, and they come with OIDs not defined.
> >
> > I think you've used wrong @oids in monitor.pl. Also, the generic trap
> > must be 6 and not 2.
> >
> > I've made a working (but very bad) code to emulate the traps generated
> > by the Net::SNMP in monitor.pl (for snmp version 1):
> >
> > if ($config{'snmp_version'} =3D=3D 1) {
> > local @myoid=3D ( 1,3,6,1,4,1 );
> > local @mytrap=3D ( 1,3,6,1,4,1,10000,1 );
> > $rv =3D $session->trap_request_send(
> > encode_oid(@myoid),
> >
> > encode_ip_address(&to_ipaddress(&get_system_hostname())),
> > encode_int(6), #generic trap
> > encode_int(0),
> > encode_timeticks(0),
> > [encode_oid(@mytrap,1),
> > encode_string($oids[2])]);
> > }
>
> Hi Enrique,
> Thanks for the update .. I clearly wasn't calling that module's API
> properly. The 1.260 release of Webmin will incorporate your changes..
>
> - Jamie
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> -
> Forwarded by the Webmin mailing list at web...@li....n=
et
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
|