AIX Running Processes

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

skantner wrote:<sigh> same problem as under xlc. When i start up snmpd, it immediately ends. In smpd.log I get one line:
nlist: No such file or directory.
I have no idea what it's looking for.
Hi

you can launch snmpd with "-r" :

Code: Select all

  -r         do not exit if files only accessible to root
             cannot be opened
I got this problem with AIX 5.2, snmpd wouldn't start otherwise.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Mr_V
Posts: 5
Joined: Fri May 27, 2005 9:46 am

Error compiling net-snmp

Post by Mr_V »

Hi,

Well.. its hard to get it to compile... but i changed some part of the code that seems incompatible with AIX.. after that it is not possible to start it.. simply crash..
anyone got net-snmp working on aix 5.2 ? it is on a 64bits station Regata P690 32CPus 64GB ram.

any idea ? native snmp shows weird CPU load values..
....
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: -2147483648
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.5 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.6 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.7 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.8 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.9 = INTEGER: 100
HOST-RESOURCES-MIB::hrProcessorLoad.10 = INTEGER: -2147483648
...... and that oid that returns global % cpu usage returns no data.

any idea ???
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Are you running 64-bit kernel, if so, there is a known problem with CPU load and hostmibd.
[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]
skantner
Posts: 5
Joined: Thu Jun 09, 2005 12:58 pm

Post by skantner »

Minor update: I had no problem compiling Net-SNMP 5.2.1 on AIX 5.1 earlier this week, using the gcc rpm IBM provides in their Linux toolkit. Time to figure out what changes under AIX 5.2.... :roll:
skantner
Posts: 5
Joined: Thu Jun 09, 2005 12:58 pm

Post by skantner »

fmangeant wrote:
skantner wrote:<sigh> same problem as under xlc. When i start up snmpd, it immediately ends. In smpd.log I get one line:
nlist: No such file or directory.
I have no idea what it's looking for.
Hi

you can launch snmpd with "-r" :

Code: Select all

  -r         do not exit if files only accessible to root
             cannot be opened
I got this problem with AIX 5.2, snmpd wouldn't start otherwise.
Well, that solved the problem for me!!! THANKS! Bbut I don't understand why....What exactly is that double negative saying?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest