Monitor CPU on the AIX 5.1
Moderators: Developers, Moderators
Monitor CPU on the AIX 5.1
Hi,
I'm using cacti 0.8.6c for a while.I can monitor the windows2000,2003 very well.My problems are I can't monitor AIX 5.1 Servers.I got only used space file system and network traffic but no CPU,Memory,Process,Login User...=( How can I do? Please suggest me..Thank you...
) SNMP - Get Mounted Partitions (Verbose Query) Uptime Goes Backwards Success [60 Items, 20 Rows]
2) SNMP - Get Processor Information (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
3) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [20 Items, 3 Rows]
(Verbose Query SNMP - Get Processor Information)
Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti-0.8.6c/scripts/ss_host_cpu.php 172.20.x.x abc 1 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti-0.8.6c/scripts/ss_host_cpu.php 172.20.x.x abc 1 query index'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
I'm using cacti 0.8.6c for a while.I can monitor the windows2000,2003 very well.My problems are I can't monitor AIX 5.1 Servers.I got only used space file system and network traffic but no CPU,Memory,Process,Login User...=( How can I do? Please suggest me..Thank you...
) SNMP - Get Mounted Partitions (Verbose Query) Uptime Goes Backwards Success [60 Items, 20 Rows]
2) SNMP - Get Processor Information (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
3) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [20 Items, 3 Rows]
(Verbose Query SNMP - Get Processor Information)
Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti-0.8.6c/scripts/ss_host_cpu.php 172.20.x.x abc 1 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti-0.8.6c/scripts/ss_host_cpu.php 172.20.x.x abc 1 query index'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti-0.8.6c/resource/script_server/host_cpu.xml'
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
please issue the following from your command line:
snmpwalk -c <your_community> -v 1 aix_host_name .1.3.6.1.2.1.25.3.3.1
Please post output.
TheWitness
snmpwalk -c <your_community> -v 1 aix_host_name .1.3.6.1.2.1.25.3.3.1
Please post output.
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?
Hi,
Here is the output from AIX5.1
snmpwalk -c xxx -v 1 172.20.x.x .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.1 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.4 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: -2147483648
I try to use this command on the other Windows Server ,the results are
snmpwalk -c yyy -v 1 172.20.y.y .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.1 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 14
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 16
Because AIX's snmp answered the -2147483648 value (not 0-100 value)
I can't monitor them.
How can I go next??
Thank you.
Here is the output from AIX5.1
snmpwalk -c xxx -v 1 172.20.x.x .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.1 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.4 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: -2147483648
I try to use this command on the other Windows Server ,the results are
snmpwalk -c yyy -v 1 172.20.y.y .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.1 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 14
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 16
Because AIX's snmp answered the -2147483648 value (not 0-100 value)
I can't monitor them.
How can I go next??
Thank you.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please check with IBM and see if they have a patch. They must be having a confusion between signed and unsigned integers causing the issue. This would be a type mismatch. I would rather see IBM fix their problem.
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What oslevel are you at on that AIX box?
Also, is it 64 or 32 bit kernel?
Also, is it 64 or 32 bit kernel?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Make sure you have all the sub agents running. Specifically, you need hostmibd and aixmibd. Check your /etc/rc.tcpip, make sure that snmpd, hostmibd and aixmibd are in startup. Also, if you restart the deamons, you must start snmpd first.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
It might be part of the Performance Toolkit, I don't recall. But I kinda expect it to be in bos.tcp.client or mabye bos.tcp.server. Don't remember for sure.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Alright now I fixed the problems. It's about AIX 5.1 bugs that return the wrong values of the ProcessorLoad.
I applied patch fix from IBM and it's work.
I updated bos.net.tcp.client.5.1.0.60 and bos.up.5.1.0.58 and restart snmpd and hostmibd. Just's it.
Hope these will help others.
Thank you for all yr helps, everyone! =)
I applied patch fix from IBM and it's work.
I updated bos.net.tcp.client.5.1.0.60 and bos.up.5.1.0.58 and restart snmpd and hostmibd. Just's it.
Hope these will help others.
Thank you for all yr helps, everyone! =)
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I created a AIX Template for the builtin SNMP agent for AIX. You will find it in the Scripts and Addons section of these forums.
We both are using the builtin AIX SNMP agent.
We both are using the builtin AIX SNMP agent.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Thanks,
I just found that after I posted my orginal question.
I've got the MIB tree enabled and the template and xml files installed. I'm now getting lots of filesystem graphs, load average, network stats. I still can't get processes, processor usage, or memory stats. Has anything been developed for that?
I just found that after I posted my orginal question.
I've got the MIB tree enabled and the template and xml files installed. I'm now getting lots of filesystem graphs, load average, network stats. I still can't get processes, processor usage, or memory stats. Has anything been developed for that?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
In 5.2 and 5.1 those metrics are not supported by the IBM agent. I'm not sure about 5.3. But I did work with IBM for over a week on this issue and talked to the developers on it. I endded up putting in a "Marketing" request, or otherwise known as a feature request to make it work properly.
You can attempt to compile and use NET-SNMP and see if that get's you the metrics you are looking for.
You can attempt to compile and use NET-SNMP and see if that get's you the metrics you are looking for.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Net-SNMP for AIX 5.2 ?
Guys,
Anyone can package up net-snmp for AIX 5.2 ?? I don't have GCC or GNU utilities installed on my AIX, so I cannot compile. I found net-snmp for AIX 5.2 on the net but it core dumps every time I try start the service (yes, I did install using mkssys utility)
Thanks!
Anyone can package up net-snmp for AIX 5.2 ?? I don't have GCC or GNU utilities installed on my AIX, so I cannot compile. I found net-snmp for AIX 5.2 on the net but it core dumps every time I try start the service (yes, I did install using mkssys utility)
Thanks!
Who is online
Users browsing this forum: No registered users and 3 guests