Hmmm - I've done what you're doing to some extent with a command datasource (though I actually pulled a page with wget and grepped the page). I believe the IP services just scans to see if the port is open? I haven't seen anything about the send string in any documentation... In fact, I believe that was usually done with the HTTPMonitor Zenpack...

I'd be interested in hearing what people are using those options for (and if they even work or are supposed to work).
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



Digitante wrote:
I'm attempting to use the "IP services" monitoring feature to verify that a web 
server is working.

From the OS page for the server, in the IP Services block, I've gone to the 
"http" service.

In it, I've set the "Send String" field to an HTTP request:


Code:

GET narya.net/STATUS




I set the server to return a plain text message for this URL:


Code:

SERVER IS RUNNING




So this is what I've entered for the "Expect Regex" field (of course this is 
just a literal string, but it should be a valid regex).

I've tested this with telnet. Here's a session:


Code:

samwise:~> telnet 209.135.157.88 80
Trying 209.135.157.88...
Connected to 209.135.157.88.
Escape character is '^]'.
GET narya.net/STATUS
SERVER IS RUNNINGConnection closed by foreign host.
samwise:~>




Which appears correct to me (there's no newline after the text, which is why the 
"Connection closed" message runs into it).

However Zenoss reports a TIMEOUT event when waiting for this URL.

What am I doing wrong?

Also, is there a way to verify the results through Zenoss (a way to force it to 
poll the server right away) so I can test this more effciently? (I have been 
just waiting for my 10 minute cycle time to come around, which is inefficient 
fo testing).
[/code]




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=22394#22394

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to