entries in bb-services
list Christian Rehberger
Tue, 17 Oct 2006 07:34:39 +0200
Message-Id: <user-3cd26d7f2e83@xymon.invalid>
Hi all,
I want to check the cupsd and tomcat with entries in the bb-services file, but it doesn't works :-(
Who can tell me how the checks works exactly?
For the cupsd I'm using the entry:
[cupsd]
send "GET /printers\r\n"
expect "HTTP/0.9 200 OK"
port 631
The cupsd delivers a wrong answer. What is meant by the send string?
Is it a telnet connection or how can I check the send end expect on the shell?
The tomcat is best checked with the shell command:
wget http://localhost:8080 | grep "200 OK"
Is there a possibility to put something like that in the bb-services file?
Thanks a lot
Chris
--
Christian Rehberger
System Consultant · OCLC PICA GmbH
Grünwalder Weg 28g · 82041 Oberhaching · Germany
t +49-(0)89-61308 333 · f +49-(0)89-61308 399 e user-612b35aa5f4b@xymon.invalid · w http://www.oclcpica.org