nagios monitoring

Learn about nagios monitoring, we have the largest and most updated nagios monitoring information on alibabacloud.com

A Nagios script for monitoring disks

1. Create a script on the client/usr/local/nagios/libexec/check_disk.sh vim/usr/local/nagios/libexec/check_disk.sh Write the following: (client) #!/bin/bash #!/bin/bash row= ' df-h |wc-l ' for i in ' seq 2 $row ' do ava= ' df-h |sed-n " $i" p|awk ' {print $4} u_per= ' df-h |sed-n ' $i "p|sed-n" s/\%//"P|awk ' {print $} ' p_p= ' df-h-p|sed-n ' $i" P|aw K ' {print $6} ' If ["$u _per"-gt "" ];then

Debian System installs Nagios server monitoring side

;>/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

Monitoring software Nagios Error Summary

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

Open Source Monitoring Solution Nagios+cacti+pnp4nagios+nconf+ndoutils+nagvis (v) Cacti installation

";$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

Nagios monitoring using SendMail to send mail alerts using a third-party SMTP service

/etc/object/command.cfg#notify definition of the-host-by-email commandDefine Command{#命令名称, which defines a command that sends a message when a host exception is defined. Command_name Notify-host-by-email#命令具体的执行方式. command_line/usr/bin/printf "%b" "* * * * Nagios *****\n\nnotification Type: $NOTIFICATIONTYPE $\nhost: $HOSTNAME $\nstat E: $HOSTSTATE $\naddress: $HOSTADDRESS $\ninfo: $HOSTOUTPUT $\n\ndate/time: $LONGDATETIME $\n "| /bin/mail -S "* * $N

Nagios Custom Script Monitoring < Checking the existence of an EIP user's Java process >

/monitor/nagios/libexec./check_nrpe-h 192.168.1.11-c check_pid.shSee return informationStatus OKOpen the Graphics monitoring page and you can see650) this.width=650; "src=" Http://axlewire.blog.51cto.com/e/u261/themes/default/images/spacer.gif "alt=" Spacer.gif "style=" padding:0px;margin:0px;vertical-align:top;border:1px solid rgb (221,221,221); Background-image: URL ("Http://axlewire.blog.51cto.com/e/u261

Nagios Custom Monitoring HDD Script

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] causes and troubleshooting of NRPE: Unable to read output

[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/

Nagios monitoring ACTIVEMQ plug-in development and deployment considerations

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

5 Server performance Monitoring artifact Introduction (smokeping, Cacti, Nagios, Zabbix, ntop)

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

Nagios research-remote monitoring of custom TCP ports on Windows Servers

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

Official Iptables Monitoring script tuning in Nagios

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

Use scripts to record system monitoring logs for Nagios (detailed description of vmstat)

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

How to configure the XSCF for Nagios Monitoring Sun (Fujitsu) MX000 series servers

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 Redis

-serviceHOST_NAME Redis_1Service_description redis_6379_memoryCheck_command check_redis!6379! ' Used_memory_human,used_memory_peak_human '!~,~!~,~}Define Service{Use Generic-serviceHOST_NAME Redis_1Service_description redis_6379_memoryCheck_commandcheck_redis!6379! ' Connected_clients,blocked_clients,client_longest_output_list,client_biggest_input_buf '!100,5,~,~!500,10,~,~}Define Service{Use Generic-serviceHOST_NAME Redis_1Service_description Redis_6379_conn_numberCheck_command check_redis!6379

Python-django monitoring System two times development Nagios

+ - defwriteconf (f,data): theWith open (F,'W') as FD: * fd.write (data) $ Panax Notoginseng defparsedata (data): -host_conf ="' thehostgroup_conf ="' + forHginchData: AGroupName = hg['GroupName'] theMembers = [] + forHinchhg[' Members']: -hostname = h['hostname'] $ Members.append (hostname) $host_conf + = host_temp%h -hostgroup_conf + = hostgroup_temp% {'GroupName': GroupName,' Members':','. Join (members)} -fp_hostconf = Os.path.join (Conf_dir,'hosts.cfg') thefp_hostgroupconf =

Nagios monitoring oracle alert Log script, nagiosalert

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

Nagios monitoring redis

$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/

Two development of Nagios for enterprise-level monitoring platform development (VII)

, 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 Linux servers nload, Iftop,iptraf-ng, Nethogs, Vnstat. Nagios

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

Total Pages: 15 1 .... 10 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.