patpro | 1 Oct 2003 16:01
Favicon

problem with graph generation on FreeBSD

Hello cacti users,

I'm running Cacti on a FreeBSD 4.8 box*, and I can't make it draw 
graph. The content of graphic file is just a 0.
I tried to disable the sending of headers, so that php would display 
warnings and errors, but it did not work.

I don't use php as a CGI, so I run the cmd.php from this crontab :
*/5 * * * * /usr/local/bin/php -f /usr/local/www/data/cacti/cmd.php > 
/dev/null 2>&1

apart from some error due to the BSD system (different from Linux), 
everything looks OK**

Any help greatly appreciated.

patpro
--

-- 

*
FreeBSD config :
4.8-RELEASE
apache-1.3.28
mod_php4-4.3.3
mysql-server-3.23.58
perl-5.6.1_13
rrdtool-1.0.41
cacti-0.8.3a

**
(Continue reading)

Carlos Molina Garcia | 1 Oct 2003 18:02

MRTG migration procedure.

Hi.

I'm on the MRTG- CACTI migration process.
I think that the best way to migrate MRTg data i sto convert the log 
files to rrd files throught rrdtool.
Now the main problem is that my MRTG log files was generated with 8 
minutes timeframe...

Are there any problems when I restore the XML rrd data file to Cacti..??

Any comments or alternatives ways to to that, will be welcome.

Thanks in advance.

Carlos

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Carlos Molina Garcia | 1 Oct 2003 18:13

User managment

Greetings.

On CACTI, I have some customers graphs and some internal graphs. 
Customers graphs are on the Customers tree, and the internal graphs are 
on the Internal tree. In resume we have 2 main trees to separate the graphs.
Now , I want that user sales can see only the customers tree and all the 
graphs are owns this customer tree. The other user, operator, can see 
only the graphs under Internal tree.
Is there a way to accomplish this task in a easy way...?
Note that "customers" tree can have more than 600 graphs...

Thanks a lot.

Carlos

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Diego Vargas | 1 Oct 2003 19:47

Re: MRTG migration procedure.

Hello.

You could always change the time frame that Cacti uses to poll the devices.
I'm not too sure but I think that you can resize the .rrd files.

- Diego Vargas

---------- Original Message -----------
From: Carlos Molina Garcia <cmolina <at> net-uno.net>
To: cacti-user <at> lists.sourceforge.net
Sent: Wed, 01 Oct 2003 12:02:25 -0400
Subject: [cacti-user] MRTG migration procedure.

> Hi.
> 
> I'm on the MRTG- CACTI migration process.
> I think that the best way to migrate MRTg data i sto convert the log 
> files to rrd files throught rrdtool.
> Now the main problem is that my MRTG log files was generated with 8 
> minutes timeframe...
> 
> Are there any problems when I restore the XML rrd data file to Cacti..??
> 
> Any comments or alternatives ways to to that, will be welcome.
> 
> Thanks in advance.
> 
> Carlos
> 
> -------------------------------------------------------
(Continue reading)

Daniel Pum | 1 Oct 2003 20:28
Favicon

Question on modifying existing Graph Template

I'm a somewhat new user of Cacti, although I have some Cricket and MRTG experience.
I'm using Cacti 0.8.3a on Linux.

I've noticed that if I modify a Graph Template, I can't view those graphs anymore for hosts that were already using that template.

My goal was to add a VRULE at midnight.

I noticed the following when I went to the individual graph and selected the [source] option.

Before modifying template:

    /opt/std/bin/rrdtool graph - \
    …deleted...
    DEF:a="/clu/lc-serversys/html/cacti/rra/cache_epicdevel_processes_133.rrd":gloref:AVERAGE \
    AREA:a#0000FF:"Global References"  \
    GPRINT:a:LAST:"Current\:%8.2lf %s"  \
    GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
    GPRINT:a:MAX:"Max\:%8.2lf %s"

After modifying template I get no graph output:  Again, here's the [source].

    /opt/std/bin/rrdtool graph - \
    …deleted...
    DEF:a="/clu/lc-serversys/html/cacti/rra/cache_epicdevel_processes_133.rrd":gloref:AVERAGE \
    AREA:a#0000FF:"Global References"  \
    GPRINT::LAST:"Current\:%8.2lf %s"  \
    GPRINT::AVERAGE:"Average\:%8.2lf %s"  \
    GPRINT::MAX:"Max\:%8.2lf %s"  \
    VRULE:1064984400#:""

I noticed that the [a] that was defined in the DEF statement is not referenced in the GPRINT statements.
Indeed, running this rrdtool graph command manually results in an error:
  ERROR: can't parse ':LAST:Current\: %8.2lf %s'

But, if I add in the [a], I get a successful PNG output.

Can someone point me at what I'm doing wrong?  Or is this a bug?
I have PHPMyAdmin setup if I need to manipulate data in the MySQL database.  I *really* don't want to lose my historical data by recreating the graph/data source.

Thanks in advance for any help.
--Daniel

Ian Berry | 2 Oct 2003 04:43

Re: Upgrade

To upgrade from 0.6.8a to 0.8.3a, you must follow this upgrade path:

0.6.8a -> 0.8
0.8 -> 0.8.3a

This should do the trick.

Ian

On Mon, 2003-09-29 at 12:43, Diego Costa wrote:
> Hi guys!.
> 
>       Anybody makes an upgrade from 0.6.8a to 0.8.3a ?? is it possible to do
> it? when I tried to do it i received an error it's appears that the db has
> some differences between this versions.
> 
> Thanks!
> Diego.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Ian Berry | 2 Oct 2003 04:53

Re: duplicate data source item.

Just to let you know, this has been fixed for 0.8.4.

Ian

On Tue, 2003-09-30 at 08:39, Miguel Afonso wrote:
> Hi,
> 
> I think there is also a problem with the data template for "Host MIB - Hard
> Drive Space"
> There are two data source items 'used' and that causes an error.
> I changed the first one to 'total' and edited the graph template to reflect
> this change and it worked ok.
> 
> I also fixed the DB Script to avoid the problem upon install.
> 
> -HangaS

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Ian Berry | 2 Oct 2003 08:14

Re: Question on modifying existing Graph Template

I am fairly sure that you are experiencing a known bug. Check out the
following message board post for information about how to fix it:

http://www.raxnet.net/board/viewtopic.php?p=8102#8102

You should be able to fix your graphs by selecting each broken one under
"Graph Management" and re-pointing the inbound and outbound data sources
under the "Graph Item Inputs" box.

Ian

On Wed, 2003-10-01 at 14:28, Daniel Pum wrote:
> I'm a somewhat new user of Cacti, although I have some Cricket and
> MRTG experience.
> I'm using Cacti 0.8.3a on Linux.
> 
> I've noticed that if I modify a Graph Template, I can't view those
> graphs anymore for hosts that were already using that template.
> 
> My goal was to add a VRULE at midnight.
> 
> I noticed the following when I went to the individual graph and
> selected the [source] option.
> 
> Before modifying template:
>         /opt/std/bin/rrdtool graph - \
>         …deleted...
>         DEF:a="/clu/lc-serversys/html/cacti/rra/cache_epicdevel_processes_133.rrd":gloref:AVERAGE \
>         AREA:a#0000FF:"Global References"  \
>         GPRINT:a:LAST:"Current\:%8.2lf %s"  \
>         GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
>         GPRINT:a:MAX:"Max\:%8.2lf %s"
>         
>         
> After modifying template I get no graph output:  Again, here's the
> [source].
>         /opt/std/bin/rrdtool graph - \
>         …deleted...
>         DEF:a="/clu/lc-serversys/html/cacti/rra/cache_epicdevel_processes_133.rrd":gloref:AVERAGE \
>         AREA:a#0000FF:"Global References"  \
>         GPRINT::LAST:"Current\:%8.2lf %s"  \
>         GPRINT::AVERAGE:"Average\:%8.2lf %s"  \
>         GPRINT::MAX:"Max\:%8.2lf %s"  \
>         VRULE:1064984400#:"" 
>         
>         
> I noticed that the [a] that was defined in the DEF statement is not
> referenced in the GPRINT statements.
> Indeed, running this rrdtool graph command manually results in an
> error:
>   ERROR: can't parse ':LAST:Current\: %8.2lf %s'
> 
> But, if I add in the [a], I get a successful PNG output.
> 
> Can someone point me at what I'm doing wrong?  Or is this a bug?
> I have PHPMyAdmin setup if I need to manipulate data in the MySQL
> database.  I *really* don't want to lose my historical data by
> recreating the graph/data source.
> 
> Thanks in advance for any help.
> --Daniel
> 

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Diego Costa | 2 Oct 2003 09:28
Picon

RE: Upgrade

Ian,

      I've compleated this steps, the new cacti import the old graph, users
and configuration perfectly, but the graphs didn't work more. Any ideas?.

Thanks!
Diego.

-----Mensaje original-----
De: cacti-user-admin <at> lists.sourceforge.net
[mailto:cacti-user-admin <at> lists.sourceforge.net]En nombre de Ian Berry
Enviado el: Miércoles, 01 de Octubre de 2003 11:43 p.m.
Para: cacti-user <at> lists.sourceforge.net
Asunto: Re: [cacti-user] Upgrade

To upgrade from 0.6.8a to 0.8.3a, you must follow this upgrade path:

0.6.8a -> 0.8
0.8 -> 0.8.3a

This should do the trick.

Ian

On Mon, 2003-09-29 at 12:43, Diego Costa wrote:
> Hi guys!.
>
>       Anybody makes an upgrade from 0.6.8a to 0.8.3a ?? is it possible to
do
> it? when I tried to do it i received an error it's appears that the db has
> some differences between this versions.
>
> Thanks!
> Diego.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
cacti-user mailing list
cacti-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cacti-user

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Jordi Sánchez | 2 Oct 2003 12:22

Cacti licensing page

I tried sending this e-mail to raxnet but the mailing system is not 
working right now.

The cacti licensing page is not working. It returns a 404 error.

Hope you fix it soon.

Thanks,

-- 

------------------------------------------------------------------
Jordi Sánchez                           esCERT-UPC / InetSecur
jsanchez <at> inetsecur.com                  C/ Jordi Girona, 29
http://www.inetsecur.com                Edifici Nexus II, 1-B
Tel. (+34)934137947 || (+34)934137948   08034 Barcelona España
Fax. (+34)934017055
      * If you want to succeed, double your failure rate *
------------------------------------------------------------------
Este e-mail  puede contener  información confidencial y/o privilegiada.
Si el presente mensaje no  va dirigido a  su persona  (o lo ha recibido
por error) por favor,  notifíquelo inmediatamente  al emisor y destruya
este e-mail. Cualquier divulgación,  copia o distribución no autorizada
del material contenido en este e-mail queda prohibida."

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Gmane