[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] xymon pluggin not working on server



Then the client files will be under /etc/hobbit.

Check the log files in /var/log/hobbit. Use the tail command on the files to see if they are producing messages indicating that a file can not be updated.

You did not answer the question, is the process hobbitd_client running?

On 12/23/2009 05:36 PM, David Hay Currie wrote:
:/usr/lib/hobbit/client$ ls -la
total 16
drwxr-xr-x 4 root root 4096 2009-11-19 13:05 .
drwxr-xr-x 6 root root 4096 2009-11-19 13:05 ..
drwxr-xr-x 2 root root 4096 2009-11-19 13:05 bin
lrwxrwxrwx 1 root root   11 2009-11-19 13:05 etc ->  /etc/hobbit
drwxr-xr-x 2 root root 4096 2009-12-23 15:21 ext
lrwxrwxrwx 1 root root   15 2009-11-19 13:05 logs ->  /var/log/hobbit
lrwxrwxrwx 1 root root   19 2009-11-19 13:05 tmp ->  /var/lib/hobbit/tmp

Those are the access to the client folder, however I did not make
changes to it, since I did not copy files from the original server. It
is possible that the only other folder I copied was the etc/hobbit so I
would not have to type the config from scratch again. All files in the
etc are owned by root with access 644

David Hay Currie
IT Manager
Leisure Fitness
231 Executive Dr. Suite 15
Phone: 302-224-5018
Fax: 302-224-5001 (atte: David Hay Currie)



-----Original Message-----
From: Rich Smrcina [mailto:rsmrcina (at) wi.rr.com]
Sent: Wednesday, December 23, 2009 6:16 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] xymon pluggin not working on server

There may be more permissions to fix in the client directory structure.
Check /var/lib/hobbit/client.

Also, is the hobbitd_client process running?

On 12/23/2009 03:51 PM, David Hay Currie wrote:
I had a problem with xymon server (lost power while upgrading to
Ubuntu9.10) and I had to re-install from scratch the OS.

That part was easy enough, but I tried to keep all the history data,
and I copied the folders into the new install.

Today I realized that the folders have not been updated since I
rebuilt the server because of wrong permissions, so I changed the
owner to hobbit:hobbit as the other folders have, and the permission
to 755.

In my Ubuntu install the files are located in

/var/lib/hobbit

The folders I did this are: hist, histlogs, hostdata, rrd.

I discover this today trying to figure out why the client is not
working on the server. Fixing the permissions, fix my history reports
(though I will have 36 days of no reports), but still the client
information for the xymon server is not showing up, and neither are
the extra scripts.

With the client information I mean CPU, Disk, memory, apt.

It looks like if the client was not reporting to the server (which
should be localhost). I could not find how to check it out.

I know how to configure BBWin since most of my network computers are
Windows, but don't know much about the linux client, and it has always
worked from the default install for me.

Thanks

*David Hay Currie*

*IT Manager*

*Leisure Fitness*

*Leisure Fitness Logo*<http://www.leisurefitness.com/>




--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY