+1 for SNMP, or if Net::SSH::Perl didn't help, can you try expect module? Cheers, Shekar
On Wed, Apr 19, 2017 at 1:38 PM, lee <l...@yagibdah.de> wrote: > Duncan Ferguson <duncan.fergu...@opsview.com> writes: > > > If the temperature is available on your switch, can you not enable SNMP > on it and read the specific OID to get the info? Far far easier than > trying to keep an ssh connection open, I think. > > > > I guess this does depend on the switch type and whether the info is > available on the device via SNMP, though. > > Good idea, thanks! I need to check the documentation if there is a way > to use SNMP for this. I guess chances are good because it's a pretty > powerful switch :) > > > (I seem to have become unsubscribed from this list and am trying to > resubscribe.) > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >