Cisco Call Manager - Phones

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Cisco Call Manager - Phones

Post by Instigater »

Cisco Call Manager gives draft statistics through SNMP so I made simple graph that shows Registered, Unregistered and Rejected Phones.

NB! Template is for 1 minute polling interval. Adjustment must be made to run on default Cacti setup.
Attachments
cacti_graph_template_cisco_call_manager_phones.xml
(10.66 KiB) Downloaded 3480 times
cacti_host_template_cisco_call_manager.xml
(302 Bytes) Downloaded 3778 times
Last edited by Instigater on Mon Jun 19, 2006 7:28 am, edited 2 times in total.
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

...
Attachments
cacti_data_template_cisco_call_manager_registered_phones.xml
(2.33 KiB) Downloaded 2799 times
cacti_data_template_cisco_call_manager_rejected_phones.xml
(2.33 KiB) Downloaded 2638 times
cacti_data_template_cisco_call_manager_unregistered_phones.xml
(2.33 KiB) Downloaded 2858 times
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

How can i fix this

Post by nduda78 »

When importing I get the following errors;

[success] Cisco Call Manager - Phones [update]
+ Unmet Dependency: (Data Template Item) ccm_regphones
+ Unmet Dependency: (GPRINT Preset) Normal
+ Unmet Dependency: (GPRINT Preset) Exact Numbers
+ Unmet Dependency: (Data Template Item) ccm_unregphones
+ Unmet Dependency: (Data Template Item) ccm_rejectphones
+ Unmet Dependency: (CDEF) Total All Data Sources


[success] Cisco Call Manager - Registered Phones [update]
+ Unmet Dependency: (Data Input Method) Get SNMP Data
+ Unmet Dependency: (Data Input Field) OID
+ Unmet Dependency: (Data Input Field) SNMP Version (1, 2, or 3)
+ Unmet Dependency: (Data Input Field) SNMP Password
+ Unmet Dependency: (Data Input Field) SNMP Username
+ Unmet Dependency: (Data Input Field) SNMP Community
+ Unmet Dependency: (Data Input Field) SNMP IP Address
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

I intentionaly didn't make graph templates with dependencies included. I don't want to break your RRAs. Everything should work when you make following steps.

Adjust data templates:
1. select right RRAs
2. set step to 300

Make some graphs and tell us if it is working or not.
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

:(

Post by nduda78 »

I am a total newb, and just want to see how the CCM graphs work...can anyone explain what he means? perhaps a step by step. I have teh templates imported and created teh graph but it never makes it, red X still.

debug mode show:

ERROR: can't parse '#00CF00:Registered Phones'
Brettw
Posts: 26
Joined: Fri Mar 18, 2005 12:25 am

Post by Brettw »

When you say select right RRA's do you mean in after importing the template select the data template and change the data imput method?

No graphs from changing this to Get SNMP Data.

Any ideas would be great.

Thanks

Brett
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

Select right RRAs in Data Templates:
Cisco Call Manager - Registered Phones
Cisco Call Manager - Rejected Phones
Cisco Call Manager - UnRegistered Phones
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Post by nduda78 »

Can we get some more details...such a good script in theory but no support. After donig what you said to do, from what I can understand you writing....i get the following on the Graph now,

ERROR: can't parse ':LAST: Current\:'


can you take some screenshots of your data templates and graph templates please....It would be nice to use this.
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Post by nduda78 »

also, wouldnt there need to be a data input method to collect the data? something sounds weird with all this....but im still new.
wmunguiam
Posts: 16
Joined: Fri Jan 19, 2007 7:05 pm

Post by wmunguiam »

Hi everybody...

I am really interresting in monitor some parameteres of Cisco Call Manager Servers...

I have seen that there is no updated information about this...

I Have used the templates posted...

First I IMPORT : Data Templates (reg, inreg and rejec)

then I edited each data template added by modifying the follow:

*Data Input Method --> Get SNMP Data
*Asociated RRA --> Daily, Weekly, Monthly, Yearly (Hourly no yet because I have not added the 1 minute Poll Patch... )

*Step --> 300

all the fields are set by the template imported...

Then I IMPORTED Graph Template "Cisco Call Manager - Phones " and edited:

Graph Template Items [edit: Cisco Call Manager - Phones]
In Each

FROM: Item # 1 (No Task): Registered Phones

TO: Item # 1 (ccm_regphones): Registered Phones

It has benn do it changing the follow:

*Data Source [Field Not Templated]
The data source to use for this graph item. --> Cisco Call Manager - REgistered.. Unregi... or Rejected

*CDEF Function
A CDEF (math) function to apply to this item on the graph. --> Total All Data Source


I did it for every Item # and taking care about denomination: REgis, UNRE, or REJEc ...

At last save what i have done and IMPORTED: HOST TEMPLATE Cisco Call Manager

IN "Associated Graph Templates" I added Graph Template: --> 1) Cisco Call Manager - Phones

at this point everything should be working... BUT NOT!

someone can add some information... adn help everybody..


help will apreciated...!!

WALTER MUNGUIA
wmunguiam
Posts: 16
Joined: Fri Jan 19, 2007 7:05 pm

Post by wmunguiam »

this is my Log File:

02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[146] DS[625] WARNING: Result from SNMP not valid. Partial Result:
02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[146] DS[626] WARNING: Result from SNMP not valid. Partial Result:
02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[146] DS[624] WARNING: Result from SNMP not valid. Partial Result:
02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[145] DS[622] WARNING: Result from SNMP not valid. Partial Result:
02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[145] DS[621] WARNING: Result from SNMP not valid. Partial Result:
02/15/2007 08:46:09 AM - CMDPHP: Poller[0] Host[145] DS[620] WARNING: Result from SNMP not valid. Partial Result:

and this is Data source debug for Registered phones:

Data Source Debug

/usr/bin/rrdtool create \
/var/www/cacti/rra/callmanager_publisher_ccm_regphones_624.rrd \
--step 300 \
DS:ccm_regphones:GAUGE:600:0:10000 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

And this it the architecture:
Cacti Version - 0.8.6j
Plugin Architecture - 1.1
Poller Type - CMD.php
Server Info - Linux 2.6.17-10-server
Web Server - Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_ssl/2.0.55 OpenSSL/0.9.8b
PHP - 5.1.6
PHP Extensions - xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, soap, SPL, shmop, session, Reflection, posix, mime_magic, mbstring, iconv, hash, gettext, ftp, filepro, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, curl, gd, imap, ldap, mcrypt, mhash, pspell, snmp, SQLite, xmlrpc, xsl, mysql, mysqli
MySQL - 5.0.24a-Debian_9-log
RRDTool - 1.2.11
SNMP - 5.2.2
Plugins
  • Host Info (hostinfo - v0.1)
    Update Checker (update - v0.3)
    Network Discovery (discovery - v0.7)
    FlowView (flowview - v0.3)
    Syslog Monitoring (haloe - v0.4)
    Device Monitoring (monitor - v0.7)
    NTop Viewer (ntop - v0.1)
    Thresholds (thold - v0.3.1)
    Network Tools (tools - v0.2)
    Simple Links page (links - v0.3)
    PHP Network Weathermap (weathermap - v0.82)
    ipsubnet - v0.4b
    PHP Network Managing (manage - v0.4)
    Configuration manager (configmanager - v0.5f)

Thanks for help!

and sorry for the language!!!
johngillespie
Posts: 23
Joined: Thu Jun 15, 2006 7:03 am
Location: Paris, France

Post by johngillespie »

Did you ever get this working ? I'm interested in getting some charts off my call manager too :)
wmunguiam
Posts: 16
Joined: Fri Jan 19, 2007 7:05 pm

Post by wmunguiam »

no yet my friend....

I have upgraded my Cisco Call manager Cluster from v3.2 to v4.2... and I am going to continuing trying to manage them...


If someone could do it.. please reply....
crackrocksteady
Posts: 45
Joined: Wed Dec 06, 2006 12:02 am
Location: Perth , Australia

Post by crackrocksteady »

Here is my template for monitoring Registered and Unregistered phones in CCM. I have had these running successfully for serveral months now..
Attachments
cacti_graph_template_ccm_phones.xml
(13.98 KiB) Downloaded 2517 times
Tekk
Posts: 34
Joined: Wed Aug 16, 2006 11:01 am
Location: France

Post by Tekk »

Hi crackrocksteady,

Do you graph other stats on Call Manager ?
Like active calls for example or anything else...
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests