Check_MK_Agent.hpux (HPUX)

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 permissions:

export MK_LIBDIR="/usr/lib/check_mk_agent"
chmod 755 /usr/lib/check_mk_agent
chown root:sys /usr/lib/check_mk_agent

export MK_CONFDIR="/etc/check_mk"
chmod 755 /etc/check_mk
chown root:sys /etc/check_mk

To configure inetd, edit the file /etc/inetd.conf adding these lines at the bottom of the file:

#Check_mk
check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

Edit the file /etc/services and add this line to listen on TCP port at the bottom of the file:

check_mk_agent 6556/tcp #check_mk agent

Finally, restart Inetd :

/usr/sbin/inetd -c

Test

To corroborate that the agent is already working:

telnet x.x.x.x 6556