CMK Version: Checkmk 1.6.0p11 (Enterprise Demo)
OS: CentOS 7
I’ have installed check_mk for testing purpose and try to monitor a Webserver. I was successfull with a apache server but I do have problems with a nginx server.
I copied the python script from the WATO interface to /usr/lib/check_mk_agent/plugins and made it 755.
The command check_mk_agent shows me the stats of the nginx:
<<<nginx_status>>> 127.0.0.1 80 Active connections: 63 127.0.0.1 80 server accepts handled requests 127.0.0.1 80 2271163 2271163 2094056 127.0.0.1 80 Reading: 0 Writing: 1 Waiting: 62
So the nginx status page is installed and running. I can connect the status page with lynx.
But these nginx stats do not appear at the host-server’s webinterface. I do a Full Scan at the Hosts section. The agent is ok, I get basic stats, but not nginx stats. Firewall ist open at 6556. Is 6557 important?
I also tried the “test” feature at the WATO Hosts section. I get an output of the agent but without nginx stats.
Anybody have a idea how to debug that? Looks like the server does not fetch the nginx stats.