Xymon Mailing List Archive search

Hobbit Client "Issues"

2 messages in this thread

list Al Jeffcoat · Wed, 10 Aug 2005 08:33:38 -0400 ·
Hello,

 
After running the client overnight on an AIX server, and a Tru64 server,
I've noticed a couple of things for each platform.

 
AIX:

The netstat graph is not populating on the server, but it appears that
the client is sending the data across when you look at the "client data
available".  I tried to send examples, but it was rejected due to size
:-)

I'm getting "/hobbit/client/bin/hobbitclient-aix.sh[35]: top:  not
found." in the hobbitclient.log.  Is there a way to check if a command
exists before trying to run it?  I know how to put top on, but I don't
use it anymore (haven't in years), is there a way to "turn it off", or
is it just easier to remove the top definition from the
hobbitclient-aix.sh file?

 
Tru64:

I'm getting the following errors:

/hobbit/client/bin/hobbitclient-osf1.sh: swapon: not found

/hobbit/client/bin/hobbitclient-osf1.sh: netstat: not found

/hobbit/client/bin/hobbitclient-osf1.sh: top: not found

 
Swapon and netstat both exist on this server, but they are not being
found.  I figured I could add the path to the command in the
hobbitclient-osf1.sh file, but I wanted to make sure this was the right
way to do it.  The .profile file the hobbit user didn't contain the
right path for these files, but that was corrected, and we restarted the
client, with the same effect.

 
Thanks, and have a great day

 
Al

 
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 Henrik Størner · Wed, 10 Aug 2005 17:24:38 +0200 ·
quoted from Al Jeffcoat
On Wed, Aug 10, 2005 at 08:33:38AM -0400, Jeffcoat, Al wrote:
AIX:

The netstat graph is not populating on the server, but it appears that
the client is sending the data across when you look at the "client data
available".  I tried to send examples, but it was rejected due to size

:-)
I'll bet you have some voluminous process-listings. I still have the
data you sent me, so I'll run that through the netstat parser and see if
I can find the problem.
quoted from Al Jeffcoat
I'm getting "/hobbit/client/bin/hobbitclient-aix.sh[35]: top:  not
found." in the hobbitclient.log.  Is there a way to check if a command
exists before trying to run it?  I know how to put top on, but I don't
use it anymore (haven't in years), is there a way to "turn it off", or
is it just easier to remove the top definition from the
hobbitclient-aix.sh file?
The client scripts are *really* just shell-scripts. The "top" output is
only used as an informational add-on to the cpu status (Hobbit doesn't
collect any data from the top output), so yes - you can just rip out
that part of the hobbitclient-aix.sh script, and it will work.

I can probably add some code to look for the top binary and only execute
it if it exists.
quoted from Al Jeffcoat
I'm getting the following errors:

/hobbit/client/bin/hobbitclient-osf1.sh: swapon: not found
/hobbit/client/bin/hobbitclient-osf1.sh: netstat: not found
/hobbit/client/bin/hobbitclient-osf1.sh: top: not found

Swapon and netstat both exist on this server, but they are not being
found.  I figured I could add the path to the command in the
hobbitclient-osf1.sh file, but I wanted to make sure this was the right
way to do it.
Like i said, those are just shell scripts so setting up PATH in that
script is an OK way to fix it.


Regards,
Henrik