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, yes
I create a SOP for the steps that i use, but with the hpux agent you can do it.
Process/Steps:
Please follow the following steps to install the CMK Agent on OS: HP-UX
First, copy the file check_mk_agent.hpux to:
/usr/bin/ and rename it to check_mk_agent
After that, change the current permission to:
chmod 754 /usr/bin/check_mk_agent
and
chown root:sys /usr/bin/check_mk_agent
Corroborate these two directories on the check_mk_agent, and created if needed and give the current permi…
priya7793
(priya)
December 8, 2022, 10:58am
4
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
gstolz
(Gerd Stolz)
December 8, 2022, 12:44pm
5
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
priya7793
(priya)
December 15, 2022, 4:24pm
6
Thanks for the response.Found the solution
Sara
February 6, 2023, 2:05pm
7
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
2 Likes
priya7793
(priya)
February 22, 2023, 4:18pm
8
Hi Sara,
Please find the steps below,
Create check_mk user
useradd -u 50002 -g 20 -m -d /home/check_mk -s /usr/bin/ksh check_mk
Set password for the user
passwd check_mk
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
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
Copy the ssh key in /home/check_mk/.ssh/authorized_keys
1 Like
Sara
March 21, 2023, 2:21pm
9
Thank you! I believe this could save someone some time and help them!
system
(system)
Closed
March 20, 2024, 2:22pm
10
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.