Nagios + check_logifiles for log monitoring
During Log check, we usually use a lot of monitoring methods. To check logs, we need to use the nagios plug-in, such as the check_logfile provided by nagios, which has limited functions; we use check_logfiles produced by ConSol Lab
The first two days to the Nagios under a monitoring item to add monitoring data, found that the monitoring data is there, but later found that the graphics data is not, and suddenly do not know where the problemHere are my steps t
. Monitoring Center Server (192.168.11.30) add monitored host (192.168.11.100)The following actions are performed by the server:cd/etc/nagios/conf.d/Vim 192.168.11.100.cfg//join:definehost{use linux-server host_name192.168.11.100 alias 11.100address 192.168.11.100 }defineservice{ use generic-servicehost_name 192.168.11.100 service_descriptioncheck_ping check_commandcheck_ping!100.0,20%! 200.0,50%max_check_
First, the server-side installation:1 , build on the service side Lamp EnvironmentYum install-y httpd php2 , server-side installation Nagios Main programUseradd-s/sbin/nologing./configure--prefix=/usr/local/nagios--with-command-group=nagios./configure when Perl command not found is found to install Perl this package, o
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
First, visit http://sourceforge.net/projects/nscplus/and download the NSClinent ++ of the License Server. The file I downloaded was named: NSCP-0.4.1.73-Win32.msi
Double-click the installer, select Complete Install, and select generate the instance configuration file. The other one will be OK after
NagiosThe device and setup of the remote monitoring software are as follows:
Figure-Nagios
As a system administrator, I'm most depressed when my main online systems stop or stop collecting services without my knowledge, in addition, it may take a long time for the faulty services or hosts to know. Especially when it comes to the festival, the system administrator is
commercial version of Cisco Works 2000, Solarwinds, ManageEngine, and WhatsUp, which focus on fault monitoring, with MRTG, Nagios, Cacti, Zabbix, Zenoss, OpenNMS, ganglia and so on. Because they are not connected to each other, even if you deploy these tools, many operators are not really free from it, because the current technology can get computer equipment, servers, network traffic, and even the databas
allow desktop and server interaction. Then click "application ".
Nsclient ++/start
Nsclient ++/stop
Edit nsclient ++/nsc. ini:
1. The comments in front of all modules in [modules] are removed except CheckWMI. dll and RemoteConfiguration. dll.
2. In the [Settings] section, set the 'Password' option to set the password, which is required when nagios is connected.
on the market, such as the commercial version ofCisco Works,Solarwinds,ManageEngineand focus on fault monitoringWhatsUp, in the Open source field hasMRTG,Nagios,Cacti,Zabbix, Zenoss,OpenNMS,Gangliaand so on. Because they are not connected to each other, even if youDeploymentThese tools, many operators are not really free from it, because the current technology can get computer equipment, servers, network traffic, and even the database warning informa
lack operational tools such as event monitoring and diagnostics, because failure events can be handled proactively and quickly without the support of efficient management tools. There are many operational monitoring tools on the market, such as the commercial version ofCisco Works,Solarwinds,ManageEngineand focus on fault monitoringWhatsUp, in the Open source field hasMRTG,
Build a printer monitoring server using Nagios
Tutorial Background: The company has many HP printers, which are difficult to manage. So I thought about whether I could be a printer monitoring server to quickly respond to all the printer problems. After that, I checked the relevant information on the Internet and set up one, so there was no problem in using it. I
;
Send the alarm to the contact person (via EMail, SMS, User Defined Way) when the service or host problem arises and resolves;
can support and realize redundant monitoring of the host;
The available WEB interface is used to view current network status, notification and fault history, log files, and so on;
Implementation principle of Nagios
The Nagios server does not have a Check_nrpe plug-in by default and needs to compile and install Nrpe.Nrpe provides the CHECK_NRP and Nrpe binaries and the configuration files required to start the process.For the Nagios server, it only needs to Check_nrpe plug-in to send monitoring instructions, while the monitored side needs to be monitored by the Nrpe process
-c100000,200000}Note: The definition service is: The max_check_attempts parameter is recommended to be modified to 6 (default is 4), because this plug-in must run at least 3 to 4 times or more to be normal, read the data once and record in the temporary file, as follows:650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/44/wKioL1cYaiLROoWTAAEACZkTARQ56
Zabbix (Zæbix) is an enterprise-class open source solution based on the Web interface that provides distributed system monitoring and network monitoring capabilities.
Zabbix can monitor various network parameters, ensure the safe operation of the server system, and provide flexible notification mechanism for the system administrator to quickly locate/solve the
Nagios itself does not provide the corresponding monitoring, it is to implement monitoring is dependent on the SNMP protocol or the relevant plug-in to complete the corresponding monitoring, and usually in order to deploy quickly
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.