Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Target

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
colejv



Joined: 19 Mar 2008
Posts: 16

PostPosted: Thu Oct 23, 2008 10:19 am    Post subject: Target Reply with quote

I am trying to graph email sent/received as a link instead of bandwidth but I am receiving the actual value instead of COUNTER data, am I missing something?

I am using 0.96test with poller_output

Data Source Debug
Code:


/usr/local/bin/rrdtool create \
/usr/local/share/cacti/rra/dsablackberry_messagesfiltered_1033.rrd \
--step 60  \
DS:MessagesFiltered:COUNTER:120:0:1000000000 \
DS:MessagesExpired:COUNTER:120:0:1000000000 \
DS:MessagesQueued:GAUGE:120:0:1000000000 \
DS:MessagesSent:COUNTER:120:0:1000000000 \
DS:MessagesReceived:COUNTER:120:0:1000000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \



Code:
TARGET gauge:/usr/local/share/cacti/rra/dsablackberry_messagesfiltered_1033.rrd:MessagesReceived:MessagesSent


edit I included the wrong data-source
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Thu Oct 23, 2008 11:09 am    Post subject: Reply with quote

I don't quite follow... you would get the messages/second value, since you've chosen COUNTER as the type. Is that wrong?
Back to top
colejv



Joined: 19 Mar 2008
Posts: 16

PostPosted: Thu Oct 23, 2008 11:26 am    Post subject: Reply with quote

I would expect to get messages per second, but I am getting the value as it is retrieved from the device

I did not think I explained it very well

I was expecting a number that I could scale x 60 to get messages per minute

say 10/60

but instead I am getting 1348885
and next polling cycle 1348895
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Thu Oct 23, 2008 11:30 am    Post subject: Reply with quote

Ah, I see. Try enabling DEBUG logging for a poller cycle. You should see the data fetch/calculation stuff in the logs then. Maybe it will shed some light.

Also, do you get the same problem if you don't use poller_output? The code used to get the data is fairly different in that case.
Back to top
colejv



Joined: 19 Mar 2008
Posts: 16

PostPosted: Thu Oct 23, 2008 11:50 am    Post subject: Reply with quote

It works if I turn off poller_output, but since I am using some features from that time to debug
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Thu Oct 23, 2008 12:21 pm    Post subject: Reply with quote

colejv wrote:
It works if I turn off poller_output, but since I am using some features from that time to debug


OK, so I can't blame rrdtool I'll take a look later this evening.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group