Home > 14all cgi error > 14all.cgi error cannot create graph

14all.cgi Error Cannot Create Graph

syntax This document describes the configuration file syntax of the cgi script 14all.cgi. 14all.cgi displays web pages and graphics from rrdtool files. In most cases it will be used together with MRTG. 14all uses roughly the same configuration file syntax as MRTG. In fact in a standard installation 14all and MRTG will use the same config file. 14all version 1.1 even uses the configuration file parser of MRTG. This file is an addition to the documentation of MRTG. Please look there first to get an overall picture. Syntax The general format is: The syntax is line-oriented, i.e. one ``config'' line is one config setting. A line in the file that starts with white space (space or tab) is a continuation line and is appended to the previous line, making up on config line. Empty (file) lines and lines that start with a # are ignored. Setting formats A config line can have one of the following formats: A global config setting Setting: Value This is used for global settings. This includes WorkDir, HtmlDir, ImageDir, LogDir, LogFormat, Language, Interval, IconDir, WriteExpires, Refresh, UseRRDTool, 14all*Columns, 14all*Background, 14all*RRDToolLog, 14all*ErrorPic, 14all*GraphErrorsToBrowser A target config setting Setting[target]: value This is used for the target settings. This includes Target, RouterUptime, MaxBytes, MaxBytes1, MaxBytes2, Title, PageTop, AddHead, AbsMax, Unscaled, WithPeak, Suppress, Directory, XSize, YSize, Options, Kilo, kMG, Background, Ylegend, ShortLegend, Legend1, Legend2, Legend3, Legend4, LegendI, LegendO, XZoom, YZoom, XScale, YScale, YTics, YTicsFactor, Colours, Step, Timezone, Weekformat, TreshDir, ThreshMinI, ThreshMaxI, ThreshProgI, ThreshProgOKI, ThreshMinO, ThreshMaxO, ThreshProgO, ThreshProgOKO, 14all*Logarithmic, 14all*GraphTotal, 14all*DontShowIndexGraph, 14all*IndexGraphSize To distinguish these settings from the globals they will be written as Target[] in this document (i.e. with []). Some value formats Some settings share the syntax of the values: Boolean settings This includes WriteExpires, UseRRDTool, 14all*GraphErrorsToBrowser, 14all*Logarithmic[], 14all*GraphTotal[], 14all*DontShowIndexGraphp[], 14all*stackgraph. The values ``0'' (zero) and ``no'' will be interpreted as false, every other value counts as true. If the setting isn't found in the config it defaults to 0. (UseRRDTool is only available for 14all v1.0. Use LogFormat with version v1.1) Numbers Most

copied the .log > files to new WorkDir, etc., just like everything else), and it won't > create graphs. Searching the archives turned up one post saying "This > is almost always a permissions issue", but the permissions are exactly > the same on all files. What else could it be? It's not the file permissions. 14all stores the graphs on disk to avoid unnecessary recalculations. Check the web servers error log file to see where 14all tries to store the graphs. Check the permissions of this directory and its parent directories. If you still get this problem the web servers error log file http://my14all.sourceforge.net/config.html should tell you more about it. Rainer -- Unsubscribe mailto:rrd-users-request@xxxxxxxxxxxxxxx?subject=unsubscribe Help mailto:rrd-users-request@xxxxxxxxxxxxxxx?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Thread at a glance: Previous Message by Date: Re: Graph size question > when I go to a URL > http://mrtg.pacspro.com/cgi-bin/14all.cgi?cfg=rrdrouter1cpu.cfg for > example, I get a daily graph for each target. I can't find a way to > change the size of that graph... XSize and YSize seem to only change the > graphs http://osdir.com/ml/db.rrdtool.user/2002-07/msg00059.html that are generated when I click on that first graph. If there's a > change I can make so that all graphs will be a new, bigger size, that would > be great. This "daily" graphs on the index page are treated differently. Use 14all*indexgraphsize[_]: 250 100 to change this (250x100 is the default size for the index graphs). > Also, where does 14all.cgi expect the MRTG .pngs to be? I have them in > the WorkDir and /cgi-bin, but they're still broken links... 14all uses the setting "icondir: ..." to build the URL for these graphs. Make it relative to the mrtg installation dir. Look into the web servers access/error log file to get the real file/path (after the web server has expanded it). Rainer -- Unsubscribe mailto:rrd-users-request@xxxxxxxxxxxxxxx?subject=unsubscribe Help mailto:rrd-users-request@xxxxxxxxxxxxxxx?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Next Message by Date: Solaris 8 Compile Errors Trying to compile rrdtool 1.0.39 on Solaris 8 box but getting compile errors. Please help! I¹ve searched the archives but couldn¹t find anything specific to my problem. I¹ve got all the GNU packages installed and am running Perl 5.6.1. All GNU packages and Perl were precompiled versions. Configure completes successfully but make generates the following errors: gcc -DHAVE_CONFIG_H -I. -I. -I../config -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-p

(and user profiles in User Manager: you may need to allow 'login locally' depending on how IIS runs on your http://rrd-users.oetiker.narkive.com/ZNWpV8vT/me-too-unable-to-create-graphs-using-14all-cgi box), I then proceeded to thenext RRD zombie stage, where I still am now: you get beautiful, emptygraphs...-----Original Message-----From: David Sawyer [mailto:***@uk.mckhboc.com]Sent: Wednesday, June 20, 2001 3:20 AMTo: https://shivamshukla.wordpress.com/2014/10/24/mrtg-rrd-tool-installation-on-centos-6/ 'RRD users'Subject: [rrd-users] Unable to create graphs using 14all.cgiInstead of the graphs being created I get the following message."Error: Cannot create graph"I get the directory listing at 14all.cgi error the start and I'm able to drill down to viewthe day, week, month & year graphs view, but I get the above message insteadof the graphs.I know the configs work as I am currently using the same configs for nativeMRTG.I have set up a main script called "RRDmain.cfg" that has include commandspointing to my 14all.cgi error cannot devices...# <--- start of RRDmain.cfg --->WorkDir: c:\inetpub\wwwroot\rrd# START RDTOOL Add-ons -------------------------------------# Modify Logfiles (*.log) to RRD format (*.rrd)LogFormat: rrdtool# RRD Executable (rrdtool.exe) locationPathAdd: c:\mrtg\rrdtool\perl-shared\t# RRD Perl module (RRDs.pm) locationLibAdd: c:\mrtg\rrdtool\perl-shared# STOP RDTOOL Add-ons -------------------------------------Include: c:\mrtg\bin\warwick\war1.cfgInclude: c:\mrtg\bin\warwick\war2.cfgetc, etcInclude: c:\mrtg\bin\newcastle\new1.cfgInclude: c:\mrtg\bin\newcastle\new2.cfgetc, etc# <--- end of RRDmain.cfg --->It looks as thought 14all.cgi cannot locate the *.rrd files, but there areno errors when running MRTG and the rrd files are being updated.I can also create the graphs manually so that proves the configs and the rrdfiles are ok.TIADavid SawyerNeed a Windows Daemon that allows you to change your MRTG/RRDtool scriptswithout having to stop the 'Perl' process then visitwww.geocities.com/mrtg_daemon----------------------------------------------------------------------------The information contained in this e-mail is confidential and is intendedonly for the named recipient(s). If you are not the intended recipient youmust not copy, distribute, or take any action or reliance on it.If you have received this e-mail in error, please notify the sender.Any unauthorised disclosure of the information contained in this e-mailis strictly prohibited.------------------------------------------------------------------------------Unsubscribe mailto:rrd-users-***@list.ee.ethz.ch?subject=unsubscribeHelp mailto:rrd-users-***@list.ee.ethz.ch?subject=helpArchive http://www.ee.ethz.ch/~slist/rrd-usersWebAdm

Robin Database (RRD) Tool on CentOS. Note: The following version were used during the installation. Operating System: CentOS 4 (Final), Architecture X86_64 MRTG: mrtg-2.17.4 RRD Tool: rrdtool-1.4.9 Certain commands need to be changed according to the versions (specifically the path of MRTG & RRD Tools). [root@localhos]# yum install -y gcc gd gd-devel perl libpng libxml2-devel cairo-devel glib2-devel pango-devel perl-devel perl-CGI net-snmp net-snmp-utils Create a backup of the original snmpd.conf file. [root@localhost]# mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig Edit the snmpd.conf file [root@localhost]# vi /etc/snmp/snmpd.conf Replace the contents of the snmpd.conf file with the below lines. com2sec local localhost public com2sec mynetwork 192.168.1.0 public group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork group MyROGroup usm mynetwork view all included .1 80 access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none syslocation New Delhi, INDIA syscontact FooBar Note : the above file parameters can be modified as per requirement. Restart the SNMP services. [root@localhost]# /etc/init.d/snmpd restart MRTG & RRD Installation. [root@localhost]# cd /tmp [root@localhost]# wget http://oss.oetiker.ch/mrtg/pub/mrtg.tar.gz [root@localhost]# tar zfx mrtg.tar.gz [root@localhost]# cd mrtg-2.17.4 [root@localhost]# ./configure --prefix=/usr/local/mrtg2 [root@localhost]# make [root@localhost]# make install [root@localhost]# cd .. [root@localhost]# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool.tar.gz [root@localhost]# tar zfx rrdtool.tar.gz [root@localhost]# cd rrdtool-1.4.9/ [root@localhost]# ./configure --prefix=/usr/local/rrdtool [root@localhost]# make [root@localhost]# make install [root@localhost]# mkdir /var/www/mrtg [root@localhost]# mkdir/home/mrtg [root@localhost]# /usr/local/mrtg2/bin/cfgmaker --global "WorkDir: /var/www/mrtg" --global "Options[_]: growright, bits" --global "RunAsDae

 

Related content

No related pages.