Depending upon how vendor implemented SNMP part for their device, other
than standard OID's such as sysUptime , will have custom MIB files.
You should try visiting their website for downloading required MIB file for
your switch.
Then import them with -m or put it under snmp path to get its OID's working.

Cheers,
Shekar

On Thu, Apr 20, 2017 at 7:42 AM, lee <l...@yagibdah.de> wrote:

> lee <l...@yagibdah.de> writes:
>
> > Shekar <c.shekar1...@gmail.com> writes:
> >
> >> +1 for SNMP, or if Net::SSH::Perl didn't help, can you  try expect
> module?
> >
> > Thanks!  'Expect' isn't available as Gentoo package, so I skipped it.
> >
> > SNMP is probably better, so I need to learn about that first and see if
> > I can use it.  I guess it's time to learn about SNMP anyway :)
>
> Ok, I got this far:
>
>
> snmpget -v 3 -u lee h3c .1.3.6.1.2.1.1.3.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1081149678) 125 days,
> 3:11:36.78
>
>
> Any idea how to get the temperature reading?
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to