| 1 | = Server Down Macro = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | A macro to check if a given host/port is open. Supports basic caching with a timeout. |
| 6 | |
| 7 | Before you ask, no it can't support ICMP pings. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for ServerDownMacro are |
| 12 | [report:9?COMPONENT=ServerDownMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=ServerDownMacro&owner=coderanger new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:serverdownmacro here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out ServerDownMacro from [http://trac-hacks.org/svn/serverdownmacro here] using Subversion, or [source:serverdownmacro browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | To enable: |
| 28 | {{{ |
| 29 | #!ini |
| 30 | [components] |
| 31 | serverdownmacro.* = enabled |
| 32 | }}} |
| 33 | |
| 34 | To use: |
| 35 | {{{ |
| 36 | [[ServerDown(host, [port, [timeout]])]] |
| 37 | }}} |
| 38 | |
| 39 | == Recent Changes == |
| 40 | |
| 41 | [[ChangeLog(serverdownmacro, 3)]] |
| 42 | |
| 43 | == Author/Contributors == |
| 44 | |
| 45 | '''Author:''' [wiki:coderanger] [[BR]] |
| 46 | '''Contributors:''' |