Some general questions

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
AndreyChe
Posts: 2
Joined: Thu Oct 24, 2013 7:35 am

Some general questions

Post by AndreyChe »

Hey guys,

Trying to create templates for cisco dial-peers to graph the number of calls being processed on dial-peer. The input looks like:

Code: Select all

10/24/2013 11:10:06 AM - CMDPHP: Poller[0] Host[10] DS[259] SNMP: v2: 10.106.255.1, dsname: successfulCalls, oid: .1.3.6.1.2.1.10.21.1.2.2.1.3.301.130, output: 87

10/24/2013 11:10:06 AM - CMDPHP: Poller[0] Host[10] DS[259] SNMP: v2: 10.106.255.1, dsname: successfulCalls, oid: .1.3.6.1.2.1.10.21.1.2.2.1.3.301.130, output: 89
It means that there were two successful calls between two measurements. Maybe these calls are still last, it doesn't matter. I want Cacti to draw 2 successful calls from these data. Instead of this I am getting something like this:

Image

Why am I getting these strange values with m and u and fractional numbers? I am using COUNTER as a data source type for every data source item in template, please tell me if I need to provide some additional info.

I've just noticed that there is a different order of arguments being passed to rrdtool, can this be a problem?

Code: Select all

10/24/2013 10:40:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/dedsdf01er01_successfulcalls_270.rrd --template refusedCalls:acceptedCalls:failedCalls:successfulCalls 1382596801:2264:44678:0:0

10/24/2013 10:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/dedsdf01er01_successfulcalls_270.rrd --template refusedCalls:successfulCalls:failedCalls:acceptedCalls 1382597102:2264:0:0:44682

10/24/2013 10:50:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/dedsdf01er01_successfulcalls_270.rrd --template refusedCalls:acceptedCalls:failedCalls:successfulCalls 1382597401:2264:44684:0:0
Thanks!

Andrey Che
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Some general questions

Post by BSOD2600 »

This is a rrdtool fundamental. I highly suggest you read the following:

http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html
http://www.vandenbogaerdt.nl/rrdtool/process.php
AndreyChe
Posts: 2
Joined: Thu Oct 24, 2013 7:35 am

Re: Some general questions

Post by AndreyChe »

Thanks a lot!
BSOD2600 wrote:This is a rrdtool fundamental. I highly suggest you read the following:

http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html
http://www.vandenbogaerdt.nl/rrdtool/process.php
Andrey Che
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests