test for absence of http service
list John D. Alexander
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? John Alexander Network Administrator user-43e31ec8d822@xymon.invalid<mailto:user-43e31ec8d822@xymon.invalid> Feeney Wireless, LLC - PO Box 2549, Eugene, Oregon 97402 (Free) XXX-XXX-XXXX (P) XXX-XXX-XXXX (F) XXX-XXX-XXXX www.feeneywireless.com<http://www.feeneywireless.com/> [FW_Acronym_email]<http://feeneywireless.com/> This email transmission is intended only for the addressee shown above. It may contain information that is privileged, confidential or otherwise protected from disclosure. Any review, dissemination or use of this transmission or its contents by persons other than the addressee is strictly prohibited! If you have received this email transmission in error please notify us immediately.
list Colin Coe
I may be reading the question wrong but why not test for port 80 or 443? CC On Thu, Mar 20, 2014 at 3:18 AM, John D. Alexander <
▸
user-9a0964743c57@xymon.invalid> wrote:
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? *John Alexander* Network Administrator
*user-43e31ec8d822@xymon.invalid <user-43e31ec8d822@xymon.invalid>*
▸
Feeney Wireless, LLC - PO Box 2549, Eugene, Oregon 97402
(Free) XXX-XXX-XXXX (P) XXX-XXX-XXXX (F) XXX-XXX-XXXX*www.feeneywireless.com* <http://www.feeneywireless.com/>; [image: FW_Acronym_email] <http://feeneywireless.com/>;
▸
This email transmission is intended only for the addressee shown above. It
may contain information that is privileged, confidential or otherwise
protected from disclosure. Any review, dissemination or use of this
transmission or its contents by persons other than the addressee is
strictly prohibited! If you have received this email transmission in error
please notify us immediately.
--
RHCE#805007969328369
list Henrik Størner
▸
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