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

Re: CPU Usage Graph..

Post by bkarna »

Hi Tosage..

Even I have using same ZXR10 here. NIce to hear that... :)

But I have one question.. I did snmpwalk as snmpwalk -c public -v1 10.3.0.253 .1.3.6.1.4.1.3902.3.3.1.1.6 and I found output as :

iso.3.6.1.4.1.3902.3.3.1.1.6.3 = INTEGER: 34
iso.3.6.1.4.1.3902.3.3.1.1.6.4 = INTEGER: 37
iso.3.6.1.4.1.3902.3.3.1.1.6.5 = INTEGER: 55
iso.3.6.1.4.1.3902.3.3.1.1.6.6 = INTEGER: 37
iso.3.6.1.4.1.3902.3.3.1.1.6.9 = INTEGER: 22
iso.3.6.1.4.1.3902.3.3.1.1.6.10 = INTEGER: 13
iso.3.6.1.4.1.3902.3.3.1.1.6.11 = INTEGER: 6
iso.3.6.1.4.1.3902.3.3.1.1.6.12 = INTEGER: 9

So, I didnt got :1.3.6.1.4.1.3902.3.3.1.1.6.1 and 1.3.6.1.4.1.3902.3.3.1.1.6.2.

Does this means that the value you have sent doesn't match..?? Well I will still try with OID value you mentioned.

Thank you lot and glad you too are using same device. :)

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

Re: CPU Usage Graph..

Post by bkarna »

Hi Tosage..

Even I have using same ZXR10 here. NIce to hear that... :)

But I have one question.. I did snmpwalk as snmpwalk -c public -v1 10.3.0.253 .1.3.6.1.4.1.3902.3.3.1.1.6 and I found output as :

iso.3.6.1.4.1.3902.3.3.1.1.6.3 = INTEGER: 34
iso.3.6.1.4.1.3902.3.3.1.1.6.4 = INTEGER: 37
iso.3.6.1.4.1.3902.3.3.1.1.6.5 = INTEGER: 55
iso.3.6.1.4.1.3902.3.3.1.1.6.6 = INTEGER: 37
iso.3.6.1.4.1.3902.3.3.1.1.6.9 = INTEGER: 22
iso.3.6.1.4.1.3902.3.3.1.1.6.10 = INTEGER: 13
iso.3.6.1.4.1.3902.3.3.1.1.6.11 = INTEGER: 6
iso.3.6.1.4.1.3902.3.3.1.1.6.12 = INTEGER: 9

So, I didnt got :1.3.6.1.4.1.3902.3.3.1.1.6.1 and 1.3.6.1.4.1.3902.3.3.1.1.6.2.

Does this means that the value you have sent doesn't match..?? Well I will still try with OID value you mentioned.

Thank you lot and glad you too are using same device. :)

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

Re: CPU Usage Graph..

Post by bkarna »

Hi..

Also which version of ZXR10 are you using ???

MY VERSION ::

[Master]
ZXR10 ROS Version V4.08.32
ZXCTN 9008 Software, Version ZXCTN 9000 V2.08.32R2B56, RELEASE SOFTWARE
Copyright (c) 2001-2010 by ZTE Corporation
[Slave]
ZXR10 ROS Version V4.08.32
ZXCTN 9008 Software, Version ZXCTN 9000 V2.08.32R2B56, RELEASE SOFTWARE
Copyright (c) 2001-2010 by ZTE Corporation

Please respond .. I am really in want for this Solution.. :(

Bikash.
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: CPU Usage Graph..

Post by tosage »

Hello,

V4.08.24R1
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
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Hello..

Can you suggest me which OID should I Use now for CPU Usage . As 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 didnt came while doing SNMP Walk.

Please suggest the procedure .. I am really in need of this.. :(

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

Re: CPU Usage Graph..

Post by bkarna »

Hello ..

Can you suggest me how you got that OID value for Master and Slave..CPU_USAGE. May be I am doing in a wrong way..

And also what after I got the OID value?? Can you give me step wise configuration as I am vry new in Cacti..

Will highly appreciate your HELP.. :)

Bikash.
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: CPU Usage Graph..

Post by tosage »

Sorry but i don't have time today, i check this asap...
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
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Hello..

Can I meet some solution... :(
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Hi All,

Finally I was able to get OID for all my CPU. :)

So please anyone can provide me the way to configure graph using OID and also how to merge graph as I have many processor in One Box and I want to merge them in single graph..

Thank You All for your comments and suggestion. :wink:

Bikash.
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: CPU Usage Graph..

Post by tosage »

Good job ;)
You must create a Data Query based on a XMl if your OID is indexed http://docs.cacti.net/manual:087:3a_adv ... data_query
Or you can create as much data template as OID that you have to recover, after you create your Graph template by fetching your data template.
http://docs.cacti.net/manual:087:3_temp ... a_template
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
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

Thank You Tosage..

I am able to graph my CPU Usage. :)

But as I have told you that I have 3(Main Processor, Network Processor & Switch Processor) CPU in my BOX. Now I am generating all the three graphs separately. But is there any provision for making all the CPU_Usage in single graph showing its Usage.

Please help :)... Thank You Agaian.


Bikash.
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: CPU Usage Graph..

Post by tosage »

Yep in your Graph template you add :

a graph item for your Main Processor data template (Min - Max - Avg - Last)
a graph item for your Network Processor data template (Min - Max - Avg - Last)
a graph item for your Switch Processor data template (Min - Max - Avg - Last)

Like in my print screen ;)
Attachments
Example of Graph Template with multiple graph item
Example of Graph Template with multiple graph item
Graph Item - Data Template Example.png (39.51 KiB) Viewed 3038 times
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
bkarna
Posts: 22
Joined: Tue Mar 19, 2013 12:28 am

Re: CPU Usage Graph..

Post by bkarna »

HI..

I was able to make graph from ubuntu... But it was for test phase. Now I am trying In RHEL-5. I was able to browse cacti graph but now I am not getting any graph in cacti. Even for the Local Host.

Also the RRD tool says OK. And while doing TCPdump host MYIP i get following message:

11:01:30.768316 IP 10.70.3.20.36061 > 10.3.0.253.snmp: GetRequest(28) system.sysUpTime.0
11:01:30.771670 IP 10.3.0.253.snmp > 10.70.3.20.36061: GetResponse(32) system.sysUpTime.0=820116904
11:01:31.107150 IP 10.70.3.20.38157 > 10.3.0.253.snmp: GetRequest(28) system.sysDescr.0
11:01:31.110510 IP 10.3.0.253.snmp > 10.70.3.20.38157: GetResponse(185) system.sysDescr.0=[|snmp]
11:01:31.110946 IP 10.70.3.20.34371 > 10.3.0.253.snmp: GetRequest(28) system.sysUpTime.0
11:01:31.113884 IP 10.3.0.253.snmp > 10.70.3.20.34371: GetResponse(32) system.sysUpTime.0=820116904
11:01:31.114141 IP 10.70.3.20.40245 > 10.3.0.253.snmp: GetRequest(28) system.sysName.0
11:01:31.116707 IP 10.3.0.253.snmp > 10.70.3.20.40245: GetResponse(35) system.sysName.0="KAT122B"
11:01:31.117030 IP 10.70.3.20.49613 > 10.3.0.253.snmp: GetRequest(28) system.sysLocation.0
11:01:31.119497 IP 10.3.0.253.snmp > 10.70.3.20.49613: GetResponse(81) system.sysLocation.0=[|snmp]
11:01:31.120037 IP 10.70.3.20.54133 > 10.3.0.253.snmp: GetRequest(28) system.sysContact.0
11:01:31.127289 IP 10.3.0.253.snmp > 10.70.3.20.54133: GetResponse(43) system.sysContact.0=[|snmp]
11:01:54.135535 IP 10.70.3.20.58711 > 10.3.0.253.snmp: GetRequest(28) system.sysDescr.0
11:01:54.138323 IP 10.3.0.253.snmp > 10.70.3.20.58711: GetResponse(185) system.sysDescr.0=[|snmp]
11:01:54.138826 IP 10.70.3.20.52302 > 10.3.0.253.snmp: GetRequest(28) system.sysUpTime.0
11:01:54.156166 IP 10.3.0.253.snmp > 10.70.3.20.52302: GetResponse(32) system.sysUpTime.0=820119204
11:01:54.156606 IP 10.70.3.20.44969 > 10.3.0.253.snmp: GetRequest(28) system.sysName.0
11:01:54.159291 IP 10.3.0.253.snmp > 10.70.3.20.44969: GetResponse(35) system.sysName.0="KAT122B"
11:01:54.159602 IP 10.70.3.20.34027 > 10.3.0.253.snmp: GetRequest(28) system.sysLocation.0
11:01:54.163486 IP 10.3.0.253.snmp > 10.70.3.20.34027: GetResponse(81) system.sysLocation.0=[|snmp]
11:01:54.163859 IP 10.70.3.20.44254 > 10.3.0.253.snmp: GetRequest(28) system.sysContact.0
11:01:54.166454 IP 10.3.0.253.snmp > 10.70.3.20.44254: GetResponse(43) system.sysContact.0=[|snmp]
11:05:22.508001 IP 10.70.3.20.44871 > 10.3.0.253.snmp: GetRequest(28) system.sysDescr.0
11:05:22.524839 IP 10.3.0.253.snmp > 10.70.3.20.44871: GetResponse(185) system.sysDescr.0=[|snmp]
11:05:22.525617 IP 10.70.3.20.34220 > 10.3.0.253.snmp: GetRequest(28) system.sysUpTime.0
11:05:22.530413 IP 10.3.0.253.snmp > 10.70.3.20.34220: GetResponse(32) system.sysUpTime.0=820140004
11:05:22.530789 IP 10.70.3.20.37895 > 10.3.0.253.snmp: GetRequest(28) system.sysName.0
11:05:22.534107 IP 10.3.0.253.snmp > 10.70.3.20.37895: GetResponse(35) system.sysName.0="KAT122B"
11:05:22.534418 IP 10.70.3.20.34165 > 10.3.0.253.snmp: GetRequest(28) system.sysLocation.0
11:05:22.537575 IP 10.3.0.253.snmp > 10.70.3.20.34165: GetResponse(81) system.sysLocation.0=[|snmp]
11:05:22.538009 IP 10.70.3.20.60439 > 10.3.0.253.snmp: GetRequest(28) system.sysContact.0
11:05:22.543156 IP 10.3.0.253.snmp > 10.70.3.20.60439: GetResponse(43) system.sysContact.0=[|snmp]


That is it only shows the general information like Location, Uptime, Contact...etc..

So please help.


Bikash
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests