Hello,

I have installed Centos7 that I want to use as my monitoring server. I 
presently trying to get the agent running on the monitoring server
but I seem to not be setting something up correctly.

I could not find any rpm files so I decided to following this url;

        https://mathias-kettner.de/checkmk_linuxagent.html

I copied the agent to /usr/bin/check_mk_agent from the agent directory
under omd

I also copied xinetd.conf to /etc/xinetd.d/check_mk and changed it as
so:


**********BEGIN**********
service check_mk
{
        type           = UNLISTED
        port           = 6556
        socket_type    = stream
        protocol       = tcp
        wait           = no
        user           = root
        server         = /usr/bin/check_mk_agent

        # If you use fully redundant monitoring and poll the client
        # from more then one monitoring servers in parallel you might
        # want to use the agent cache wrapper:
        server         = /usr/bin/check_mk_caching_agent

        # configure the IP address(es) of your Nagios server here:
        only_from      = 127.0.0.1 192.168.15.100

        # Don't be too verbose. Don't log every check. This might be
        # commented out for debugging. If this option is commented out
        # the default options will be used for this service.
        log_on_success =

        disable        = no
}
**********END**********

I restarted the xinetd service and ensured it was up and running

**********BEGIN**********
[root@localhost xinetd.d]# systemctl status xinetd.service
xinetd.service - Xinetd A Powerful Replacement For Inetd
   Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled)
   Active: active (running) since Sun 2015-03-29 11:39:25 EDT; 10min ago
  Process: 20910 ExecStart=/usr/sbin/xinetd -stayalive
-pidfile /var/run/xinetd.pid $EXTRAOPTIONS (code=exited,
status=0/SUCCESS) Main PID: 20911 (xinetd)
CGroup: /system.slice/xinetd.service └─20911 /usr/sbin/xinetd
-stayalive -pidfile /var/run/xinetd.pid
**********END**********

I checked what is listing on what ports with 'netstat -ltn':

**********BEGIN**********
[root@localhost xinetd.d]# netstat -ltn                   
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State tcp        0      0 127.0.0.1:25
0.0.0.0:*               LISTEN tcp        0      0
127.0.0.1:5000          0.0.0.0:*               LISTEN tcp
0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 ::1:25                  :::*
LISTEN tcp6       0
0 :::6556                 :::*                    LISTEN tcp6
0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*
LISTEN     
**********END**********

What am I missing here?

All help is must appreciated.


-- 
Regards
Robert

Smile... it increases your face value!
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to