In article <8eednQAOHqeY3lnenZ2dnUVZ_sednZ2d@xxxxxxxxxxx>, zee <Nospam@xxxxxxxxxx> wrote:
>I would like to get a perl, python script that would do the following:
>Tell me when a host from a list of hosts went up or down, such as
>google.com, my default gateway, comcast's mail server etc.
>Log the change in state for any host in the list to the /var/log/messages.
>Basically I want to see when my services are down.
>Does anyone know of some scripts that do this?
Why does it matter to you whether comcast's mail server was up or not,
if you can't -reach- the mail server?
The answer to your question as stated is "No, that cannot be done."
You may wish to rephrase the question.
.
Re: host availability ... >>I would like to get a perl, python script that would do the following: ... >>Tell me when a host from a list of hosts went up or down, ... >>google.com, my default gateway, comcast's mail server etc. ... (comp.security.firewalls)
Re: Why cant this XP machine send email to a particular Yahoo account? ... That doesn't stipulate that you are using one IP address (for the WAN-side of a NAT router) or have separate IP addresses for each of your hosts. ... You might have paid to get two IP addresses from your ISP and are using just a router so each host is seen as having a different IP address. ... If and only if a good status is received from the mail server by the e-mail client then the e-mail client moves that message into the Sent Items folder. ... (microsoft.public.windowsxp.general)
Re: 2 mail servers, 1 domain ... You would do this by assigning each mail server at each ... envelope addreses and header addresses. ... actually used by sendmail for delivery.... delivery of the message to the correct host.... (comp.mail.sendmail)
Re: host availability ... >>>google.com, my default gateway, comcast's mail server etc. ... a host was "up or down". ... If you don't get an answer to a ping request,... happened to reset the interface right then, remote system got trojaned ... (comp.security.firewalls)
Re: connecting via broadband? ... > Ping statistics for 193.252.22.137: ... >> mail server and that it is responsive so you get a mail session ... >> host that responds to 'ping' does NOT mean the server program is ... >> actually running or responsive on that host.... (microsoft.public.outlook.general)