Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jul 22, 2019 2:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Need help creating graph template for Asterisk (PBX) calls
PostPosted: Thu Jul 11, 2019 8:49 am 
Offline

Joined: Thu Jun 27, 2019 8:57 am
Posts: 7
Hello,

I'm trying to setup a graph (and associated data source) for calls processes on an Asterisk PBX servers. I have two OID's identified that give me the information that I want. One is a guage32 and the other a counter32.

I'm working on the guage32 first, as it seems more straight forward. In a nutshell it returns the number of calls that are currently active. It's a an integer between 0 and as many calls as the PBX can handle.

In the Graph template I have the following GPRINT items setup:

Current - CF Type LAST
Average - CF Type AVERAGE
Maximum - CF Type MAX

When it graphs I get funky values. The current is a decimal value (and it can only be a integer). The Average and Max are also decimal values (average makes sense to be a decimal) but the values are way, way off.

I've run snmpget's to debug it and the values look correct. 0 when there are no calls, 1 when where is one call going on etc. I know the values are correct as it's a testing PBX and I control the number of calls.

Let me know what info is needed to assist/debug this and I'll be happy to provide it.

Thanks!


Top
 Profile  
 
 Post subject: Re: Need help creating graph template for Asterisk (PBX) cal
PostPosted: Wed Jul 17, 2019 9:12 am 
Offline
Cacti User

Joined: Tue Feb 07, 2017 1:55 pm
Posts: 65
Location: Venezuela
If you can confirm that the data stored into the RRD files is what you expect then it could be a graph problem, i recomend you to check that there are no CDEF activated and that you are not using modified versions of the VDEF.

_________________
Beast
GitHub: DoubleBeast


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group