LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-16-2010, 01:14 PM   #1
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
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.

Last edited by nimnull22; 11-16-2010 at 01:19 PM.
 
Old 11-16-2010, 01:49 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
Someone already posted about how to do this with Telnet.

http://www.linuxquestions.org/questi...dothis-421206/
 
Old 11-16-2010, 02:15 PM   #3
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Original Poster
Rep: Reputation: 92
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
Java code to implement "wget" to save a web page in linux Kakarot_Rathish Programming 5 03-08-2010 02:02 AM
[SOLVED] how to launch a client side app from a web page? manu-tm Programming 3 12-15-2009 09:02 AM
Extract "itemTitle" from ebay web page DIMonS Programming 6 11-06-2007 06:36 AM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration