Chris77  Freshman Member

Comments

  • Hi @Zyxel_Melen, The libssh I use runs fine. Several projects run without problems. The problem must be something else. I suspect that the switch only supports "interactive" ssh sessions. If I enter the following command in git-bash: ssh admin@192.168.0.10 show pwr orssh admin@192.168.0.10 "show pwr" I get the following…
  • Hi @Zyxel_Adam, I am now trying to read out the power consumption via ssh. Unfortunately, the next problems have occurred. If I guess it right, my switch supports only the "interactive" ssh mode. Is that correct? When I connect to Putty and type the "show pwr" command, I get the POE information I need. As soon as I do that…
  • Hi @Melen, in my program, when I send a command, I get an unknown error from the libssh. This only happens with a Zyxel switch. Other switches work fine.If I start a session via PuTTY and send the command, everything works.
  • Hi @Zyxel_Adam, this OID .1.3.6.1.2.1.105.1.3.1.1.4.1 works. The value I get is 3: But what is this value 3 now? Otherwise the following values are displayed by the switch: Is this value 3 from the OID a rounded "Consuming Power (W)"? So 3.1 is 3 here?
  • Hi @Zyxel_Adam, then I must be doing something wrong: OK, I found it. OID is ".1.3.6.1.2.1.105.1.3.1.1.4.1". Unfortunately, I can't do that much with it. The value I get is 3 and the data looks like this:
  • Hi @Zyxel_Adam, unfortunately the OID .1.3.6.1.2.1.105.1.3.1.1.4 does not work for me. The answer is: " No Such Instance". My firmware is: "V4.70(ABQF.1) | 11/25/2021".
Default Avatar