Install nagios-check-mk-agent under Linux

Source: Internet
Author: User

The following methods I installed 3 servers, absolutely effective
Monitored side
1
Install the Super Daemon (on Demand)
[[Email protected]~] #yum install xinetd

2
View Super Daemon Open condition
[Email protected] ~]# chkconfig--list |grep xinetd
xinetd
0:off 1:off 2:off 3:on 4:on 5:on 6:off
From there, you can see if xinetd is booting up, and if other processes are hosted under the Super Daemon, this command can also list their startup conditions.
If it is not possible to set boot boot
[[Email protected] ~] #chkconfig--level 2345 xinetd on

3
Installing the Check_mk-agent Plugin
Centos/redhat under
wget http://mathias-kettner.de/download/check_mk-agent-1.2.2p3-1.noarch.rpm
RPM-IVH check_mk-agent-1.2.2p3-1.noarch.rpm

Vim/etc/xinetd.d/check_mk
Service CHECK_MK
{
Type = Unlisted
#flags = IPv4
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 + then one monitoring servers in parallel 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 10.0.20.1 10.0.20.2
# Don ' t be too verbose. Don ' t log every check. This might is
# commented out for debugging. If This option was commented out
# The default options would be a used for this service.
Log_on_success =
Disable = no
}
#only_from Join the monitoring side IP to ensure that the monitoring terminal can telnet to the monitored side


Windows under
Http://mathias-kettner.de/download/check-mk-agent-1.2.2p3.exe
The next step is all right.
Enter the installation directory C:\Program FILES\CHECK_MK
Open Check_mk.example.ini
Add the monitor end address after Only_from

4
Monitoring end telnet is monitored 6556
#telnet Monitored end 6556

Install nagios-check-mk-agent under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.