LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Insert "show interface status" output to a client side web page (https://www.linuxquestions.org/questions/linux-server-73/insert-show-interface-status-output-to-a-client-side-web-page-844665/)

nimnull22 11-16-2010 01:14 PM

Insert "show interface status" output to a client side web page
 
Dear All.

I would like to ask here for advice.

I need to show an output of the command "show interface status" executed on a server side in new window on client side.
In other words: on client side web browser page I would like to have a link which I can click and get output of command "show interface ... status" in a new window.
On web server script has to connect to switch/router, execute this command and send output to client window.
I hope I described my thought well.

So my question is: can anyone suggest my where to look, and, may be explain, what can be better for this purpose? I need a clue, because I have newer done it before.
It should not be snmp, because I want to view many different outputs and snmp wont help me.

Thanks in advance.

szboardstretcher 11-16-2010 01:49 PM

Someone already posted about how to do this with Telnet.

http://www.linuxquestions.org/questi...dothis-421206/

nimnull22 11-16-2010 02:15 PM

Thank you.
But I need something different.

Web server should execute script after my click on a link, which will connect to switch or router, then does a query and its output should be posted to client side.
I need to check some configs from different boxes, so I would like to do it from browser and get answer to browser without security issues.

I need some help, because I do not know what to use for it purpose.

Thanks.


All times are GMT -5. The time now is 12:13 AM.