Apache-status on Windows server

Hi there,

I’m trying to monitor an apache server installed in windows via apache-status. Perhaps someone can support me with this. Or is there a how-to somewhere?

This is what I have done so far:

  1. In httpd.conf I allready set:
<Location "/server-status">
    SetHandler server-status
    Require host OUR-FIREWALL-IP
</Location>

LoadModule status_module modules/mod_status.so

  1. I copied apache_status.py and apache_status_2.py to C:\ProgramData\checkmk\agent\plugins on the webserver (I’m aware of only one of both is needed, but I don’t know wich).

  2. I copied python-3.4.cab from check_mk to webserver and extracted it to C:\ProgramData\checkmk\modules\python-3.4\

  3. I executed C:\ProgramData\checkmk\agent\modules\python-3.4 && call postinstall.cmd on the webserver.

Current situation:

  • No automatic service discovery
  • enforced services > Apache Status shows:
    [agent] Success, Missing monitoring data for plugins: apache_status**WARN** , execution time 14.9 sec

Thank you very much in advance!

Hello @Christian_D

Unfortunately, I think this plugin only works on Linux distributions, not on Windows. I came here with the same problem :slight_smile:

obraz

And from the agent information:
This check parses the information provided by the Apache status module. If you have enabled that module (on Debian/Ubuntu this is the default), then below the URL /server-status Apache show interesting information like:

Perhaps someone here has created a workaround to gather this detailed information with us or another method than this plugin.

Hi Błażej,

thank you for clarifying!
As listed in the “Agents” column, the plugin seems to be only available for linux :smirk:

This plugin should be pretty system agnostic and might run on Windows with minor modifications. However, it might be necessary to run it with a wrapper. We’ll have a look and might add a paragraph or two to the “Monitoring Windows” article in The Official Checkmk User Guide.

That would be great. Thanks Mattias!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.