[Check_mk (english)] how to monitor website urls with check_mk

Dear check_mk users,

I am a beginner in check_mk, I succeeded installation process and first basic adding of hosts. But one of the main goal I need to achieve is to be able to monitor webservers (apache and tomcat). I try to add active checks (Check HTTP service), but now I am lost... where to test it, where to see the results? Even after validating the changes, I can not find neither in hosts or services interfaces!

I would be very gratefull if somebody could help me.

Best regards,

Jean-Philippe Richard

···

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Hi Jean-Philippe,

Check HTTP service is the right option to configure rules. Keep in mind
that the rules you create will cause Check_MK to create service check
for matching hosts.

For each host you need to monitor, you need to create a host definition.
Then you'll have to create rules to assign HTTP checks to these hosts.

Regards,

Evy

···

On 27/09/16 15:46, Jean-Philippe Richard wrote:

Dear check_mk users,

I am a beginner in check_mk, I succeeded installation process and first
basic adding of hosts. But one of the main goal I need to achieve is to
be able to monitor webservers (apache and tomcat). I try to add active
checks (Check HTTP service), but now I am lost... where to test it,
where to see the results? Even after validating the changes, I can not
find neither in hosts or services interfaces!

I would be very gratefull if somebody could help me.

Best regards,

Jean-Philippe Richard

---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
Download Free Antivirus Software | Avast 2024 PC Protection

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Hi Jean-Philippe,

You entered your host as envirogrids.net.

In your 'Check HTTP service' rule, you specify that you want a service
to be created for any host that has the tag 'Productive system' selected
in tag group 'Criticality' and is named either 'www.envirogrids.net' or
'129.194.205.14'. Your host 'envirogrids.net' doesn't match either of
them, so no service is created.

You'll have to update your Explicit hosts to match envirogrids.net
(without the www. prefix). Then the service will be created.

If you want 'www.envirogrids.net' to be sent as host header (which I'm
guessing you're trying), you'll need to check box 'Virtual host' in your
rule definition. There you can enter the host header to be sent.

Also notice that the check_http plugin supports a number of arguments.
I'm even surprised that you get an OK response by calling the plugin
without the -H (host) argument.

Regards,

Evy

···

On 28/09/16 08:52, Jean-Philippe Richard wrote:

Dear Evy and Jam,

Thanks a lot for your quick answers.

Please find some screenshots (I hope not too much in weight) of what I did:

I defined already 3 hosts:

I take the example of envirogrids.net for which I wanted to test url.

I created two rules to test url, and in particular one I would like to
see with my host envirogrids.net:

details:

The following command works on command line:

# sudo /opt/omd/versions/1.30/lib/nagios/plugins/check_http
www.envirogrids.net
HTTP OK: HTTP/1.1 200 OK - 33458 bytes in 0.003 second response time
>time=0.002985s;;;0.000000 size=33458B;;;0

But I don't find in the view interfaces hosts neither than services...

What is missing or wrong?

Kind regards,

Jean-Philippe

On 27.09.2016 20:31, Evy Bongers wrote:

Hi Jean-Philippe,

Check HTTP service is the right option to configure rules. Keep in mind
that the rules you create will cause Check_MK to create service check
for matching hosts.

For each host you need to monitor, you need to create a host definition.
Then you'll have to create rules to assign HTTP checks to these hosts.

Regards,

Evy

<Qu’est-ce qu’un malware et comment fonctionne-t-il ? | Avast;
  Aucun malware n’a été trouvé
<Qu’est-ce qu’un malware et comment fonctionne-t-il ? | Avast;