is it possible to get informations from ppp0 device? I'm testing about a couple of days but I can't get anything in graphics. The script is working and I am getting some output.
Is there a special trick to get a solution?
Informations about ppp0
Moderators: Developers, Moderators
Did you check the RRD to ensure that the data is being collected?
use:rrdtool fetch <filename> AVERAGE <datasource>
to find out.
If that shows up empty, I'd check your heartbeat/min/max setup in your rrd.
If there's data in your RRD but not in cacti, I'd check your min/max setup of your datasource in cacti. If you're using undefined in your RRD, you need to change to rrd_ds table in the cacti database.
execute the following (on a *nix/BSD host):
You can also change to default to 'U' if you like.
Aaron
use:rrdtool fetch <filename> AVERAGE <datasource>
to find out.
If that shows up empty, I'd check your heartbeat/min/max setup in your rrd.
If there's data in your RRD but not in cacti, I'd check your min/max setup of your datasource in cacti. If you're using undefined in your RRD, you need to change to rrd_ds table in the cacti database.
execute the following (on a *nix/BSD host):
Code: Select all
# <mysqlpath>/bin/mysql -u <mysqluser> -p<mysqlpassword> cacti
mysql> ALTER TABLE `cacti`.`rrd_ds` CHANGE `MaxValue`
`MaxValue` VARCHAR(8) DEFAULT '1';
mysql> ALTER TABLE `cacti`.`rrd_ds` CHANGE `MinValue`
`MinValue` VARCHAR(8) DEFAULT '0';
Aaron
Informations about ppp0
Hi yid,
yes I've checked the output and it shows:
1030659000: nan
1030659300: nan
1030659600: nan
1030659900: nan
1030660200: nan
1030660500: nan
1030660800: nan
1030661100: nan
...
The max and min value is the default setting (1/0).
Greetings Rainer.
yes I've checked the output and it shows:
1030659000: nan
1030659300: nan
1030659600: nan
1030659900: nan
1030660200: nan
1030660500: nan
1030660800: nan
1030661100: nan
...
The max and min value is the default setting (1/0).
Greetings Rainer.
Okay, your data is all unknown (that's what "nan" means).
First try upping the Max value in cacti to something way above what you'd expect to get back (you can tune it later). If cacti is creating your RRDs be sure to check the box that says to update your RRD.
If that doesn't work:
Are you using cacti's data_input feature, or writing a daemon? If you're using cacti's method, I don't really have any experience with this.
If you're writing a daemon to loop around, and update your RRDs, here's my suggestions:
Either your minimal_heartbeat is not matching your script, or your values are not within your min or max. Try upping the minimal_heartbeat, and setting min/max to "U" using the methods described prior.
For more info check the mailing lists (and a great google search engine for them) at http://www.rrdtool.org
First try upping the Max value in cacti to something way above what you'd expect to get back (you can tune it later). If cacti is creating your RRDs be sure to check the box that says to update your RRD.
If that doesn't work:
Are you using cacti's data_input feature, or writing a daemon? If you're using cacti's method, I don't really have any experience with this.
If you're writing a daemon to loop around, and update your RRDs, here's my suggestions:
Either your minimal_heartbeat is not matching your script, or your values are not within your min or max. Try upping the minimal_heartbeat, and setting min/max to "U" using the methods described prior.
For more info check the mailing lists (and a great google search engine for them) at http://www.rrdtool.org
Who is online
Users browsing this forum: No registered users and 1 guest