NMS-6638: Initial revision for AvailabilityMonitor's documentation

http://issues.opennms.org/browse/NMS-6638

Cyrille
Ok, I'll add them.

I wanted to show how simple a service monitor could be

Cyr


On Thu, Jul 17, 2014 at 3:47 PM, mvrueden <notifications@github.com> wrote:

> In
> opennms-doc/guide-admin/src/asciidoc/text/poller/AvailabilityMonitor.adoc:
>
> > +.Monitor specific parameters for the AvailabilityMonitor
> > +[options="header, autowidth"]
> > +|===
> > +| Parameter | Description                                                       | Required | Default value
> > +| `retry`   | Number of attempts to have the isReachable method return _true_.  | optional | `3`
> > +| `timeout` | Timeout for the isReachable method, in milliseconds.              | optional | `3000`
> > +|===
> > +
> > +==== Examples
> > +[source, xml]
> > +
> > +----
> > +<service name="isReachable" interval="300000" user-defined="false" status="on">
> > +</service>
> > +
> > +<monitor service="isReachable" class-name="org.opennms.netmgt.poller.monitors.AvailabilityMonitor"/>
>
> The example should contain a retry or timeout, shouldn't it?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenNMS/opennms/pull/62/files#r15057803>.
>