Hi all,
I am fairly new to this.
What I am trying to do: Monitor performance indicators of my Apache web
server
What I have done so far:
1. Installed the check_mk agent on the server checktest
gdebi check-mk-agent_1.6.0p5-1_all.deb
2. Installed the plugin apache_status to the agent on the server checktest
hsadmin@checktest:~$ cat /usr/lib/check_mk_agent/plugins/apache_status
...
3. enabled the module server-status
hsadmin@checktest:/etc/apache2/mods-enabled$ cat status.conf
<IfModule mod_status.c>
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the "192.0.2.0/24" to allow access from other
hosts.
<Location /server\-status>
SetHandler server\-status
Require local
\#Require ip 192\.0\.2\.0/24
</Location>
\# Keep track of extended status information for each request
ExtendedStatus On
\# Determine if mod\_status displays the first 63 characters of a
request or
# the last 63, assuming the request itself is greater than 63 chars.
# Default: Off
#SeeRequestTail On
<IfModule mod\_proxy\.c>
\# Show Proxy LoadBalancer status in mod\_status
ProxyStatus On
</IfModule>
</IfModule>
4. added a Python dict list for protocoll, servername and port
hsadmin@checktest:/etc/apache2/mods-enabled$ cat
/etc/check_mk/apache_status.cfg
dictList = [{'protocol':'tcp','servername':'checkmk','port':'80'}]
5. reloaded and restarted the apache service
77 systemctl reload apache2.service
78 systemctl restart apache2.service
6. run a bulk discovery on the checl_mk server via the web interface
The service apache_status won't show up in the monitoring.
What am I doing wrong? What am I missing? How to do it right?
Any cues, clues, tips is greatly aprechiated.
Best, David
···
--
David Schapiro
E-Mail: david.schapiro@hotsplots.de
hotsplots GmbH - Rotherstr. 22 - 10245 Berlin
Fon: +49 (0)30 29 77 348-0 - Fax: +49 (0)30 29 77 348-99
Amtsgericht Charlottenburg HRB 93460B
Geschäftsführung: Dr. Ulrich Meier, Dr. Jörg Ontrup