Page 1 of 1

Automated method to call POE reboot of given interface port

Posted: Mon Jun 03, 2024 4:31 pm
by lnnoc
Hello,

We are heavy users of Netonix (well over 100 deployed), and have automated many of our sanity checking and reporting functions using ssh and scripts written around “switch -d”.

What we are missing is the ability to reboot a specific port via the ssh interface, in an automated way. Eg a way to login on ssh and do: configure; interface port 8; poe off; exit; exit; (hit enter); (wait 10s); interface port 8; poe 24V; exit; exit; (hit enter); exit.

Has anyone solved this?
Or are we doomed to writing a (risky) expect script to solve this?
Again, we are trying to automate in ssh the equivalent to the web interface “gear -> Bounce POE” so we can trigger it given specific conditions.

Best,

Re: Automated method to call POE reboot of given interface p

Posted: Mon Jun 03, 2024 6:17 pm
by Stephen
Wouldn't it be simpler to use a watchdog from the web ui? Or are you working on a more complex automation scenario than this?

Re: Automated method to call POE reboot of given interface p

Posted: Tue Jun 11, 2024 9:08 pm
by lnnoc
Thank you Stephen for your message.
Yes we have a more complex automation need - based on environmental triggers we need to force POE to reboot specific equipment.

We found an old post buried deep from 2017 which has seemed to solve this issue. For anyone looking you can do a “cmdline; touch /tmp/poe_override/4 ” which would do a 10 sec POE off, wait and on on port 4 in this case.

Thank you!”