The Nagios plug-in provides two return values: one is the plug-in exit status code and the other is the first line of data that the plugin prints on the console. Exit status codes can be used by Nagios main programAs the basis for judging the service status of the monitored system, the first line of data printed by the console can be supplemented by the Nagios ma
I. Preface:
1. Make sure that you have the root permission on the machine before installation.
2. confirm that the following software package has been installed on your installed linux system and continue.
Gcc compiler, gd library and Development Library
Note:
You can use the yum command to install these software packages. type the command:
Yum-y install httpd gcc glibc-common gd-devel
Read more: round-robin and progressive Nagios --- operation (2) Co
One, add usersGroupadd NagcmdUseradd-g Nagcmd Nagiospasswd Nagios123456usermod-a-G nagcmd ApacheIi. installation of NagiosCd/root/downloadwget http://jaist.dl.sourceforge.net/project/nagios/nagios-4.x/nagios-4.0.7/nagios-4.0.7.tar.gzcan also be downloaded from here: http://www.nagios.org/download/tar xzvf
The Nagios-plugins plugin is based on the installation of Nagios core, and the installation details of Nagios core are as follows: [Nagios monitor Nagios Core installation]http://4709096. blog.51cto.com/4699096/17022191. Compiling the installation#
; 'sense Key: Not ready', criticalexceptions => 'sense Key: Not Ready/dev/testdisk ', options => 'noprotocol'}, {tag => 'logins', logfile => '/var/adm/messages', rotation => 'solaris ', criticalpatterns => ['illegal key', 'read error. * $ CL_DISK01 $ '], criticalthreshold => 4 warningpatterns => ['read error. * $ CL_DISK02 $ '],});
The above two methods can be used to uniformly write each project to the configuration file and put it into the comman
1. VMware Tools installation and display settings
Command:
Cp/cdrom/vmwaretools/vmware-solaris-tools.tar.gz/export/home/xxxx
Gunzip vmware-solaris-tools.tar.gz
Tar xvf *.tar
A folder that generates a "Vmware-tool-distrib"
Enter this folder, perform the vmware-install.pl, and then a long set of settings after installation, the mouse can be free to click, Solaris
Test environment: CentOS 6.4 x86_64"The first section prepares the installation package"Nagios can be downloaded to the official website of Www.nagios.org/download. The installation packages used in the testing process in this article are as follows:Nagios-4.0.8.tar.gzNagios-plugins-2.0.3.tar.gz"The second part quickly builds the environment that Nagios needs"If you have no special requirements for
Install the nagios plugin
tarzxvfnagios-plugins-1.4.11.tar.gz
cdnagios-plugins-1.4.11
./configure--prefix=/usr/local/nagios--enable-redhat-pthread-workaround
makeall
makeinstall
A plug-in is a special program in computer software. It cannot be executed independently but must depend on a software. It can be called in other software environments .)
After the installation is comp
Solve the problem of Internet access and remote logon in Solaris, and perform remote logon in solaris.
Reference http://www.jb51.net/ OS /Solaris/1656.htmlSolution to display garbled characters on solaris
Symptom:
Use the command: LANG = zh; export LANG. Or LANG = C; export LANG
Of course, we can also set them all. L
Welcome to the network technology community forum and interact with 2 million technical staff. nagios is generally used to monitor Intranet machines. In fact, if the network conditions are good, it is also feasible to monitor machines on the public network. We used to monitor 28 SQLServer2008 databases on the public network (Telecom to telecom). It turns out that the results are also good.
Welcome to the network technology community forum and interact
Prerequisite: The lamp environment is built to complete
Remark: After Centos6.4, Centos6.5, Centos7.0 test trial!Script:
#!/bin/bash# Author:byrd# version:1.0# Site:www.t4x.org# contact:root#t4x.org#This Script for nagios-v3.5.1Path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binExport PATHLang= "en_US. UTF-8 "# Check If user is rootIf [$UID!= "0"]; Thenecho "Error:you must is root to run the script, please use the root to install
: RootPassword:
Nov 21 15:22:57 zone01 login: Root Login/dev/consoleSun Microsystems Inc. SunOS 5.10 generic January 2005# Ifconfig-Lo0: 1: Flags = 2001000849 Inet 127.0.0.1 netmask ff000000Pcn0: 1: Flags = 1000843 Inet 10.11.11.94 netmask ffffff00 broadcast 10.11.11.255# HostnameZone01
In this way, you can log in and use it independently as a Solaris 10 virtual machine.
Ping 10.11.11.94 from outside.
Note:
When creating the zone directory, you mu
1. Introduction to nagios Default Configuration File
Read more: cyclic and progressive Nagios --- operation (1) install the Nagios Monitoring System
After nagios is installed, the default configuration file is in the/usr/local/nagios/etc directory. The following table lists
First, ensure that the software packages installed in solaris meet the requirements (refer to the basic requirements of the official installation of SolarisStudio12.3, at least the necessary packages must be installed and developed ).
Because it is installed in a virtual machine, the pre-allocated swap space is relatively small, you need to temporarily increase the swap space, refer to Solaris temporary inc
Nagios cannot be started, but the syntax check is disabled, and nagios cannot.
[root@mode objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgNagios Core 3.4.3Copyright (c) 2009-2011 Nagios Core Development T
Build a printer monitoring server using nagios and monitor the nagios printer
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 shared it with
Article Title: Solaris Study Notes: About the Solaris syslog mechanism. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The syslog mechanism is responsible for sending and recording the information generated by the system kernel and tools. It consists of the syslog () ca
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.