;>/var/lib/nagios3/service-perfdata.out command_line/usr/bin/Perl/usr/lib/pnp4nagios/libexec/process_perfdata.pl}commands.cfg Code
Modifying the NAGIOS.CFG configurationVi/etc/nagios3/nagios.cfg Modify the following 3 line configurationsProcess_performance_data=1Host_perfdata_command=process-host-perfdataService_perfdata_command=process-service-perfdataModify Check_external_commands=1 (unmodified may cause Web sites to fail to re-schedule monitoring
1. Click on any page to error after installing Nagios softwareIt appears as though you don't have permission to view information for any of the hosts you requested ...Workaround:[Email protected] conf]# vim/usr/local/nagios-4.0.8/etc/cgi.cfgUse_authentication=0--Change 1 to 0 without certification[Email protected] conf]#/etc/init.d/nagios restartRunning Configura
";$database _hostname = "127.0.0.1";$database _username = "Nagios";$database _password = "XXXX";$database _port = "3306";$database _ssl = false;(4) Set directory permissions# Useradd Cactiuser# chown-r Cactiuser rra/log/(5) Increased timing tasks#echo "*/5 * * * * cactiuser php/var/www/html/cacti/poller.php >/dev/null 2>1" >>/etc/crontab#每5分钟以cactier去抓取数据绘图, this time 5 minutes should be the minimum interval, it is not recommended to modify to a small
command to the server side:check_nrpe-h 192.168.0.12-c check_disk (on server)if normal, it will output a row of disk detection data, or may be error. 5. Add the appropriate service to the servercd/etc/nagios/conf.d/Vim 192.168.0.12.cfg # Add the following:define service{Use generic-servicehost_name 192.168.0.12service_description Check_diskCheck_command Check_nrpe!check_diskmax_check_attempts 5Normal_check_interval 1}6. Restart the
[Nagios monitoring] NRPE: the reason for Unable to read output and troubleshooting the normal operation of the nrpe monitoring terminal definition command, monitor run #/usr/local/nagios/libexec/check_nrpe-H 117.121.9.200-c check_oracle_tablespace error prompt: NRPE: Unable to read output monitor run: #/usr/local/
As a prerequisite, the monitoring server is the UBUNTU14 operating system. The monitored server is RHEL6.5 RHEL71. Custom plugins can be implemented using scripts such as bash, Python, and so on.2, through the Nrpe plug-in to achieve monitoring server and monitored host communication between3, must pay attention to the monitoring script belongs to the user, user
parameters. It provides a very powerful data and user management capabilities, you can specify that each user can see the tree structure, host and any map, but also with LDAP for user authentication, but also can add their own templates, the function is very powerful and perfect. Friendly interface. CACTIThe development of software CACTI is based on making RRDTool users more convenient to use the software, in addition to basic SNMP traffic and System information
I. Monitoring requirements:
Remote monitoring of custom TCP ports on Windows Servers
1. Linux machines are relatively simple. Use the check_tcp plug-in (the steps are omitted)
2. Windows machine, using the check_nt plug-in, check_nt for detailed usage see http://nagiosplugins.org/man/check_nt
A. First install nsclient ++
B. Edit
/Usr/local/Nagios/etc/objects/comm
There is a script available on Nagios's official website to monitor the status of Iptables, but the official script is not directly available and needs to be modified in order to be used, as is the case here, because Nagios's command mechanism is run with Nagios users, Therefore, the official web-based script is not available before the adjustment is not normal use, the official website provides the Iptables monit
BKJIA exclusive Article] I am a linux/unix system engineer who uses Nagios to automatically monitor the company's intranet development environment and Internet application environment. Nagios has powerful alarm functions, but sometimes our system group has this need, especially when the system is busy, we want to leave logs for analysis: whether it is under attack, the developer is not properly set, or the
Configuration Environment Description
192.168.3.80-XSCF address 192.168.2.80-solaris operating system IP address (Nagios client) 192.168.2.120-nagios server-side Check_ xscf.pl-checks the execution script of the XSCF and places it on the Nagios client. check_xscf.cfg-checks the XSCF configuration file, which is used primarily to set the temperature and volt
Nagios monitoring oracle alert Log script, nagiosalertClick Nagios to know how to use it # Add nagios to the oinstall group # usermod-a-G oinstall nagios#! /Bin/shDbversion = 11Bdump =/u01/app/oracle/oradata/PROD/dump/diag/rdbms/prod/PROD/trace/alert_PROD.logSTATE_ OK = 0STA
$HOSTADDRESS$ -p $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -f}
Add to host monitoring
define service{ use local-service ; Name of service template to use host_name c1gredis service_description redischeck_commandcheck_redis!6379!'connected_clients,blocked_clients'!~,~!~,~notifications_enabled0 }
Reload the configuration.
/Etc/init. d/
, all of the above can be solved. The implementation principle, which has been published before, is of course based on Nagios. Bottlenecks, that is also the bottleneck of Nagios, performance temporarily not outstanding, ease of use, but also can, not too much trouble, technology, can not break through the bottom of CGI and Nagios. It's just a layer of skin, but w
18 Common commands for monitoring network bandwidth on a Linux serverThis article describes some of the Linux command-line tools that you can use to monitor network usage. These tools can monitor data transmitted over a network interface and measure the speed at which data is being transmitted. The inbound traffic is displayed separately from the outbound traffic.
These tools use different mechanisms to produce traffic reports. Some too
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.