Today we will be walking through how to install the Check_MK agent on a Solaris host.
For this tutorial we will be using Check_MK 1.4.0p8 Enterprise and OpenIndiana 5.11.
My local site is called Genesee.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-14-1024x576.png)
First thing we will need is the agent itself. This is shipped with Check_MK and can be found in
/omd/sites/<sitename>/share/check_mk/agents/
I have connected to the monitor server via SSH in order to copy the agent.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-21-1024x248.png)
Installing and Starting the Agent
1) Copy The Agent
Copy check_mk_agent.solaris to the Solaris server, rename it to check_mk_agent, and put it in /usr/bin with proper permissions.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-16-1024x165.png)
2) Create inetd Service
Once the agent is copied to the Solaris machine, we will need to tell inetd how to serve it.
Open /etc/services with your favorite editor and add an entry for Check_MK on TCP port 6556.
![](https://truepath.zendesk.com/hc/article_attachments/115015492066/image.png)
Next, open /etc/inetd.conf and add the line:
check_mk stream tcp nowait root /usr/bin/check_mk_agent
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-17-1024x87.png)
We will need to convert that inetd entry in to an SMF service.
This is done by running inetconv. This command may successfully complete with no output!
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-22-1024x73.png)
Verify that the service has been successfully created and is running.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-18-1024x629.png)
Using telnet, we can connect to the agent and verify that it is functioning properly.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-19-1024x389.png)
Add the Host to Check_MK
Once the agent service is up and running, we can add our Solaris host to Check_MK as usual.
![](https://truepath.wpengine.com/wp-content/uploads/2019/09/image-20-1024x379.png)