[FUG-BR] [OT] Cacti - FreeBSD

Augusto Ferronato augusto.ferronato em gmail.com
Terça Junho 23 16:23:13 BRT 2009


Instalei via Ports...

  	 RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Disk Space - /dev/da0s1f" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/localhost_hdd_free_10.rrd":hdd_used:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/localhost_hdd_free_10.rrd":hdd_free:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=TIME,1245767302,GT,a,a,UN,0,a,IF,IF,TIME,1245767302,GT,b,b,UN,0,b,IF,IF,+,1024,*
\
AREA:cdefa#F51D30FF:"Used"  \
GPRINT:cdefa:LAST:"     Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:cdefe#002A97FF:"Available":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefi#000000FF:"Total"  \
GPRINT:cdefi:LAST:"    Current\:%8.2lf %s"  \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening '/usr/local/share/cacti/rra/localhost_hdd_free_10.rrd':
No such file or directory

Mesmo erro :(

Muito estranho, hehehe :)

abs[]

2009/6/23 Augusto Ferronato <augusto.ferronato em gmail.com>:
> Vou tentar então :)
> Vlws
>
> 2009/6/23 mantunes <mantunes.listas em gmail.com>:
>> tente instalar via ports.. pq deve esta faltando algum dependência.
>> no FreeBSD é muito mais pratico usar o ports.
>>
>>
>> 2009/6/23 Augusto Ferronato <augusto.ferronato em gmail.com>:
>>> Não :)
>>>  Foi na mão mesmo :)
>>>
>>> Abs[]
>>>
>>> 2009/6/23 mantunes <mantunes.listas em gmail.com>:
>>>> instalou via ports ?
>>>>
>>>> 2009/6/23 Augusto Ferronato <augusto.ferronato em gmail.com>:
>>>>> Galera,
>>>>>  Instalei o Cacti no FreeBSD...configurei o SNMP para testes (está
>>>>> funcionando), só que quando eu crio os gráficos, sempre aparece a
>>>>> mensagem no debug do Graph
>>>>>
>>>>>  RRDTool Command:
>>>>>
>>>>> /usr/local/bin/rrdtool graph - \
>>>>> --imgformat=PNG \
>>>>> --start=-86400 \
>>>>> --end=-300 \
>>>>> --title="bsd-local - Used Space - Real Memory" \
>>>>> --rigid \
>>>>> --base=1024 \
>>>>> --height=120 \
>>>>> --width=500 \
>>>>> --alt-autoscale-max \
>>>>> --lower-limit=0 \
>>>>> --vertical-label="bytes" \
>>>>> --slope-mode \
>>>>> --font TITLE:12: \
>>>>> --font AXIS:8: \
>>>>> --font LEGEND:10: \
>>>>> --font UNIT:8: \
>>>>> DEF:a="/usr/local/www/data-dist/cacti/rra/bsd-local_hdd_used_21.rrd":hdd_total:AVERAGE
>>>>> \
>>>>> DEF:b="/usr/local/www/data-dist/cacti/rra/bsd-local_hdd_used_21.rrd":hdd_used:AVERAGE
>>>>> \
>>>>> AREA:a#002A97FF:"Total"  \
>>>>> GPRINT:a:LAST:"Current\:%8.2lf %s"  \
>>>>> GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
>>>>> GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
>>>>> AREA:b#F51D30FF:"Used"  \
>>>>> GPRINT:b:LAST:" Current\:%8.2lf %s"  \
>>>>> GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
>>>>> GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
>>>>>
>>>>> RRDTool Says:
>>>>>
>>>>> ERROR: opening '/usr/local/www/data-dist/cacti/rra/bsd-local_hdd_used_21.rrd':
>>>>> No such file or directory
>>>>>
>>>>>
>>>>>
>>>>> Se eu apago e crio de novo, dá o mesmo erro...não entendo, problema de
>>>>> permissão não é...no Linux consigo fazer funcionar sem problemas,
>>>>> alguma particularidade do Free??
>>>>>
>>>>> Abs[]
>>>>> --
>>>>> ------------------------------
>>>>> http://www.augustoferronato.net
>>>>>
>>>>> FreeBSD: The Freedom to Perform!
>>>>> http://www.spreadbsd.org/aff/40/1
>>>>> -------------------------
>>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Marcio Antunes
>>>> Powered by FreeBSD
>>>> ==================================
>>>> * Windows: "Where do you want to go tomorrow?"
>>>> * Linux: "Where do you want to go today?"
>>>> * FreeBSD: "Are you, guys, comming or what?"
>>>> -------------------------
>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>>
>>>
>>>
>>>
>>> --
>>> ------------------------------
>>> http://www.augustoferronato.net
>>>
>>> FreeBSD: The Freedom to Perform!
>>> http://www.spreadbsd.org/aff/40/1
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>>
>>
>>
>> --
>> Marcio Antunes
>> Powered by FreeBSD
>> ==================================
>> * Windows: "Where do you want to go tomorrow?"
>> * Linux: "Where do you want to go today?"
>> * FreeBSD: "Are you, guys, comming or what?"
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
>
>
> --
> ------------------------------
> http://www.augustoferronato.net
>
> FreeBSD: The Freedom to Perform!
> http://www.spreadbsd.org/aff/40/1
>



-- 
------------------------------
http://www.augustoferronato.net

FreeBSD: The Freedom to Perform!
http://www.spreadbsd.org/aff/40/1


Mais detalhes sobre a lista de discussão freebsd