Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need a script to show via browser if the vpn client is running

Status
Not open for further replies.

anonimous

IS-IT--Management
Sep 22, 2003
31
CH
hi

I have cisco vpnclient-linux-3.7.3.A-k9
installed on linux server SuSE 8.2.
This server is also the proxy server
for 300 clients.
So all our users have vpn connection
via proxy and I don't need install
any vpn clients at the workstations.

But sometimes the vpn client is going down,
so I wrote the php script to start it
via browser.
The problem is, that sometimes the remote server goes down
and the vpn client cannot establish connection and user don't know
where the problem is.

I need the second PHP or Perl script to show
in browser if the VPN client is running or not.
So if I am not in the office, users can check it.
I thought, to check the proces:

# ps ax | grep vpnclient | grep -v grep
11153 ? S 0:00 /usr/local/bin/vpnclient

and show via browser:

"VPN Client is up and running"

any idea ?

regards
anonimous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top