Cacti of the intermittent graph and Result from the SNMP not valid

Source: Internet
Author: User
Tags snmp snmpget

problem one, intermittent into a diagram

Just started to make a habitual attempt:

Web-side Delete metadata and views and delete the corresponding source data at the command line, no effect, check the domestic and Foreign Forum website, no effect, there is a domestic Bo friend also deleted the original and new, helpless the entire device deleted, and delete all the relevant source data ( command line ) , the second day of rebuilding was normal 、、、

So after all the heart is not steadfast ah so look at the next log, see the following article:

Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/97/wKioL1hSTdKQKB6XAABIm0XtDA4512.png "title=" 1.png " alt= "Wkiol1hstdkqkb6xaabim0xtda4512.png"/>

This is due to the fact that too many monitoring points have caused cacti to take all the data through Snmpget for longer than a second.

Is there any reason for this? Therefore, the following solutions are found:

the following are collected and collated :

" Cacti 's authors have taken this into account for a long time, so there are two ways to solve this problem in Cacti:

1), change poller to Cactid.

the default Poller is cmd.php, and Cactid is written using C program, efficiency will be several times higher than cmd.php! Note that although the poller option has cactid selection, Cactid is not installed by default, so it will not take effect even if you select it.

You can download the Cactid source code or rpm from here (http://www.cacti.net/cactid_download.php) (bin ) file for installation. You can then specify the path of the Cactid in path.

2), in the Poller settings to increase the number of cmd.php process, that is, running multiple cmd.php at the same time to collect data. However, this will add to your system load ( pull down the actual operation ).

If your machine performance is too poor, it is recommended to use Cactid as well.

looks like the upgrade version is also a method http://cacti.net/changelog.php Latest version 0.8.8h I'm 0.8.8a.

"Bonus" Cactid Installation steps:

Spine needs to being compiled before it can be used. If you found a binary package of Spine for your operating system, you can skip the next step about compiling Spine. Compiling Spine

Tar xvzf Cacti-cactid-0.8.6.tar CD cactid-0.8.6

./configure && Make

copy Cactid and cactid.conf to /usr/local/spine/

Setting up Spine

Once Spine is installed on your system, you must perform the following steps to make your CACTI installation aware of it.

1. Login to Cacti as a admin user.

2. Select Settings on the menu and click the Paths tab.

3. Enter the complete path to your Cactid binary in the Spine poller File path field

and click Save. (/usr/local/spine/cactid) 4. Click the Poller tab.

5. Choose "Spine" from the Poller Type dropdown box and click Save.

After completing these steps, Cacti would spawn Spine every 5 minutes instead of cmd.php. If you have problems getting Spine to gather data, you can always temporarily the change Poller Type back to "cmd.php". c2> "( self-translating or Word blaster )

PS: This problem occurs when disk space is full , because disk space is slow and Snmpget time becomes longer ( this sentence is the sum of the words of a blogger )

I choose the second, why ? simple, rude, not explained .

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/9B/wKiom1hSTi_gzmd0AAJMmBuVyZs912.png "title=" 2.png " alt= "Wkiom1hsti_gzmd0aajmmbuvyzs912.png"/>

Friendly tips: As mentioned above, it will increase your system load. , from a process CPU utilization of 20% to 5 processes of 60%, So if you also want to simple rough, then after the best observation of their own CPU to take an appropriate value, after all, the right is the best!

PS: the acquisition of a wave of data from the previous more than 300 seconds into 88 seconds!

Attached top chart, usually:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/8B/9D/wKiom1hSdqbDOHliAABTf_yoqow415.png "title=" 1.png " alt= "Wkiom1hsdqbdohliaabtf_yoqow415.png"/>


When the number of processes is 1 :

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/9D/wKiom1hSdseBGKkDAAGYJMlglsQ168.png "title=" 2.png " alt= "Wkiom1hsdsebgkkdaagyjmlglsq168.png"/>


When the number of processes changes to 5 :

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/99/wKioL1hSduaypx9NAALogc7Ex30877.png "title=" 3.png " alt= "Wkiol1hsduaypx9naalogc7ex30877.png"/>


issue two, warning:result from SNMP not valid

Device: Locate the host with a (host) ID of 3 to view its corresponding datasource (DS) ID.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/97/wKioL1hSTj7S6ylUAADVd65ohkk889.png "title=" 3.png " alt= "Wkiol1hstj7s6yluaadvd65ohkk889.png"/>

the number in the corresponding log HOST[3] ds[86]

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8B/9B/wKiom1hSTlGhRZphAAHilY_kpSY895.png "title=" 4.png " alt= "Wkiom1hstlghrzphaahily_kpsy895.png"/>

the host is Windows 86-94id interval of the monitoring items do not match, so the data reported above the error (there are a lot of Cisco VLAN port) fullscreen problem deleted in the morning, in vain for many years old driver's hand is almost broken, What the? The skill is shallow? I'm just asking you a couple of pages you're afraid of 、、、

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8B/9B/wKiom1hSTmPg80joAAWPXgMdDIU907.png-wh_500x0-wm_3 -wmp_4-s_951877556.png "title=" 5.png "alt=" Wkiom1hstmpg80joaawpxgmddiu907.png-wh_50 "/>

The World is pure:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8B/97/wKioL1hSTnnzERz8AAGBjLmjt9M336.png "title=" 6.png " alt= "Wkiol1hstnnzerz8aagbjlmjt9m336.png"/>


question three, Warning:poller Output Table not Empty

As the prompt is because the output file is not empty, guess is because the page was deleted but not at the command line delete, so cacti again the ID number was reassigned,so、、、

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8B/98/wKioL1hSTsuDO2mLAAEII9cjlos076.png "title=" 7.png " alt= "Wkiol1hstsudo2mlaaeii9cjlos076.png"/>

Welcome to the face if you have a Bo friend.

workaround? You made the simple rough is the principle, delete the original ( Web + command line ) re-build, properly drop!

links Cacti Frequently asked questions to solve

Http://www.cnyunwei.com/thread-261-1-1.html


There are problems that should be updated, crossing mark, if you want to looklook it 、、、


Note: Civil engineers who do not sing are not a good luck dimension!!! Qqq



This article is from the "Linux_wei" blog, make sure to keep this source http://linuxww.blog.51cto.com/11418425/1883070

Cacti of the intermittent graph and Result from the SNMP not valid

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.