[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webmin-l
Subject:    Re: [webmin-l] SNMP on System and Server Status
From:       Enrique Toledano <enrique.toledano () gmail ! com>
Date:       2006-01-29 18:56:36
Message-ID: 82c8ca900601291056t30469d88m () mail ! gmail ! com
[Download RAW message or body]

Thank you, Jamie!


29 Jan 2006 10:11:04 +1100, Jamie Cameron <jcameron@webmin.com>:
> 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'} == 1) {
> >                 local @myoid= ( 1,3,6,1,4,1 );
> >                 local @mytrap= ( 1,3,6,1,4,1,10000,1 );
> >                 $rv = $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 files
> 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=lnk&kid=103432&bid=230486&dat=121642
> -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
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-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic