Hi There I am running OMD 1.21.20141204 on Ubuntu 12.04.5 LTS
Looking at the documentation ( https://mathias-kettner.de/checkmk_check_nginx_status.html) I assumed the nginx_status check should work out of the box. To my surprise I could not find it in share/check_mk/agents I checked out the check_MK source from github and was able to locate the corresponding files and copied them to the appropriate locations local/share/check_mk/agents/nginx_status local/share/check_mk/checkman/nginx_status local/share/check_mk/checks/nginx_status local/share/check_mk/pnp-templates/check_mk-nginx_status.php nginx_status is now a recognized check on my system $ cmk -L | grep nginx nginx_status tcp yes yes Nginx %s Status But when I inventorize a host I do not get the anticipated results $ cmk --checks=nginx_status -vI nginxhost01 Inventorizing nginxhost01. on the remote host # curl http://localhost:30000/nginx_status Active connections: 13 server accepts handled requests 4542239 4542239 4541116 Reading: 0 Writing: 7 Waiting: 4 I also created the config file $ cat etc/check_mk/nginx_status.cfg Servers = [ { "protocol" : "http", "address" : "localhost", "port" : 30000, "page" : "nginx_status", }, ] I am not sure why the check is not being deployed. Can I please get some advise? Kind regards, Christoph Blau
_______________________________________________ omd-users mailing list [email protected] http://lists.mathias-kettner.de/mailman/listinfo/omd-users
