09-18-2012
Ping Host Until it is up and email
Thanks alot guys.. BUt i got into another lock now.
When i use the host file for multiple host, the script waits until the first host is up to execute the other ipaddress..
The case here is , i have 10 ipadreses and i want to know whenever the systems comes up..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: -
1 QNX host->Eth->1 SCO host
the SCO host is configured with it's IP
the QNX host is configured with another IP
both in the same domain, ie, 172.20.3.XX... (3 Replies)
Discussion started by: gavon
3 Replies
2. IP Networking
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
3. Shell Programming and Scripting
hello to everyone, i was wondering if you could help me with a script im working on, it's kind of simple but i dont have a lot experience on unix comands: well, here it is:
you might apreciate the infinite while loop :D, it is supossed to be running on the server all day scaning it every 5... (12 Replies)
Discussion started by: sx3v1l_1n51de
12 Replies
4. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
5. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I'm doing one script on Juniper router where you have one FreeBSD Shell:
Is pinging from time to time one ethernet port of othere router and in case of fail is blocking one port entering in CLI and doing some command:
If I run this script all is working perfectly, but if I run in... (1 Reply)
Discussion started by: teigipo
1 Replies
7. Solaris
Hello
I have a server in it.siroe.com
I added it.siroe.com in /etc/resolv.conf.
I still can't ping the server.
any service to restart here?
any other file to edit?
thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies
8. IP Networking
Hi,
I have a weird problem.
when ever I do ping command like for example
ping unix.comI get the following message:
# ping unix.com
ping: unknown host unix.com
but when I use host the computer is able to know the host.
# host unix.com
unix.com has address 81.17.242.186
unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies
9. Shell Programming and Scripting
Hi All,
I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not
PING useipapd01 (172.22.32.87) 56(84) bytes of data.
64... (1 Reply)
Discussion started by: sharsour
1 Replies
10. AIX
Actually. I was getting a ping to remote host failed for one of my etherchannel. When I checked it was in backup adapter and again I use to faileover and brought to primary channel.
But it was again going to backup channel and giving me the alert ping to remotehost failed. When I checked the load... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies
LEARN ABOUT DEBIAN
squidclient
squidclient(1) General Commands Manual squidclient(1)
NAME
squidclient -- a simple HTTP web client
SYNOPSIS
squidclient [-arsv][-A string ][-g count] [-h remote-host] [-H 'string'] [-i IMS] [-I ping-interval] [-j 'Host-header'] [-l local-host] [-m
method] [-p port] [-P file] [-t count] [-T timeout] [-u proxy-user] [-U www-user] [-V version] [-w proxy-password] [-W www-password] url
DESCRIPTION
squidclient is a tool providing a command line interface for retrieving URLs. Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or
proxy. This tool can be combined with scripts to perform any basic HTTP operation. Some additional features for access to the Squid proxy
object cache and management information are provided.
OPTIONS
-a Do NOT include Accept: header.
-A 'string'
Send string as User-Agent: header. To omit the header completely set string to empty ('').
-g count
Ping mode, perform count iterations (0 to loop until interrupted).
-h host
Retrieve URL from cache on hostname. Default is localhost.
-H 'string'
Extra headers to send. Use '
' for new lines.
-i time
If-Modified-Since time (in Epoch seconds).
-I interval
Ping interval in seconds (default 1 second).
-j hosthdr
Host header content
-l host
Specify a local IP address to bind to. Default is none.
-m method
Request method, default is GET. Squid also supports a non-standard method called PURGE. You can use that to purge a specific URL
from the cache. You need to have purge access setup in squid.conf similar to manager access. Here is an example:
acl purge method PURGE
http_access deny purge !localhost
-p port
Port number of cache. Default is 3128.
-P file
PUT request. Using the named file.
-r Force cache to reload URL.
-s Silent. Do not print data to stdout.
-t count
Trace count cache-hops
-T timeout
Timeout value (seconds) for read/write operations.
-u user
Proxy authentication username
-U user
WWW authentication username
-v Verbose. Print outgoing message to stderr.
-w password
Proxy authentication password
-W password
WWW authentication password
-V version
HTTP Version. Use '-' for HTTP/0.9 omitted case
SEE ALSO
cachemgr.cgi(8), squid(8)
AUTHOR
Derived from Harvest. Further developed by by numerous individuals from the internet community. Development is led by Duane Wessels of the
National Laboratory for Applied Network Research and funded by the National Science Foundation.
Squid Web Client Tool squidclient(1)