Discover nagios monitor windows service, include the articles, news, trends, analysis and practical advice about nagios monitor windows service on alibabacloud.com
client is more complex than installing on the server side because the Nrpe is running as a daemon in the client, as follows:
[Root@test2 ~]# yum install-y OpenSSL openssl-devel
[Root@test2 ~]# wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz/download? Use_mirror=hivelocityr=use_mirror=hivelocity
[Root@test2 ~]# tar zxvf nrpe-2.14.tar.gz
[Root@test2 nrpe-2.14]# Useradd Nagi
is outside the scope of this documentation. Refer to your system documentation, search the Web, or look to the Nagios support Portal or Nagios Community Wiki for spec IFIC instructions on configuring your Ubuntu system to send mail messages to external addresses.Ten) you ' re donecongratulations! You sucessfully installed Nagios Core. Your journey to monitoring
Install# Make Install-init# Make Install-commandmode
Contact information Configuration#vi/usr/local/nagios/etc/objects/contacts.cfgModify a contact mailbox, etc.
Configuring the Web InterfaceInstall the Nagios Web configuration file in the Apache CONF.D directory:# Make Install-webconf
Create Nagiosadmin account number and password for login Nagios web interf
Introduction: Nagios interface. See Monitoring MySQL service errors, as below:Warning:NRPE:Unable to read output1, with the Nagios monitor server on the check1.1. Run the Check_nrpe command for remote callsRun Check_nrpe on the monitor side nagiosserver check for MySQL statu
The previous article (see http: www.linuxidc.comLinux2011-0943910.htm) introduced how to set up the nagios monitoring service on a linux host and monitor the service status change on the windows host, this time we continue with the previous content. First, the
Now there are a lot of people using Zabbix, but I think if the number of server monitoring is not much, the old monitoring system Nagios is very good. Nagios Alarm function is very powerful, and the program is small, resource footprint. Nagios default does not support drawing, you can match cacti, but build more complex. Individuals are still accustomed to using
exactly the same way as the Check_nrpe command, and you do not know how to use check_nrpe–h to see it.3.2 Defining monitored host information#vim/usr/local/nagios/etc/objects/hosts.cfgDefine Host{#引用主机linux-server Property Information, the Linux-server host is defined in the Templates.cfg file.Use Linux-serverHOST_NAME nagios-linux #主机名Alias Nagios-linux #主机别名#被
Nagios Add a custom monitoring project++++++++++++++++++++++++++++++++++++++++++++++++++++++++++System Environment: CentOS Linux release 7.2.1511 (Core)Nagios Version: 2.15Here with the Pt-dead-logger plug-in, run the plug-in, there will be a deadlock in the Test.deadlocks table to write the deadlock informationThis is done by detecting if the table has increased the number of rows to send an alarm.Nagios C
-serviceHOST_NAME 100.61.73.2,100,61,73.3Service_description MemoryCheck_command Check_nrpe!check_used_memNotifications_enabled 1}using Python scripts to monitor Linux hosts in Nagios192.168.5.110 at the monitored end1. Put the getload.py in the/usr/local/nagios/libexec first.[Root@nhserver1 ~]# vim/usr/local/nagios/libexec/getload.py#! /usr/bin/env pythonImport
0.24KB. The Check Interval is 30s |In=0.12kb;1200;1700;0;0Out=0.12kb;1500;1800;0;0Total=0.24kb;2700;3500;0;0 Interval=30s;1200;1800;0;0Explain:-V SNMP Protocol version-C Community NameThe-I parameter corresponds to the network card of the above-l output index value. Flag to monitor the appropriate network card.-W Warning value-C Alarm ValueConfiguration of the 4,nagiosIncrease the command.cfg of NagiosVim/etc/nag
Nagios monitoring mysql Server:1. Create a dedicated database:[Root @ svr3 ~] #/Usr/local/webserver/mysql/bin/mysql-u root-pEnter password:Welcome to the MySQL monitor. Commands end with; or \ g.Your MySQL connection id is 51910Server version: 5.5.3-m3-log Source distributionType 'help; 'or' \ H' for help. type' \ C' to clear the current input statement.Mysql> create database
/mrtg/usr/local/mrtg/shareOrder Deny,allow# Deny from allAllow from allAllow from 127.0.0.1Allow from:: 1# Allow from. example.comWe can access it through HTTP://IP/MRTG, the effect is as follows:Through the above we can view the traffic information of the switch in real-time, but we want to realize the traffic monitoring alarm, we need nagios to read the MRTG monitor traffic information to achieveIn the ne
the CPU load of Windows Servers
Check_command check_nt! MEMUSE! -W 80-c 90 monitor Windows Server Memory
Check_command check_nt! USEDDISKSPACE! -L c-w 80-c 90 monitoring Windows Server C space
Check_command check_nt! SERVICESTATE! -D SHOWALL-l telnet monitors the telnet service
(Nagios monitor server IP) and password, as follows: 650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/9E/94/ Wkiol1mtvmabqvcwaaca2mds4uq791.png-wh_500x0-wm_3-wmp_4-s_141142161.png "title=" NSClient++ "alt=" Wkiol1mtvmabqvcwaaca2mds4uq791.png-wh_50 "/> Here need to fill in the IP address of the monitoring server, and then configure the password, tick all the plug-ins, from here to know that nscli
Set all monitoring items to turn on mail alerts:Vim/usr/local/nagios/etc/nagios.cfgSet upEnable_notifications=1 1 for turn on, 0 for off as individual monitoring items only monitor no alarms: For example load only monitor not alarm vim/usr/local/ Nagios/etc/objects/services.cfgdefine
Generic-serviceHOST_NAME RuanxiService_description Memory UsageCheck_command check_nt! Memuse!-w 80-c #内存使用到达80% is warn, reaching 90% critical}C + + for #监控 Windows host The amount of space usedDefine Service{Use Generic-serviceHOST_NAME RuanxiService_description c \ Drive SpaceCheck_command check_nt! Useddiskspace!-l C-w 80-c 90}#监控 the action state of the W3SVC settings for a
Building a monitoring system based on Nagios -- monitoring remote Windows Server
After sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part 1: configure the monitored Windows Server
What is the reason for the 403Forbidden warnning when Nagios uses Check_nrpe's check_http? Yum Source installs the httpd service under the/var/www/html that does not index.html this file. The solution is simple: touch/var/www/html/index.html. Test Curl Localhost-i, appears 200, the explanation is ready.This article is from the "10707334" blog, please be sure to keep this source http://10717334.blog.51cto.co
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.