[hobbit] Hobbit Client "Issues"

Henrik Stoerner henrik at hswn.dk
Wed Aug 10 17:24:38 CEST 2005


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.

> 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.

> 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




More information about the Xymon mailing list