CPU Load graphs

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

CPU Load graphs

Post by Herminator »

I can't get the cpu graphs work.
I have downloaded templates here form the forum called w32 - cpu load.
I can get the graph but it won't show info in it.

Has is something to do with the SOI numbers?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I too was unable to get the cpu graphs to work. Instead, I manually poll it's OID .1.3.6.1.2.1.25.3.3.1.2.
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

Post by Herminator »

OK i added a graph SNMP - Generic OID Template with and Data template Server - CPU Load (snmp_oid) and .1.3.6.1.2.1.25.3.3.1.2.
But still no cpu loads. I don't know what i'm doing wrong. Is it the number or the graph or datatemplate?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You need to walk that OID and find out what the last number is on that OID. Use Getif or net-snmp snmpwalk
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

Post by Herminator »

RFC1514-MIB,hrProcessorLoad.2,1.3.6.1.2.1.25.3.3.1.2.2,Integer,15

I have found this one.
I have added 1.3.6.1.2.1.25.3.3.1.2.2 but still no data in the graph. I think this should be the correct number?
User avatar
adrianmarsh
Cacti User
Posts: 437
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

Post by adrianmarsh »

what do you get if you do an snmpget on 1.3.6.1.2.1.25.3.3.1.2.2 ??
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

Post by Herminator »

C:\usr\bin>snmpget -c public -v 2c host 1.3.6.1.2.1.25.3.3.1.2.2
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 15
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please apply the following to your Cacti distribution and then, clear your poller cache. Your script server CPU queries/graphs should work at that point. This is the new version that supports snmpv3.

TheWitness
Attachments
ss_stuff.zip
(3.73 KiB) Downloaded 267 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

Post by Herminator »

I get download.php instead of the stuff zip
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

So rename it to ss_stuff.zip and extract.
Herminator
Posts: 17
Joined: Mon Aug 22, 2005 11:46 am

Post by Herminator »

I still haven't fixed it. Maybe some other ideas?
User avatar
adrianmarsh
Cacti User
Posts: 437
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

Post by adrianmarsh »

Have you added the scripts above?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests