Cacti,zabbix,nagios respective principles and differences

Source: Internet
Author: User
Tags rrd rrdtool

Cacti principle:

1, Component (STEP):

NET_SNMP: responsible for data collection

RRDtool: Data storage and plotting

MySQL: Save the template and host information

Data acquisition:cacti uses poller(the polling device) to collect information, primarily using the SNMP protocol to collect data from remote devices.

data storage:cacti uses rrdtool(Ring database) to store collected data (time series data). rrd merges the raw data with the consolidated data to save space for historical data storage.

data show:rrdtool drawing function.

2, working principle:

The NET_SNMP protocol collects data on time, saves it to rrd, and can find the corresponding host in MySQL when the user needs to view the monitoring information of a host . IP , and then draw the graph in the command rrd

3, monitoring object:

network traffic,CPU usage, hard disk usage, etc.

Zabbix principle:

1, Construction:

Agent: Monitored object

Server: Responsible for data collection

Proxy: Agent

2, principle:

Primary Passive mode:

The main passive mode is relative to the client, the active is the client actively send the collected data to the server side, and the passive mode is the server came to tell the agent I need something, Agent acquisition.

Zabbix and nagios 's alarm mechanism, through the plugin template to achieve

3, monitoring object:

Network status

With more monitoring items

Nagios principle:

1, Component:

Main program ( Nagios Daemon):The main part of Nagios implements monitoring, performance, notification, and event handling capabilities. These functions are abstract logic and scheduling, and there is no actual monitoring implementation of the device interaction, and the interaction with the device is implemented in the following layer of Plugin , which is what Nagios sees as a mutable part.

Web Interface:Nagiosof theWebpage,Nagiosof theWebContainer isApache HTTPD,Nagioshas developed aHTTPDmodule, and providesWebpage. Web Interfacewith theNagios Daemonthrough file interface interaction,WebLogical ReadNagiosthe status file(Status.dat)to display its monitoring information.

plug-in program (nagios-plugins)

Four optional accessories ( NRPE,NSCA,nsclient++,ndoutils)

Ndoutils: Used to store the configuration information of Nagios and the data generated by each event into a database to achieve deceleration and fast processing of these data (server side)

NRPE nsclient: Working on the client

NSCA: passive (allow monitored hosts to proactively send monitoring information to the server)

need to be installed on both the server and client side NSCA---Send-nsca

2, principle:

Alarm is implemented based on state change, and will not warn (soft state) after the state change, when the state changes after two acquisition (hard state)

3, monitoring object: Focus on the monitoring of the host and service

Fewer self-monitoring items


Cacti,zabbix,nagios respective principles and differences

Related Article

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.