[hobbit] Feature request for hobbitping / small client bugs
Mike Rowell
Mike.Rowell at Rightmove.co.uk
Fri Jun 9 10:21:04 CEST 2006
Roland,
Regarding the top error in the sunos client, this is due to top not being supplied in solaris as standard, there are two options, either install top on all your solaris clients or as I did, put an if [ -f /usr/local/bin/top ]; then ...... fi around the whole top section in the clients file.
Henrik, I'm wondering whether it might be worth doing this as standard in the hobbitclient-sunos.sh file?
Mike
-----Original Message-----
From: Gräub Roland [mailto:roland.graeub at rtc.ch]
Sent: 09 June 2006 08:20
To: hobbit at hswn.dk
Subject: [hobbit] Feature request for hobbitping / small client bugs
Hello Henrik
Is it possible to add a function to set the networkadress that hobbitping use for network tests ?
In our enviorment we use a service ip for hobbit and all firewall rules are made for this adress, so its important that Hobbit use this adress to ping the clients.
For fping i found a patch that works for me (see fping-2.4b2_to+interface.patch.txt)
FPING="/usr/local/bin/fping -I 192.168.1.22" # Path and options for the 'fping' program.
Two small things for the hobbitclient:
On Solaris Systems i get a error about top:
/opt/hobbitclient/client/bin/hobbitclient-sunos.sh: top: not found
when i set the full path for top in hobbitclient-sunos.sh it works fine
echo "[top]"
/usr/local/bin/top -b 20
With ./runclient.sh status i get the client (Solaris & Linux) dosent run, but it runs fine:
[hobbit at altara client]$ ./runclient.sh status
Hobbit client (clientlaunch) does not appear to be running
[hobbit at altara client]$ ps -ef | grep hobbit
hobbit 20015 1 0 Jun08 ? 00:00:00 /opt/hobbit/client/bin/hobbitlaunch --config=/opt/hobbit/client/etc/clientlaunch.cfg --log=/opt/hobbit/client/logs/clientlaunch.log --pidfile=/opt/hobbit/client/logs/clientlaunch.altara.rtc.ch.pid
hobbit 29367 1 0 08:39 ? 00:00:00 sh -c vmstat 300 2 1>/opt/hobbit/client/tmp/hobbit_vmstat.altara.rtc.ch.29351 2>&1; mv /opt/hobbit/client/tmp/hobbit_vmstat.altara.rtc.ch.29351 /opt/hobbit/client/tmp/hobbit_vmstat.altara.rtc.ch
hobbit 29369 29367 0 08:39 ? 00:00:00 vmstat 300 2
hobbit 29488 29435 0 08:41 pts/3 00:00:00 grep hobbit
Regards,
Roland
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.
________________________________________________________________________
More information about the Xymon
mailing list