3 Setup of check_mk agent on HP-UX
4 --------------------------------
6 Note: This is written without access to a HP-UX server.
7 Please carefully review and test the changes.
10 : add an entry /etc/services for HP-UX so inetd will know which tcp port:
12 check_mk 6556/tcp #check_mk nagios agent
15 : add check mk to inetd config :
16 # check_mk agent support for remote monitoring
18 check_mk stream tcp6 nowait root /usr/local/nagios/check_mk_agent check_mk_agent
22 # HP-UX does -by default- not use standard TCPWrappers and has a configuration
23 # differnt from standard /etc/hosts.allow /etc/hosts.deny
25 # The config file is optional and called /var/adm/inetd.sec
26 # It has the following syntax:
28 # service name { allow | deny }
29 # { hostaddrs | hostnames | netaddrs | netnames }
31 # please note that in standard setups even very critical services like
32 # MC/SG are using inetd for their communications. You should test changes
33 # to the TCP security carefully.
34 # (We noticed inetd got hung by a misconfiguration, causing cluster warnings.
35 # After getting everything right, it worked without issues.
37 # to allow your nagios servers:
39 # only allow nagios servers to access the check_mk agent
40 check_mk allow NAGIOS-SRV01 NAGIOS-SRV02
42 # reconfigure inetd to read in the changes.
46 # to verify configuration and / or check for issues, have a look at tcpdchk(1)
47 # http://nixdoc.net/man-pages/hp-ux/man1/tcpdchk.1.html
48 # but this might only work if you installed tcpwrappers, which is not commonple.
51 # There's now a plugin for using libstatgrab like on Solaris/FreeBSD