Apache webserver

Hi All,

Even after deploying apache plugin on the linux server im not able to see Apache related services in checkmk. Please help me to fix this.


The important information is, what output produces the Apache plugin on your host?
If there is normal output, the next question is, is this output also visible inside the agent output?

Hi Andreas,

Agent output is normal and i get Apache related data in agent output too.

This is no plugin related output. It shows only that the agent sees the plugin files.
Please execute the plugin manually and inspect the output.

Hi Andreas,

Im getting 400 Bad request error.

image

Is it possible that there is no status module loaded inside your Apache?

Please let me know how to check that… :frowning:

Hi @priya7793
please have a look at:
https://httpd.apache.org/docs/2.4/mod/mod_status.html

You need to enable the status-module in the apache configuration (httpd.conf). Afterwards the plugin should be able to retrieve data.

regards
Christian

1 Like

Hi Christian,

Even after enabling the status-module in the apache configuration im not able to see the apache services discovered :frowning:

What says the command line output now?

Hi Andreas,

Please find the snip

Hi Andreas,

Its the same error

Then there is no correctly configured apache-status module in your system.
In the link posted by @CFriedrich you find how to configure this module.
You are sure that your Apache is correctly listening on IPv6?
On my systems the IPv6 for localhost is no problem.

You can also check manually with curl http://localhost/server-status if you get some output.

Hi @priya7793

Stupid question: Did you reload/restart apache after enabling the module?

Regards,
Thomas

Hi Thomas,

We did a restart of Apache after we added it

Hi Andreas,

We get the same Bad request as output when we try to access the webpage

Hi Andreas,

https works

https works as a webpage but we dont get the output in the check_mk

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.