Web Site monitoring
-
-
Need comments for HOST_HEADER:REQUEST_URI
REQUEST_URI - is it a required part of request?
can i simple enter an URL? for example: www.netxms.org
(вообще объект типа "Сервис" может существовать самостоятельно, без привязки к какой-то конкретной ноде? вдруг мне понадобилось мониторить интернет-сервер, который мне не пренадлежит... и как Ноду его создавать не хочется)
-
No, you cannot use URL. For monitoring www.netxms.org, ypu should use request like
www.netxms.org:/Service should be bound to node object. If you wish to check remote web server without creating node object, you can just create DCI for ServiceCheck.HTTP parameter on your management server and use normal threshold processing.
Best regards,
VictorP.S. Please use English or post questions in Russian forum. No offence, just reminder

-
-
Hello,
I want to monitor web pages but it doesnt work on my system as you mentioned above... What can be wrong ? :S
I'm really confused...
-
Hi!
How do you monitor - via ServiceCheck.HTTP parameter or by creating network service object? What errors you get?
Best regards,
Victor -
I've tried both of them. I also checked nxget prompt.
Each time I try, NetXMS says services are down so I can't see what's wrong there..
For example please tell me step by step how can i monitor www.google.com ?
Service type, I'm choosing HTTP
Bound to IP address, I choose " Any "At Request/Respone tab, I'm entering
www.google.com
Expected response, I'm entering
^HTTP/1.[01] 200 .*This way it says service is down but NetXMS server machine can resolve www.google.com in browsers. I'm in the office now and I'm behind a firewall but I don't think this will block it.
Please help me

-
OK, now i can monitor web pages via DCI. But again there is a problem...
Web page is working and it's giving me a " 0 " value, so far good.. But when I try to test if it's working correctly it fails... I'm stopping apache service and waiting that if the value changes from 0 to 1,2,3 but no. Everytime I try to test, agent stops working and i can understand it from the last data collection, when i turn on the apache service again, agent starts to work (which i can see from the last data collection again)
This is interesting, any solutions for this ?
-
Finally my problem solved...
This time I uninstalled 0.2.31 agent and installed 0.2.30 agent... And it worked just like you said Victor.
You may consider this as a bug of 0.2.31 agent.
Thanks !
-
Hi!
It's very strange. The only thing that was changed in port checker between 0.2.30 and 0.2.31 is that 0.2.31 has configurable connection timeout. On what platform you run port checker? Maybe it's platform-dependent bug.
Best regards,
Victor -
Hi again,
Platform I use ; Windows 2003 Server Enterprise Edition SP1 32 Bit
-
I have a slight problem with using ServiceCheck.HTTP. I am using 1.0.9 Console and 1.0.9 agent which is installed on a WinXP machine. When I use the following string it works fine
someIP,80,/index.html,someURL,"^HTTP/1\.[01] 200.*"
where someIP is the IP of the someURL. This will actually work correctly and if I change index.html to index2.html I get the correct response. If I use the following string the agent ends unexpectedly.
someIP,80,/index.html,someURL,"^HTTP/1\.[01] 200.*randomWord.*"
where randomWord is located on index.html. I just want to check for a random word located on the webpage. Is the above the wrong syntax?
-
The syntax is correct, so it's looks like a bug. Could you please enable agent crash dump by adding
CreateCrashDumps = yes DumpDirectory = <some writeable directory>to your nxagentd.conf and send generated mdmp and info files to dump-at-netxms.org?
Best regards,
Victor -
Hi all,
Sorry for 'wakeing' this topic up, but I have some problems. First, I don't understand this line:
- For the node object representing your NetXMS server, add the following DCI (source - NetXMS agent)
Is that the web server where my websites to monitor are?
And the second thing is that when I put this line in the parameter field:ServiceCheck.HTTP(server_ip_address,port,uri,host_header,response)
and hit 'Query', nothing happens. Maybe it's because the wrong node, I don't know...
Any help?
Regards,
Edin -
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