Install Check_mk agent on HPUX server

Hi ,

Please provide me the steps to install check_mk agent in HPUX server.

Hi,
We need steps to configure monitoring for HPUX server in monitoring

.oO( Searching the forum is not too hard, is it? )

I do not use HPUX myself, but have a look at the following thread:

Hi Martin,

I already looked at this and this is not working. We are trying to add HPUX server via authorized keys and we are getting permission denied error 255

Hi Priya,

permission denied issues on ssh aren’t at all checkmk specific, I would suggest getting your HPUX admins involved.

I guess you can check the permissions of the authorized_keys file (600) and the folder .ssh (700), other than that, maybe the HPUX security logs can help.

Gerd

Thanks for the response.Found the solution

Hi!
It is great you found a way to fix this!

I believe it could be a great contribution to the community, if you could share it, so if anyone else encounters the issue, they could resolve it :slight_smile:

2 Likes

Hi Sara,

Please find the steps below,

  1. Create check_mk user

useradd -u 50002 -g 20 -m -d /home/check_mk -s /usr/bin/ksh check_mk

  1. Set password for the user

passwd check_mk

  1. create the below mentioned directory and assign the required permissions

mkdir /home/check_mk/checkmk/bin

chown check_mk:users /home/check_mk/checkmk/bin

chmod 700 /home/check_mk/checkmk/bin

  1. Copy the check_mk_agent.hpux file under /home/check_mk/checkmk/bin location and assign the necessary permission

chown check_mk:users /home/check_mk/checkmk/bin/check_mk_agent.hpux

chmod 700 /home/check_mk/checkmk/bin/check_mk_agent.hpux

  1. Copy the ssh key in /home/check_mk/.ssh/authorized_keys
1 Like

Thank you! I believe this could save someone some time and help them! :slight_smile:

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.