LantanaCom
IS-IT--Management
Alright, First I am a Newbie at C++ and Furthurmore Java, I have basic Knowlege of C++ and HTML only.
I am using ASP, Pages Currently.
I am creating an internal Web Page for the company I work for, The "Page" I am now working on now, is my "IT" Page, which I have a list of Servers, Switches, Routers and Other.
For Each Switch/Router/Server I want to be able to execute ping command, This can run on server side or client side (Using all Windows enviroment and is only being used for our company internaly). I would love for this to run within the webpage but I have read where this isnt possible.
My Template,(I would like for each table in its own .htm)
Table1.htm
col1,col2,col3
Server1,pingCheckbox,runRDP
Server2,pingCheckbox,runRDP
Server3,pingCheckbox,runDRP
,pingSubmit,
,pingAllSubmit,
Table2.htm
col1,col2,col3,col4
Switch1,pingCheckbox,runTelnet,hrefHTTP
Switch2,pingCheckbox,runTelnet,hrefHTTP
Switch3,pingCheckbox,runTelnet,hrefHTTP
,pingSubmit,,
,pingAllSubmit,,
Table3.htm
col1,col2,col3,col4
Router1,pingCheckbox,runTelnet,hrefHTTP
Router2,pingCheckbox,runTelnet,hrefHTTP
Router3,pingCheckbox,runTelnet,hrefHTTP
,pingSubmit,,
,pingAllSubmit,,
//Ping Everything that is checked in each table
PingMaster.htm (Or Main ASP Page?)
Table1
Table2
Table3
pingMasterSubmit
So above is what I would like, I am open to ideas or sagestions, I have it in a table format beacuse for Routers/Switch/Other I have other options I would like to perform like, HTTP or Telnet. Servers I want to be able to RDP to.
Currently I have links setup to a read-only FTP site executing "Bat". When ever I execute the link everything works great other than I have to hit run everytime and then it downloads it to temp folder on PC. I am trying to keep most of it WebBassed to keep from uneeded files on PC building up.
So what I need to know is,
How I can make a function or Bat execute without haveing to hit "run" everytime.
For my runTelnet and runRDP I want these to be per device functions only using "buttons".
For my pingCheckbox I want these to be a "checkbox" for each device, but I only want it to execute once you hit ,pingSubmit, for the given table or pingMasterSubmit
My goal here is to open Multiple Command Prompt Windows while doing a ping for each device in their own Window. So "Check Boxes" for the following (Router1,Switch1,Switch2,Server1) then hit pingMasterSubmit and it will open 4 CMD Windows and ping those checked devices, or hit pingSubmit for each table and it will on open windows and ping the devices checked for that table.
Here is example of my batch file that I use to ping multiple at one time in different Windows.
start cmd /k PING -t 172.16.101.225
start cmd /k PING -t 172.16.101.227
start cmd /k PING -t 172.16.101.228
Not any way do I think I know what I am doing so please dont hesatate to correct anything I am trying to do or put me straight I am trying to make everything as clear as possible. With any given information above, I should be able to figure out most of everyhting else on my own, I am just having a hard time for a checkbox to execute.
Thanks,
Jarret
I am using ASP, Pages Currently.
I am creating an internal Web Page for the company I work for, The "Page" I am now working on now, is my "IT" Page, which I have a list of Servers, Switches, Routers and Other.
For Each Switch/Router/Server I want to be able to execute ping command, This can run on server side or client side (Using all Windows enviroment and is only being used for our company internaly). I would love for this to run within the webpage but I have read where this isnt possible.
My Template,(I would like for each table in its own .htm)
Table1.htm
col1,col2,col3
Server1,pingCheckbox,runRDP
Server2,pingCheckbox,runRDP
Server3,pingCheckbox,runDRP
,pingSubmit,
,pingAllSubmit,
Table2.htm
col1,col2,col3,col4
Switch1,pingCheckbox,runTelnet,hrefHTTP
Switch2,pingCheckbox,runTelnet,hrefHTTP
Switch3,pingCheckbox,runTelnet,hrefHTTP
,pingSubmit,,
,pingAllSubmit,,
Table3.htm
col1,col2,col3,col4
Router1,pingCheckbox,runTelnet,hrefHTTP
Router2,pingCheckbox,runTelnet,hrefHTTP
Router3,pingCheckbox,runTelnet,hrefHTTP
,pingSubmit,,
,pingAllSubmit,,
//Ping Everything that is checked in each table
PingMaster.htm (Or Main ASP Page?)
Table1
Table2
Table3
pingMasterSubmit
So above is what I would like, I am open to ideas or sagestions, I have it in a table format beacuse for Routers/Switch/Other I have other options I would like to perform like, HTTP or Telnet. Servers I want to be able to RDP to.
Currently I have links setup to a read-only FTP site executing "Bat". When ever I execute the link everything works great other than I have to hit run everytime and then it downloads it to temp folder on PC. I am trying to keep most of it WebBassed to keep from uneeded files on PC building up.
So what I need to know is,
How I can make a function or Bat execute without haveing to hit "run" everytime.
For my runTelnet and runRDP I want these to be per device functions only using "buttons".
For my pingCheckbox I want these to be a "checkbox" for each device, but I only want it to execute once you hit ,pingSubmit, for the given table or pingMasterSubmit
My goal here is to open Multiple Command Prompt Windows while doing a ping for each device in their own Window. So "Check Boxes" for the following (Router1,Switch1,Switch2,Server1) then hit pingMasterSubmit and it will open 4 CMD Windows and ping those checked devices, or hit pingSubmit for each table and it will on open windows and ping the devices checked for that table.
Here is example of my batch file that I use to ping multiple at one time in different Windows.
start cmd /k PING -t 172.16.101.225
start cmd /k PING -t 172.16.101.227
start cmd /k PING -t 172.16.101.228
Not any way do I think I know what I am doing so please dont hesatate to correct anything I am trying to do or put me straight I am trying to make everything as clear as possible. With any given information above, I should be able to figure out most of everyhting else on my own, I am just having a hard time for a checkbox to execute.
Thanks,
Jarret