[Xymon] test for absence of http service
Henrik Størner
henrik at hswn.dk
Thu Mar 20 06:46:54 CET 2014
Den 19-03-2014 20:18, John D. Alexander skrev:
> I would like to test for the absence of the http service on a system and
> alert if it responds to http.
>
> This is easy with most of the other network tests using a negation
> (!). Ideas?
Tests beginning with "http" in hosts.cfg are assumed to be web tests, so
what you can do is to define another test for just port 80 in
protocols.cfg, e.g.
[web]
port 80
and then in hosts.cfg you'll have
10.0.0.1 myhost # !web
Regards,
Henrik
More information about the Xymon
mailing list