In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how centos5.5 installs nagios monitoring. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
I. installation of plug-ins
# useradd nagios-s / sbin/nologin
# tar zxvf nagios-plugins-1.4.15.tar.gz
# cd nagios-plugins-1.4.15
#. / configure-with-nagios-user=nagios-with-nagios-group=nagios
# make
# make install
# tar zxvf nrpe-2.13.tar.gz
# cd nrpe-2.13
#. / configure-enable-ssl-enable-command-args
# make all
# make install-plugin
# make install-daemon
# make install-daemon-config
2. Modify the configuration file nrpe.cfg
1. After installation, a nrpe.cfg file will be generated under / usr/local/nagios/etc/. Edit the last part of the file, which is modified in the following command
# vi / usr/local/nagios/etc/nrpe.cfg
Commanded [check _ users] = / usr/local/nagios/libexec/check_users-w 5-c 10
Commanded [check _ load] = / usr/local/nagios/libexec/check_load-w 15leg10 penny 5-c 30pyrmr25 penny 20
Commanded [check _ disk] = / usr/local/nagios/libexec/check_disk-w 20%-c 10%-p / dev/hda1
Commanded [check _ zombie_procs] = / usr/local/nagios/libexec/check_procs-w 5-c 10-s Z
Commanded [check _ procs] = / usr/local/nagios/libexec/check_procs-w 150-c 200
Commanded [check _ swap] = / usr/local/nagios/libexec/check_swap-w 20%-c 10%
2. Modify the following information in / usr/local/nagios/etc/nrpe.cfg, about 81 lines
Allowed_hosts=10.96.100.152-enter the nagios server here
# / usr/local/nagios/bin/nrpe-c / usr/local/nagios/etc/nrpe.cfg-d
Test connectivity to the nagios server
# / usr/local/nagios/libexec/check_nrpe-H 10.96.100.152
Thank you for reading! This is the end of the article on "how to install nagios Monitoring in centos5.5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.