Using Network Service to check if Webservcer is running
-
Hi Im relatively new to NetXMS.
I just recently installed and configured the agent and server.
It is a setup where i have server and agent on the same physical machine.
I wanted to setup a network service monitoring for Webserver (Apache) on port 80.
But somehow im failing to succeed. I have read all those previous topics with similar issues of people wanting to check their webserver sercvice like forgotting to load SubAgent = portcheck.nsm Im using Request:HOST_HEADER:http://www.yourdomain.comAnd expecting Response:
^HTTP/1\.[01] 200.*I have specified Poller node to the one and only (since server and agent are one and the same machine) and required poll count to 1.
I have also read in a differrent topic that it is not possible to read a debug output what the service is getting.
Any ideas?Shall i just set the Network Service to port 80?
Leave it as user defined?
Leave Request and Response fields empty?
Im not quite sure how the network service check works internally if the service being checked is on the same machine than agent and server.
Any help is appreciated!Thank you
Edit: I have tried to set up for agent configuration file MasterServer to 127.0.0.1 only and it seems i have made couple of things even worse?
-
Hi,
try to set it up how is detailed in the attached snapshot. No particular subagent to load.
Best regards,
Marco

-
-
@flanky said in Using Network Service to check if Webservcer is running:
Marco unfortunatelly your suggestion didn't work... Perhaps i have configured something in a wrong way?
That is the way I use to monitor my web server! I'm using it since a lot of time, I don't remember any other steps to do, I'm sorry!
Best regards,
Marco
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login