nagios monitoring system

Discover nagios monitoring system, include the articles, news, trends, analysis and practical advice about nagios monitoring system on alibabacloud.com

A simple example of nagios monitoring scripts for virtual machines via the COLLECTD tool

After installing the COLLECTD tool on the host, you can obtain data such as cpu,memery,if-traffic of the virtual machine on the host by using the COLLECTD tool. Monitoring of these data can be achieved through Nagios monitoring scripts.The following is a simple monitoring virtual machine memory script:#!/bin/bash#desc:

RRDtool installation of Nagios monitoring

Ndoutuils is based on the correct installation of Nagios, please go to the previous article for Nagios installation.1. Dependency packet Detection#rpm-Q libxml2-devel pango-devel cairo-devel#yum Install Libxml2-devel pango-devel cairo-devel2. Compiling the installation#tar ZXVF rrdtool-1.4.8.tar.gz#cd rrdtool-1.4.8#./configure--prefix=/usr/local/rrdtool#make#make Install3. Verify that the installation is su

Nagios plug-in-firewall logon for session Monitoring

Nagios plug-in-firewall logon for session Monitoring Ssh_firewall_session.sh -- log on to the firewall and execute dis session statistics Firewall_check_sessions.c -- call the above script to filter out the value of sessioin. Run:./firewall_check_sessions ssh_firewall_session.sh 192.168.0.1 Vi ssh_firewall_session.sh #!/usr/bin/expect -f#set port 22set user xxxxxxset host [lindex $argv 0 0]set password xxxx

Open Source Monitoring solutions: ICINGA (Nagios) Email Notification

=250 smtpmsg= ' 2502.0.0ok:queuedas7b6d439f ' exitcode=ex_ok[[emailprotected] ~]#cd/usr/local/icinga/etc/objects[[emailprotected]objects]#vi commands.cfgdefinecommand{command_name notify-host-by-emailcommand_line/usr/bin/printf "%b" "\nHost: $HOSTNAME $\n\nstate: $HOSTSTATE $\n\naddress: $HOSTADDRESS $\n\ninfo: $HOSTOUTPUT $\n " |mutt-s "hostalert: $HOSTNAME $is $HOSTSTATE $" $CONTACTEMAIL $ }definecommand{ command_namenotify-service-by-email command_line/usr/bin/printf "%b" "\nservice: $SER

The next industry standard in it monitoring, a python implementation Nagios like tool-shink

This article introduces shinken, A Nagios like monitoring and management tool implemented by python.Http://www.shinken-monitoring.org/main features are described as follows:1, flexible monitoring and alerting capabilities2, simple and modular discovery Module3, prioritize your effort based on business impact4. VMWare auto dependency and vmotion support5. Business

The installation process of Nagios under Linux system

meanings of these subfolders are as follows:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/DD/wKioL1cLYtOzQrqmAAAWJhgKAqo986.png "title=" 1.png " alt= "Wkiol1clytozqrqmaaawjhgkaqo986.png"/>Bin folder: There are two executable programs in Nagios and Nagiostats.Sbin folder: The directory that executes the files required by the external command.Etc folder: The directory where the configuration file resides.Include folder:Libexec folder: T

Network Monitoring and/proc/net/tcp File explanation for nagios in Linux

The check_antp provided by nagios is too simple. In addition to the status statistics output, no parameters are provided. When faced with different application servers, alarm becomes a big problem.So I decided to write a check script myself. When running a script, it is different from the command operation, that is, to consider the efficiency issue. Running the netstat-ant command regularly on high-concurrency machines for statistics is obviously not

Batch generation of Nagios monitoring hosts

#!/bin/bashexecThis article is from the "Starry Sky" blog, so be sure to keep this source http://liuxiaolan.blog.51cto.com/7789055/1621689Batch generation of Nagios monitoring hosts

Unable to send message alert message when Nagios monitoring service appears flapping status

1. Unable to send message alert message when service flapping status[1409537279] SERVICE alert:rs-07; Memory; CRITICAL; hard;2; Connection refused by host[1409537279] SERVICE flapping alert:rs-07; Memory; STARTED; Service appears to has started flapping (28.2% change >= 20.0% threshold)2. Reason: The flap_detection_enabled parameter function, when the service between the two states frequently switching, in order to avoid the constant sending of alarms, this parameter is used to suppress the alar

The Nagios monitoring data script is recorded.

#!/bin/bash#port=$1u=$1w=$2c=$3bc=/usr/bin/bcgrep=/bin/grepawk=/bin/awkhead=/usr/bin/headtail=/usr/bin/tail#u= ' Http://219.148.23.137:8236/nagios_checkpage.ashx?key=SX_MPC ' content= ' curl-s $u ' #echo $content #echo '------------------------------' eval$ (awk-vinfo= "$content" ' Begin{split (info , TA, ";"); printf ("n=%s;t=%s;", ta[1],ta[2]);} ') #echo $n $t #echo '------------------------------' eval$ (awk-vinfo= "$t" ' Begin{split (Info,ta, ":");p rintf ("wait=%s", Ta[2]);} ') #echo

Using the nagios plug-in to log on to the vro for ping monitoring

Using the nagios plug-in to log on to the vro for ping monitoring Router_check_apn_ping.c #include Script auto_ssh_route01_gglc_80_49.sh called #!/usr/bin/expect -f#set port 22set user xxxoooset host 114.66.80.49set password xxxooo@2014set timeout 30spawn ssh $user@$hostexpect "*assword:*"send "$password\r"expect "*IRT*"send "ping -c 5 -m 1000 10.7.0.186\r"expect "*IRT*"send "quit"#expect eof

Login router of Nagios plugin for ping monitoring

Router_check_apn_ping.c#include The script that is called auto_ssh_route01_gglc_80_49.sh#!/usr/bin/expect-f#set Port 22set User xxxoooset host 114.66.80.49set password [email protected]set timeout 30spawn ssh [Email protected] $hostexpect "*assword:*" send "$password \ r" expect "*irt*" send "ping-c 5-m + 10.7.0.186\r" expect "*ir t* "Send" quit "#expect EOFLogin router of Nagios plugin for ping monitoring

Nagios Plugin's login firewall for session monitoring

ssh_firewall_session.sh--Log into the firewall and execute the DIS session statisticsFIREWALL_CHECK_SESSIONS.C--invokes the above script to filter out Sessioin valuesExecution:./firewall_check_sessions ssh_firewall_session.sh 192.168.0.1VI ssh_firewall_session.sh#!/usr/bin/expect-f#set Port 22set User Xxxxxxset host [lindex $argv 0 0]set password xxxxxxset timeout 30expect "*asswor d:* "Send" $password \ r "expect" *fw* "send" display session statistics\r "expect" *fw* "send" Quit "VI FIREWALL_C

Nagios plug-in monitoring F5pool CNGW host session number

How to use: F5_session_cngw_prod-h host-o oidVI F5_SESSION_CNGW_PROD.C#include Nagios plug-in monitoring F5pool CNGW host session number

CentOS System Quick Configuration Nagios monitor Server

Implementation principle of Nagios monitoring The Nagios software needs to be installed on a separate server, known as the Monitoring Center, where the server can use Linux or Unix operating systems; each monitored hardware host or service runs a Nagios software daemon that

Nagios Monitoring Server remaining memory

Linux system memory mechanism: In Linux there is such a thought, the memory is not white, so it as far as possible cache and buffer some data to facilitate the next use. But in fact, the memory is also available for immediate use. So free memory =free+buffers+cached#!/bin/bashusage= "' Basename$0 ' [-w|--warning]This article is from the "Smurf Linux ops" blog, so be sure to keep this source http://jin771998569.blog.51cto.com/2147853/1636399Nagios

Nagios Monitoring Server remaining memory

Linux system memory mechanism: In Linux there is such a thought, the memory is not white, so it as far as possible cache and buffer some data to facilitate the next use. But in fact, the memory is also available for immediate use. So free memory =free+buffers+cached#!/bin/bashusage= "' Basename$0 ' [-w|--warning]This article is from the "Smurf Linux ops" blog, so be sure to keep this source http://jin771998569.blog.51cto.com/2147853/1636439Nagios

centos6.5 nagios-4.0.8 system comes with sendmail mail alarm settings

1. Installation related set-upYum Install Mailx sendmail*Chkconfig SendMail onService SendMail Start2. Test mailecho "Hello World" | Mail [email protected]3. Edit Command.cfg# ' notify-host-by-email ' command definitionDefine Command{Command_nameNotify-host-by-emailCommand_line/usr/bin/printf "%b" "* * * * Nagios *****\n\nnotification Type: $NOTIFICATIONTYPE $\nhost: $ Hostname$\nstate: $HOSTSTATE $\naddress: $HOSTADDRESS $\ninfo: $HOSTOUTPUT $\n\ndat

Monitor the number of opened files in the nagios Agent System

Monitor the number of opened files in the nagios Agent System Vi check_open_file.c (for linux only) #include #include #include #define OK 0#define WARNING 1#define CRITICAL 2#define UNKNOWN 3#define LEN 1000#define FILE_NR "/proc/sys/fs/file-nr"int exitstatus=OK;char *exit_status[4]={"OK","WARNING","CRITICAL","UNKNOWN"};char status_information[LEN];char performance_data[LEN];int

Shell Scripts monitor Linux system memory usage (not using Nagios to monitor Linux) _linux shell

content 123456" | Mutt-s "Message header test Message"-a/scripts/test.txttest@126.com Monitoring system memory using free command: 1, use the free command to view the Linux system memory usage: (in m) Copy Code code as follows: # free-m (Execution results are the following style) Copy Code code as follows: Total us

Total Pages: 15 1 .... 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.