cpu utilisation problem
Moderators: Developers, Moderators
cpu utilisation problem
hello guys, i'am french and my english is bad but
i have a probleme with cacti.
i can't to post the cpu utilisation on a graph, i post the memory, traffic interface ect, but not the cpu utilisation.
somebody can it help me
i have a probleme with cacti.
i can't to post the cpu utilisation on a graph, i post the memory, traffic interface ect, but not the cpu utilisation.
somebody can it help me
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please install the entire contents of the distribution tar/zip files <cacti>/scripts and <cacti>/resources folders. Do not take your older versions of these files forward as described in the upgrade documentation (we will correct in 0.9).
There were changes to both ss_hostdisk.php and ss_hostcpu.php files between versions. Once you have copied the newer versions, then clear your poller cache.
TheWitness
There were changes to both ss_hostdisk.php and ss_hostcpu.php files between versions. Once you have copied the newer versions, then clear your poller cache.
TheWitness
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?
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?
i have re-ins[b]tal[/b]l the entire contents of the distribution tar/zip files cacti0.8.6f.
i have used the windws2000 host template but i do not have the graph cpu and disque.
i don't understand because this command is ok :
snmpwalk -c public -v 1 172.20.50.1 .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 3
my poller cache:
Data Source: test - Logged in Users
RRD: /var/www/html/cacti/rra/test_users_12.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.5.0 (Host: 172.20.50.1, Community: public)
Data Source: test - Processes
RRD: /var/www/html/cacti/rra/test_proc_13.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 172.20.50.1, Community: public)
Data Source: test - Used Space - C: Label:Disque
RRD: /var/www/html/cacti/rra/test_hdd_total_14.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get used 2
Data Source: test - Used Space - C: Label:Disque
RRD: /var/www/html/cacti/rra/test_hdd_total_14.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get total 2
Data Source: test - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/test_hdd_total_15.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get used 6
Data Source: test - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/test_hdd_total_15.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get total 6
Data Source: test - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/test_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/test_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 172.20.50.1/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/test_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.16777219 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 172.20.50.1/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/test_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.16777219 (Host: 172.20.50.1, Community: public)
my snmp cache:
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifHwAddr, Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifSpeed, Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifType, Field Value: softwareLoopback(24)
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifDescr, Field Value: MS TCP Loopback interface
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIP, Field Value: 127.0.0.1
OID: .1.3.6.1.2.1.4.20.1.2.127.0.0.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifOperStatus, Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIndex, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifHwAddr, Field Value: 00:00:0E:0C:6B:DF:C4
OID: .1.3.6.1.2.1.2.2.1.6.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifSpeed, Field Value: 1000000000
OID: .1.3.6.1.2.1.2.2.1.5.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifType, Field Value: ethernetCsmacd(6)
OID: .1.3.6.1.2.1.2.2.1.3.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifDescr, Field Value: Intel(R) PRO/1000 MT Desktop Adapter
OID: .1.3.6.1.2.1.2.2.1.2.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifOperStatus, Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifIndex, Field Value: 16777219
OID: .1.3.6.1.2.1.2.2.1.1.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifIP, Field Value: 172.20.50.1
OID: .1.3.6.1.2.1.4.20.1.2.172.20.50.1
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 1, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 1, Field Name: hrStorageDescr, Field Value: A:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 2, Field Name: hrStorageAllocationUnits, Field Value: 512 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 2, Field Name: hrStorageDescr, Field Value: C: Label:Disque local Serial Number fc7daec1
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 3, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 3, Field Name: hrStorageDescr, Field Value: D:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 4, Field Name: hrStorageDescr, Field Value: E:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 4, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 5, Field Name: hrStorageDescr, Field Value: Z:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 5, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 6, Field Name: hrStorageDescr, Field Value: Virtual Memory
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 6, Field Name: hrStorageAllocationUnits, Field Value: 65536 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Processor Information
Index: 0, Field Name: hrProcessorFrwID, Field Value: 0
OID:
if somebody has a idee
i have used the windws2000 host template but i do not have the graph cpu and disque.
i don't understand because this command is ok :
snmpwalk -c public -v 1 172.20.50.1 .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 3
my poller cache:
Data Source: test - Logged in Users
RRD: /var/www/html/cacti/rra/test_users_12.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.5.0 (Host: 172.20.50.1, Community: public)
Data Source: test - Processes
RRD: /var/www/html/cacti/rra/test_proc_13.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 172.20.50.1, Community: public)
Data Source: test - Used Space - C: Label:Disque
RRD: /var/www/html/cacti/rra/test_hdd_total_14.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get used 2
Data Source: test - Used Space - C: Label:Disque
RRD: /var/www/html/cacti/rra/test_hdd_total_14.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get total 2
Data Source: test - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/test_hdd_total_15.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get used 6
Data Source: test - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/test_hdd_total_15.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get total 6
Data Source: test - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/test_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/test_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 172.20.50.1/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/test_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.16777219 (Host: 172.20.50.1, Community: public)
Data Source: test - Traffic - 172.20.50.1/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/test_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.16777219 (Host: 172.20.50.1, Community: public)
my snmp cache:
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifHwAddr, Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifSpeed, Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifType, Field Value: softwareLoopback(24)
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifDescr, Field Value: MS TCP Loopback interface
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIP, Field Value: 127.0.0.1
OID: .1.3.6.1.2.1.4.20.1.2.127.0.0.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifOperStatus, Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIndex, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifHwAddr, Field Value: 00:00:0E:0C:6B:DF:C4
OID: .1.3.6.1.2.1.2.2.1.6.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifSpeed, Field Value: 1000000000
OID: .1.3.6.1.2.1.2.2.1.5.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifType, Field Value: ethernetCsmacd(6)
OID: .1.3.6.1.2.1.2.2.1.3.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifDescr, Field Value: Intel(R) PRO/1000 MT Desktop Adapter
OID: .1.3.6.1.2.1.2.2.1.2.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifOperStatus, Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifIndex, Field Value: 16777219
OID: .1.3.6.1.2.1.2.2.1.1.16777219
Host: test, SNMP Query: SNMP - Interface Statistics
Index: 16777219, Field Name: ifIP, Field Value: 172.20.50.1
OID: .1.3.6.1.2.1.4.20.1.2.172.20.50.1
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 1, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 1, Field Name: hrStorageDescr, Field Value: A:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 2, Field Name: hrStorageAllocationUnits, Field Value: 512 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 2, Field Name: hrStorageDescr, Field Value: C: Label:Disque local Serial Number fc7daec1
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 3, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 3, Field Name: hrStorageDescr, Field Value: D:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 4, Field Name: hrStorageDescr, Field Value: E:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 4, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 5, Field Name: hrStorageDescr, Field Value: Z:
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 5, Field Name: hrStorageAllocationUnits, Field Value: 0 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 6, Field Name: hrStorageDescr, Field Value: Virtual Memory
OID:
Host: test, SNMP Query: SNMP - Get Mounted Partitions
Index: 6, Field Name: hrStorageAllocationUnits, Field Value: 65536 Bytes
OID:
Host: test, SNMP Query: SNMP - Get Processor Information
Index: 0, Field Name: hrProcessorFrwID, Field Value: 0
OID:
if somebody has a idee
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Malza,
Please note the following:
TheWitness
Please note the following:
The "Action: 1" is incorrect for the script server. It must be "Action: 2". You must not have completed the migration steps correctly. Please go through them again. Specifically, your Data Query needs to change it's data input method to utilize the "Get Script Server Data (Indexed)".RRD: /var/www/html/cacti/rra/test_hdd_total_14.rrd
Action: 1, Script: /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.20.50.1 public 1 2 161 500 get used 2
Data Source: test - Used Space - C: Label:Disque
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Once you do that, you will have to "Clear Poller Cache" under System Utilities.
TheWitness
TheWitness
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?
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?
hello,
i have modify my data input methode to Get Script Server Data (Indexed)" but the cpu graph is always empty.
i have dump the result and the file just conten nan 'note a number'.
the snmp agent of win2000 is version 2.
my cacti juste function with version 1. when i use version 2 i have a snmp error. i don't understant why but i can graph the traffic, the ping latency, the load average.
thanks for your help
i have modify my data input methode to Get Script Server Data (Indexed)" but the cpu graph is always empty.
i have dump the result and the file just conten nan 'note a number'.
the snmp agent of win2000 is version 2.
my cacti juste function with version 1. when i use version 2 i have a snmp error. i don't understant why but i can graph the traffic, the ping latency, the load average.
thanks for your help
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Post your poller_cache again.
TheWitness
TheWitness
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?
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?
bonjour,
just if somebody have same problem
now all is ok but i don't understand why Cacti functions well whith a computer and not with other.
in my case, both computer are the same ones but cacti functions correctly with 1 only. my 2 computer is maxdata with asus p4p533 mainbord with p4 processor
bye
just if somebody have same problem
now all is ok but i don't understand why Cacti functions well whith a computer and not with other.
in my case, both computer are the same ones but cacti functions correctly with 1 only. my 2 computer is maxdata with asus p4p533 mainbord with p4 processor
bye
Who is online
Users browsing this forum: No registered users and 0 guests