wiki:ServerDownMacro

Check if host/port is open

Notice: This plugin is unmaintained and available for adoption.

Description

This is a macro to check if a given host/port is open. The macro needs to be added to your Trac wiki page, see below for an example. It supports basic caching with a timeout. It does not support ICMP pings.

To use:

[[ServerDown(host, port, timeout)]]

Bugs/Feature Requests

Existing bugs and feature requests for ServerDownMacro are here.

If you have any issues, create a new ticket.

defect

2 / 3

enhancement

0 / 1

Download

Download the zipped source from here.

There is also a version on PyPi.

Source

You can check out ServerDownMacro from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

To enable add the following to your trac.ini file:

[components]
serverdownmacro.* = enabled

Recent Changes

3416 by coderanger on 2008-03-25 06:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
2905 by coderanger on 2007-12-15 10:11:52
Initial add.
2904 by coderanger on 2007-12-15 10:11:18
New hack ServerDownMacro, created by coderanger
(more)

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors:

Last modified 8 years ago Last modified on Sep 22, 2016, 6:27:36 PM