[hobbit] hobbit client
Gary Baluha
gumby3203 at gmail.com
Fri Dec 28 21:27:26 CET 2007
The server is reporting itself back as
"DoyleBrunson.AILife.Com<http://doylebrunson.ailife.com/>
".
The bb-hosts entry should thus be:
10.2.0.99 <http://127.0.0.1/> hobbit.ailife.com # bbd ssh
ftp http://DoyleBrunson.ailife.com/
apache=http://DoyleBrunson.ailife.com/server-status?auto
TRENDS:*,apache:apache|apache1|apache2|apache3
CLIENT:<http://doylebrunson.ailife.com/apache=http://DoyleBrunson.ailife.com/server-status?autoTRENDS:*,apache:apache%7Capache1%7Capache2%7Capache3>DoyleBrunson.AILife.Com
NAME:Hobbit <http://doylebrunson.ailife.com/>
This will cause the host show up as "Hobbit" on the Hobbit web page, and the
host name itself is called "hobbit.ailife.com" internally to Hobbit. The
key is that "CLIENT:DoyleBrunson.AILife.Com" is required, because the Hobbit
client process is reporting itself back to the Hobbit server process as
though the host name were "DoyleBrunson..." (I know, that sounds a little
confusing).
On Dec 28, 2007 3:13 PM, Frank M. Ramaekers <FRamaekers at ailife.com> wrote:
> See below…
>
>
>
> Frank M. Ramaekers Jr.
>
>
>
> Systems Programmer
>
> MCP, MCP+I, MCSE & RHCE
>
> American Income Life Insurance Co.
>
> Phone: (254)761-6649
>
> 1200 Wooded Acres Dr.
>
> Fax: (254)741-5777
>
> Waco, Texas 76701
>
>
>
>
>
>
>
>
> ------------------------------
>
> *From:* Gary Baluha [mailto:gumby3203 at gmail.com]
> *Sent:* Friday, December 28, 2007 1:20 PM
> *To:* hobbit at hswn.dk
> *Subject:* Re: [hobbit] hobbit client
>
>
>
> Can you do the following on the Hobbit server?
>
> # hostname
>
> # hostname
>
> DoyleBrunson.AILife.Com
> # cat /etc/hosts
>
> # Do not remove the following line, or various programs
>
> # that require network functionality will fail.
>
> 127.0.0.1 localhost.localdomain localhost
>
> 10.2.0.99 doylebrunson.ailife.com doylebrunson
>
> 10.2.0.99 hobbit.ailife.com hobbit
>
> 10.2.0.99 itbooks.ailife.com itbooks
>
> #---------------127.0.0.1 DoyleBrunson DoyleBrunson.ailife.com
> localhost.localdomain localhost
>
>
> # ifconfig <primary interface>
>
> eth0 Link encap:Ethernet HWaddr 00:0D:60:19:7A:9A
>
> inet addr:10.2.0.99 Bcast:10.2.255.255 Mask:255.255.0.0
>
> inet6 addr: fe80::20d:60ff:fe19:7a9a/64 Scope:Link
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:6047 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:1540 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:706963 (690.3 KiB) TX bytes:148336 (144.8 KiB)
>
> Base address:0x2500 Memory:f8fe0000-f9000000
>
>
> # ps auxw | grep hobbit
> hobbit 2574 0.0 0.0 1696 372 ? Ss 13:56 0:00
> /usr/libexec/hobbit/server/bin/hobbitlaunch
> --config=/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
> --env=/usr/libexec/hobbit/server/etc/hobbitserver.cfg
> --log=/var/log/hobbit/hobbitlaunch.log
> --pidfile=/var/log/hobbit/hobbitlaunch.pid
>
> hobbit 2578 0.0 0.0 4584 892 ? S 13:56 0:00 hobbitd
> --pidfile=/var/log/hobbit/hobbitd.pid
> --restart=/usr/libexec/hobbit/server/tmp/hobbitd.chk
> --checkpoint-file=/usr/libexec/hobbit/server/tmp/hobbitd.chk
> --checkpoint-interval=600 --log=/var/log/hobbit/hobbitd.log --admin-senders=
> 127.0.0.1 10.2.0.99
>
> hobbit 2927 0.0 0.0 1964 448 ? S 13:56 0:00
> hobbitd_channel --channel=stachg --log=/var/log/hobbit/history.log
> hobbitd_history
>
> hobbit 2928 0.0 0.0 2224 436 ? S 13:56 0:00
> hobbitd_channel --channel=clichg --log=/var/log/hobbit/hostdata.log
> hobbitd_hostdata
>
> hobbit 2930 0.0 0.0 1968 444 ? S 13:56 0:00
> hobbitd_channel --channel=page --log=/var/log/hobbit/page.log hobbitd_alert
> --checkpoint-file=/usr/libexec/hobbit/server/tmp/alert.chk
> --checkpoint-interval=600
>
> hobbit 2931 0.0 0.0 1964 452 ? S 13:56 0:00
> hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-status.loghobbitd_rrd --rrddir=/var/lib/hobbit/rrd
>
> hobbit 2933 0.0 0.0 1964 444 ? S 13:56 0:00
> hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.loghobbitd_rrd --rrddir=/var/lib/hobbit/rrd
>
> hobbit 2934 0.0 0.0 2220 436 ? S 13:56 0:00
> hobbitd_channel --channel=client --log=/var/log/hobbit/clientdata.log
> hobbitd_client
>
> hobbit 2940 0.0 0.0 1968 676 ? S 13:56 0:00
> hobbitd_history
>
> hobbit 2941 0.0 0.0 3708 1300 ? S 13:56 0:00
> hobbitd_rrd --rrddir=/var/lib/hobbit/rrd
>
> hobbit 2942 0.0 0.0 2128 660 ? S 13:56 0:00
> hobbitd_alert --checkpoint-file=/usr/libexec/hobbit/server/tmp/alert.chk
> --checkpoint-interval=600
>
> hobbit 2943 0.0 0.0 2412 424 ? S 13:56 0:00
> hobbitd_client
>
> hobbit 2944 0.0 0.0 2212 404 ? S 13:56 0:00
> hobbitd_hostdata
>
> hobbit 2945 0.0 0.0 3712 852 ? S 13:56 0:00
> hobbitd_rrd --rrddir=/var/lib/hobbit/rrd
>
> hobbit 3235 0.0 0.0 1680 368 ? Ss 13:56 0:00
> /usr/libexec/hobbit/client/bin/hobbitlaunch
> --config=/usr/libexec/hobbit/client/etc/clientlaunch.cfg
> --log=/usr/libexec/hobbit/client/logs/clientlaunch.log
> --pidfile=/usr/libexec/hobbit/client/logs/clientlaunch.Hobbit.pid
>
> hobbit 3668 0.0 0.0 2372 876 ? S 14:11 0:00 sh -c
> vmstat 300 2 1>/usr/libexec/hobbit/client/tmp/hobbit_vmstat.Hobbit.3651
> 2>&1; mv /usr/libexec/hobbit/client/tmp/hobbit_vmstat.Hobbit.3651
> /usr/libexec/hobbit/client/tmp/hobbit_vmstat.Hobbit
>
> hobbit 3670 0.0 0.0 1772 536 ? S 14:11 0:00 vmstat
> 300 2
>
> root 3758 0.0 0.0 3896 684 pts/0 S+ 14:12 0:00 grep
> hobbit
>
>
>
>
> Also, you should have the following in the hobbitlaunch.cfg file:
> [hobbitclient]
> ENVFILE /var/hobbit/client/etc/hobbitclient.cfg
> NEEDS hobbitd
> CMD /var/hobbit/client/bin/hobbitclient.sh
> LOGFILE $BBSERVERLOGS/hobbitclient.log
> INTERVAL 5m
>
> [hobbitclient]
>
> ENVFILE /usr/libexec/hobbit/client/etc/hobbitclient.cfg
>
> NEEDS hobbitd
>
> CMD /usr/libexec/hobbit/client/hobbitclient.sh
>
> LOGFILE $BBSERVERLOGS/hobbitclient.log
>
> INTERVAL 5m
>
>
>
> On Dec 28, 2
>
> 007 2:07 PM, Frank M. Ramaekers <FRamaekers at ailife.com> wrote:
>
> (remainder deleted for the sake of brevity)
>
>
> _____________________________________________________ This message
> contains information which is privileged and confidential and is solely for
> the use of the intended recipient. If you are not the intended recipient, be
> aware that any review, disclosure, copying, distribution, or use of the
> contents of this message is strictly prohibited. If you have received this
> in error, please destroy it immediately and notify us at
> PrivacyAct at ailife.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071228/3b201743/attachment.html>
More information about the Xymon
mailing list