Aix client script
list Figaro Nicolas
Hi, I'd like to create an aix client script for hobbit (hobbitclient-aix.sh). So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same). It looks like I missed something, as the tests becomes purple when I stop the bb client. I also have such messages in the hobbitclient.log file : Usage: ~hobbit/client/bin/bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA RECIPIENT: IP-address, hostname or URL DATA: Message to send, or "-" to read from stdin Any idea ? Nicolas Figaro
list Henrik Størner
▸
On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:
I'd like to create an aix client script for hobbit (hobbitclient-aix.sh). So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same). It looks like I missed something, as the tests becomes purple when I stop the bb client.
The client-side script alone is not enough for Hobbit - it needs an update on the Hobbit server to recognize and handle the data sent by the client. If you could send me your script and the output it generates - there might be a "msg.txt" file in the client/tmp/ directory you can just pick up - I can probably put it into Hobbit very quickly. Is this AIX 4 or 5 ? And do you know if there's any difference in the output from the commands between these two ? Regards, Henrik
list Henrik Størner
▸
On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:
So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).
prtconf on Solaris is used to pick up the amount of RAM installed. For AIX your script should include this: [bootinfo] bootinfo -r [freemem] vmstat 1 2 [pstat] pstat -s which runs the bootinfo tool to determine the amount of RAM installed, vmstat to determine the amount of free RAM, and pstat to determine the swap statistics. (I don't know one bit about AIX, but this is what the bb-memory add-on uses). If the other information provided by "bootinfo" might be useful, you can leave out the "-r" option as long as the RAM size is included in the output. Regards, Henrik
list Al Jeffcoat
If you need any help with any of the AIX stuff, I'd be glad to help out with it. Al
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, August 02, 2005 11:17 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Aix client script
On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).
prtconf on Solaris is used to pick up the amount of RAM installed. For AIX your script should include this: [bootinfo] bootinfo -r [freemem] vmstat 1 2 [pstat] pstat -s which runs the bootinfo tool to determine the amount of RAM installed, vmstat to determine the amount of free RAM, and pstat to determine the swap statistics. (I don't know one bit about AIX, but this is what the bb-memory add-on uses). If the other information provided by "bootinfo" might be useful, you can leave out the "-r" option as long as the RAM size is included in the output. Regards, Henrik
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: user-ecde3bbc361d@xymon.invalid . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Antonio Marques
hi people.. I can test AIX script if you want.. (AIX 4.3.3)... regards 2005/8/2, Jeffcoat, Al <user-eca780a472ed@xymon.invalid>:
▸
If you need any help with any of the AIX stuff, I'd be glad to help out with it. Al -----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Tuesday, August 02, 2005 11:17 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Aix client script On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).prtconf on Solaris is used to pick up the amount of RAM installed. For AIX your script should include this: [bootinfo] bootinfo -r [freemem] vmstat 1 2 [pstat] pstat -s which runs the bootinfo tool to determine the amount of RAM installed, vmstat to determine the amount of free RAM, and pstat to determine the swap statistics. (I don't know one bit about AIX, but this is what the bb-memory add-on uses). If the other information provided by "bootinfo" might be useful, you can leave out the "-r" option as long as the RAM size is included in the output. Regards, Henrik This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: user-ecde3bbc361d@xymon.invalid . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.