Your script can't find RRDs. You have to install rrdtool, CentOS doesn't provide this package by default but you can use Dag Wiers' repository. One of the configured repositories failed Dag RPM Repository , and yum doesn't have enough cached data to continue.
At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this:. This is most often useful if you are using a newer distribution release than is supported by the repository and the packages for the previous distribution release still work.
Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage:. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo.
If it is a very temporary problem though, this is often a nice compromise:. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Where to get RRDs. Ask Question. Asked 11 years, 3 months ago. Active 4 years, 10 months ago. Viewed 22k times. I'm trying to set up opsview Nagios on a CentOS 5 server running perl 5.
Improve this question. Brad Mace. Brad Mace Brad Mace 3 3 gold badges 16 16 silver badges 31 31 bronze badges. I saw that debian has a librrds-perl package which seems to point back to rrdtool[1]. If so, why? Tobias Oetiker. Maxwell Carey. No more broken than any Perl module that has a dependency on an external library or binary, e.
If you try to install one of these from CPAN without first installing the dependency, the build will break. This makes sense, if you think about it. Alceu R. There can be as many DSs in a database as needed. After every step interval, a new value of DS is supplied to update the database. In our example mentioned above, a new PDP is generated every seconds.
Note, that if you do NOT supply new data points exactly every seconds, this is not a problem, RRDtool will interpolate the data accordingly. This assumes that the value is always increasing the difference between the current and the previous value is greater than 0.
If you want to see the rate of change in free disk space on your server, then you might want to use the DERIVE data type. The difference between the current and the previous value is always equal to the current value. Thus it just stores the current value divided by the step interval seconds in our example. GAUGE does not save the rate of change.
It saves the actual value itself. There are no divisions or calculations. Memory consumption in a server is a typical example of gauge. The difference between the different types DSTs can be explained better with the following example:. The next parameter is heartbeat. In our example, heartbeat is seconds. If the database does not get a new PDP within seconds, it will wait for another seconds total seconds.
For example, the traffic flow counter on a router keeps increasing. Now when the next value becomes available, it will calculate the difference between the current value and the previous value 0 which is not correct. The next two parameters are the minimum and maximum value, respectively. If the variable to be stored has predictable maximum and minimum values, this should be specified here.
The concept of the consolidated data point CDP comes into the picture here. Lets have a look at the example above. Each PDP occurs at seconds.
This means, this RRA is an archive for one day. Therefore this RRA is an archive for one month. A single database can have many RRAs. Another important feature of RRDtool is its ability to create graphs. The "graph" command uses the "fetch" command internally to retrieve values from the database. With the retrieved values it draws graphs as defined by the parameters supplied on the command line. A single graph can show different DS Data Sources from a database.
It is also possible to show the values from more than one database in a single graph. Often, it is necessary to perform some math on the values retrieved from the database before plotting them. For example, in SNMP replies, memory consumption values are usually specified in KBytes and traffic flow on interfaces is specified in Bytes.
0コメント