Hi
I have specified on the server to monitor a host's disks however it is not working. On the server I have in ~/server/etc/bb-hosts:
10.1.1.254 mail # conn ssh smtp pop3 disk
And in ~/server/etc/hobbit-clients.cfg I have:
HOST=mail DISK / 90 95 DISK /boot 90 95
This is not being reported...
Thanks Michael
On 8/21/06, Michael Magua <m.magua at gmail.com> wrote:
Hi
I have specified on the server to monitor a host's disks however it is not working. On the server I have in ~/server/etc/bb-hosts:
10.1.1.254 mail # conn ssh smtp pop3 disk
And in ~/server/etc/hobbit-clients.cfg I have:
HOST=mail DISK / 90 95 DISK /boot 90 95
This is not being reported...
Thanks Michael
Oh and on the client I have this in the log file:
[hobbit at mail ~]$ tail -f client/logs/hobbitclient.log 2006-08-21 17:45:10 Failed to get a message, terminating 2006-08-21 17:50:11 Failed to get a message, terminating 2006-08-21 17:55:11 Failed to get a message, terminating
On Monday 21 August 2006 17:59, Michael Magua wrote:
On 8/21/06, Michael Magua <m.magua at gmail.com> wrote:
Hi
I have specified on the server to monitor a host's disks however it is not working. On the server I have in ~/server/etc/bb-hosts:
10.1.1.254 mail # conn ssh smtp pop3 disk
Monitoring of disks does not need to be configured on the server. If the client sends the data, it will be monitored, and you should see a disk column, with the data reported by the client.
And in ~/server/etc/hobbit-clients.cfg I have:
HOST=mail DISK / 90 95 DISK /boot 90 95
This is only the threshholds, and it won't help until you have some disk usage data reported by the client.
This is not being reported...
Thanks Michael
Oh and on the client I have this in the log file:
[hobbit at mail ~]$ tail -f client/logs/hobbitclient.log 2006-08-21 17:45:10 Failed to get a message, terminating 2006-08-21 17:50:11 Failed to get a message, terminating 2006-08-21 17:55:11 Failed to get a message, terminating
This may indicate that the client can't connect to the hobbit server. Test from the client with something like:
su - hobbit -c '$HOME/bin/bb xxx.xxx.xxx.xxx ping'
(replace xxx.xxx.xxx.xxx with the IP address or hostname of your hobbit server as you have configured it on the client).
You should get something like this back: hobbitd 4.2.0
If you get an error, you should look at the usual culprits (if you used a hostname, test with the IP, if it doesn't work with the IP, check firewalls etc).
If it does work, it may be that the entry for the host in bb-hosts differs from the hostname the client is sending, check in the Ghost reports (Reports->Ghost Clients), and either correct the bb-hosts entry, the hostname the client uses, or map the hostname the client sends to its bb-hosts entry with the CLIENT keyword see bbhosts(5).
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
participants (2)
-
bgmilne@staff.telkomsa.net
-
m.magua@gmail.com