07-10-2015
Exact is the best solution, but I do not have admin access cacti in my work and I will not have
My boss said if I could create a script to do this by rrdtool
The only way would be to create this script, to read the file, set a limit on mbps, calculate the maximum limit and warn you if you exceed.
Thanks for the tip, but I need to find a way to learn and do this.
6 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
All
I currently run an application called OpenNMS. This is a free enterprise grade NMS. Its current framework uses RRDs to collect performance/node level data such as cpu load via snmp. all data is stored in these RRDs. I was wondering if anyone out there has had a chance or a need to move the... (2 Replies)
Discussion started by: pupp
2 Replies
2. IP Networking
Hi all,
I have a graph sent from customer.
And i just know this is created using rrdtool after search the web.
Based on this graph,
1. I read that it can be set, but is it possible to know what is the time step for each point in this graph? is it 5 minutes or something?
2. Let says it is 5... (4 Replies)
Discussion started by: wilsonSurya
4 Replies
3. Shell Programming and Scripting
I wrote a quick little script that will eventually end up as a cron job to export rrd files for my cacti server.
Here is the script:
#!/bin/bash
rm -rf /backup/cacti_xml/*
cd /var/www/html/rra
ls -1 *.rrd | awk '{print "rrdtool dump "$1" > /backup/cacti_xml/"$1".xml"}' | sh -x
Is there... (5 Replies)
Discussion started by: TheBigAmbulance
5 Replies
4. Red Hat
Hi Guys,
Why do we use RRDtool in MRTG?
I have implemented MRTG for some routers,
I have read some notes about RRDTOOL also but don't know what is use of these tool.
Any one one please explain me the use of RRDTOOL in their own words? (1 Reply)
Discussion started by: manalisharmabe
1 Replies
5. Infrastructure Monitoring
hi,
When we tried to add host in jffnms and marked all interfaces, it worked well with newly added hosts for linux. However if its solaris, we cannot see CPU interface. The error in the graph is RRD files for interface id 2190 has not been created by the Poller Process yet.
Pls advise.
... (0 Replies)
Discussion started by: lhareigh890
0 Replies
6. Shell Programming and Scripting
I have this code that gives this error on Linux and will be grateful if you can help
import rrdtool
try:
ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2));
except rrdtool.error, e:
print e
When i run the above i get the below error
except... (1 Reply)
Discussion started by: kaf3773
1 Replies
LEARN ABOUT DEBIAN
rrdcollect.conf
RRDCOLLECT.CONF(5) RRDcollect RRDCOLLECT.CONF(5)
NAME
rrdcollect.conf -- RRDcollect configuration file.
SYNOPSIS
/etc/rrdcollect.conf
DESCRIPTION
The rrdcollect.conf file contains information where to look for data and to which database file put it.
Variables
# Configuration values:
step = 60
directory = /var/local/rrd
loglevel = LOG_NOTICE
Patterns
# System statistics:
file:///proc/stat
"cpu %d %d %d %d" stat.rrd:user,nice,system,idle
"processes %u" stat.rrd:processes
"swap %u %u" stat.rrd:swap_in,swap_out
# System load: 1, 5 and 15 min. average
file:///proc/loadavg
"%f %f %f" avg1.rrd:load,avg5.rrd:load,avg15.rrd:load
# Memory usage:
file:///proc/meminfo
"Mem: %*d %d %d %d %d %d" memory.rrd:used,free,shared,buffers,cached
"Swap: %*d %d %*d" memory.rrd:swap_used
# S.M.A.R.T. HDD temperature:
file:///proc/ide/hda/smart_values
7:"%*04x %*04x %02x%*02x" temperature.rrd:hda
Regular expressions
# Using regular expressions:
file:///proc/stat
/cpu (d+) (d+) (d+) (d+)/ stat.rrd:user,nice,system,idle
Please look into examples/ directory for working examples.
FILES
/etc/rrdcollect.conf
SEE ALSO
rrdcollect(8), rrdtool(1), pcre(3)
AUTHOR
Dawid Kuroczko <qnex@knm.org.pl>
Artur R. Czechowski <arturcz@hell.pl>
2 September 2002 RRDcollect 0.2.10 RRDCOLLECT.CONF(5)