ERROR: unknown option '--slope-mode'
Moderators: Developers, Moderators
ERROR: unknown option '--slope-mode'
Hi. I'm using RRDTool 1.2.15 and my setting in Cacti for RRDTool Utility Version is set to 1.2.x. Graphs aren't getting generated.
RRDTool Command:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Central Library - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
DEF:a="/usr/local/groundwork/apache2/htdocs/cacti/rra/central_library_5min_cpu_52.rrd":5min_cpu:AVERAGE \
AREA:a#FF0000:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
ERROR: unknown option '--slope-mode'
If I change my setting to 1.0.x I do get graphs but why isn't it working like it's supposed to? I was running RRDTool 1.2.12 before this and getting the same error which prompted the upgrade to 1.2.15.
Thanks for any help.
RRDTool Command:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Central Library - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
DEF:a="/usr/local/groundwork/apache2/htdocs/cacti/rra/central_library_5min_cpu_52.rrd":5min_cpu:AVERAGE \
AREA:a#FF0000:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
ERROR: unknown option '--slope-mode'
If I change my setting to 1.0.x I do get graphs but why isn't it working like it's supposed to? I was running RRDTool 1.2.12 before this and getting the same error which prompted the upgrade to 1.2.15.
Thanks for any help.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Double check the path of the rrdtool executable in the Cacti settings.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
It's correct. Copy and paste from the settings window to a terminal:
darth:~ # /usr/local/rrdtool-1.2.15/bin/rrdtool
RRDtool 1.2.15 Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Oct 6 2006 13:21:46
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, dump, restore,
last, first, info, fetch, tune, resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
darth:~ #
darth:~ # /usr/local/rrdtool-1.2.15/bin/rrdtool
RRDtool 1.2.15 Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Oct 6 2006 13:21:46
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, dump, restore,
last, first, info, fetch, tune, resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
darth:~ #
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Using the mysql client run the following query and post the results:
Code: Select all
select value from settings where name = 'path_rrdtool';
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
That looks good too.
Code: Select all
mysql> select value from settings where name = 'path_rrdtool';
+---------------------------------------+
| value |
+---------------------------------------+
| /usr/local/rrdtool-1.2.15/bin/rrdtool |
+---------------------------------------+
1 row in set (0.00 sec)
mysql>
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Web server running in a chroot?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ERROR: unknown option '--slope-mode'
apache error log is full of these. when i paste the command into a terminal session i get the error too.
I am using rrdtool-1.2.15.
I've done the rrdtool query, results below.
Any ideas ? is it just the version of rrdtool ?
H
"mysql> select value from settings where name = 'path_rrdtool';
+------------------+
| value |
+------------------+
| /usr/bin/rrdtool |
+------------------+
1 row in set (0.00 sec)
mysql> exit
Bye
nagios@crt-mfs1:/opt/nagios/cacti> which rrdtool
/usr/bin/rrdtool
nagios@server:/opt/nagios/cacti> "
I am using rrdtool-1.2.15.
I've done the rrdtool query, results below.
Any ideas ? is it just the version of rrdtool ?
H
"mysql> select value from settings where name = 'path_rrdtool';
+------------------+
| value |
+------------------+
| /usr/bin/rrdtool |
+------------------+
1 row in set (0.00 sec)
mysql> exit
Bye
nagios@crt-mfs1:/opt/nagios/cacti> which rrdtool
/usr/bin/rrdtool
nagios@server:/opt/nagios/cacti> "
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
in settings, did you choose RRDtool 1.2.x ?
in settings, did you choose RRDtool 1.2.x ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
oops
just did a search on rrdtool.
the one in /usr/bin is v1 !!!!
the one i wanted was
/usr/local/rrdtool-1.2.15/bin/rrdtool
amn, damn and double damn.
sorry folks. Amended it in the settings and now i have partial graphs. On to the next problem.
H
the one in /usr/bin is v1 !!!!
the one i wanted was
/usr/local/rrdtool-1.2.15/bin/rrdtool
amn, damn and double damn.
sorry folks. Amended it in the settings and now i have partial graphs. On to the next problem.
H
Who is online
Users browsing this forum: No registered users and 0 guests