Automated method to call POE reboot of given interface port

lnnoc
Member
 
Posts: 3
Joined: Sat Oct 03, 2020 10:51 am
Has thanked: 0 time
Been thanked: 0 time

Automated method to call POE reboot of given interface port

Mon Jun 03, 2024 4:31 pm

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,

User avatar
Stephen
Employee
Employee
 
Posts: 1034
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 182 times

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

Mon Jun 03, 2024 6:17 pm

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?

lnnoc
Member
 
Posts: 3
Joined: Sat Oct 03, 2020 10:51 am
Has thanked: 0 time
Been thanked: 0 time

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

Tue Jun 11, 2024 9:08 pm

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!”

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 37 guests