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,
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
-
Stephen - Employee
- Posts: 1030
- Joined: Sun Dec 24, 2017 8:56 pm
- Has thanked: 85 times
- Been thanked: 181 times
Re: Automated method to call POE reboot of given interface p
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
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!”
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!”
3 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests