[SOLVED]Problem with a CDEF

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
sopalin
Posts: 2
Joined: Tue Oct 07, 2008 4:36 am
Location: Sophia-Antipolis France

[SOLVED]Problem with a CDEF

Post by sopalin »

Hi everybody

I need to graph total et used space from my hard drive. With my Get SNMP Data i retrieve an integer. But i need to convert this number in Go.

First i multiplicate data source by 4096 then i divide by 1024^3

I created this CDEF
cdef=CURRENT_DATA_SOURCE,4096,*,1073741824,/

I try with 2 CDEF whit one inside other, but with the same result and cacti doesn't want graph this calcul.

Someone have an idea ?

ps: sorry for my english
Last edited by sopalin on Fri Oct 10, 2008 4:16 am, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The CDEF looks fine. Please post the exact error message
Reinhard
sopalin
Posts: 2
Joined: Tue Oct 07, 2008 4:36 am
Location: Sophia-Antipolis France

Post by sopalin »

Sorry for my post, but after to have applied my CDEF to all element from my grpah, the graph is ok.

I think we must applied the cdef to all element else it dosen't work.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests