CPU Usage Graph..

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

Moderators: Developers, Moderators

bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

CPU Usage Graph..

Post by bkarna »

Hi..

I am new to cacti..Though I have already generated graph of traffic Usage. Now I want to generate graph for CPU usage too..I tried with CIsco template and UCD/net template too..But i was unable to generate CPU usage graph for the same device from which Traffic graph was already generated..The cacti version is 0.8.7g. and I am doing in Ubuntu version 11.04 GNU version...

Please help !!! :(
Danagar
Posts: 6
Joined: Tue Aug 28, 2012 3:32 am

Re: CPU Usage Graph..

Post by Danagar »

Hi,

Go to consol> select Device(Cisco device) > click on "Create Graphs for this Host" > check the box -Create: Cisco - CPU Usage.............them save ......you will able to see the CPU graph


:lol:
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

HI..

I have already tried with Cisco CPU Usage graph..BUt i didnt received any graph...I think its kind of problem with OID and MIB.. and I dont have much idea with it..So please any other solution.. :o
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CPU Usage Graph..

Post by phalek »

What type of device are you trying to monitor ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Hi..

Its a PTN device..layer 2 switch from ZTE. Actually I have already generated graph for Traffice for the same device.. I didnt found any problem for this.

But when I tried to find CPU Usage graph fro same device .. I didnt found any graph. Please help.. :)
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

DEVICE INFO:
DEVICE type:ZXCTN 9008

HARDWARE VERION:V2.08.32R2

SOFTWARE VERSION:V2.14
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CPU Usage Graph..

Post by phalek »

Basically you will need to find out the MIB/OID where you can read-out the CPU information and the build your own data query or copy/adapt the cisco template.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Can you please guide me how do i get MIB/OID of device I am using. And futher process till i get the graph.

I am very new to cacti and Linux too.. Plzz.. :). Its very important to me.. :(
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CPU Usage Graph..

Post by phalek »

Basically you follow the walkthrough from here:
http://docs.cacti.net/manual:088:3_temp ... a_template

BUt with the OID I am unable to help. You probably need to do a snmpwalk on the device and figure out the CPU oid one.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

HI Phalak..

I referred the link you posted.. Now I did used same command and got lots of OIDS ...

iso.3.6.1.2.1.4.21.1.12.10.3.8.24 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.8.28 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.9.0 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.9.4 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.0 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.4 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.8 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.12 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.16 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.20 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.24 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.10.28 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.10.3.255.240 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.12.192.168.70.102 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.13.10.2.1.0 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.2.2.16 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.2.3.0 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.2.7.0 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.2.7.28 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.2.9.4 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.207 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.208 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.209 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.210 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.211 = OID: ccitt.0
iso.3.6.1.2.1.4.21.1.13.10.3.0.212 = OID: ccitt.0

Instead of Integer and ccit I got more like IPaddr.. and other.. What it mean..??
Now how can I distinguish the OID for my CPU usage.??


I guess I am bit near now for graph.. Thank You.. :)
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CPU Usage Graph..

Post by phalek »

Maybe posting a complete snmpwalk on the device would help ( attach it as a txt file, removing any confidential data ).
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Dear Phalek..

Please find the attachment herewith this post..and plz do suggest me further. :)
Attachments
oid.txt
(91.58 KiB) Downloaded 229 times
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

HI..

Did you found any OID Value for CPU usage..? Please share some suggestion. :)

Thank You!!
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Hi Phalak,

After searching many I got OID like .1.3.6.1.4.1.3902.3.3.3.1.3.1.46 = STRING: "PerfMonitor". But I am still not getting graph for CPU usage. I have some confusing in configuration.

Well, does this OID value will help ?? Does STRING: "PerfMonitor" means for CPU Usage OID value ??
Any Idea.. Please suggest. :(
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: CPU Usage Graph..

Post by tosage »

Hello, we have ZTE ZXR10 maybe us OID are the same for your device :

1.3.6.1.4.1.3902.3.3.1.1.6.1 = CPU Master
1.3.6.1.4.1.3902.3.3.1.1.6.2 = CPU Salve

Value in the MIB are percent.
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests