Hi,
The current hobbit menu has bbd, bbgen, bbtest, conn, cpu, disk etc etc ..
I would like to add 2 more onto this page. I have edited the hobbitserver.config file and added this in like SVCCODES=scmb:15000,merva:7117 etc etc
Than I added this to the hosts file to monitor this service on that particular host but this does not appear on the web page.
Any ideas as to which other file I need to update ?
On Wed, Sep 12, 2007 at 12:26:12PM +0200, Nikesh Maharaj wrote:
The current hobbit menu has bbd, bbgen, bbtest, conn, cpu, disk etc etc
I would like to add 2 more onto this page. I have edited the hobbitserver.config file and added this in like SVCCODES=scmb:15000,merva:7117 etc etc
SVCCODES has nothing to do with what tests you run. You must add the test definitions to the bb-hosts file for the host you want to perform this test on.
Than I added this to the hosts file to monitor this service on that particular host but this does not appear on the web page.
What kind of tests - network tests or a custom test ? From the names "scmb" and "merva" it sounds like these are custom tests.
Network tests must be defined in the bb-services file.
Custom tests have to send in a "status" message, and then they will show up automatically. Hobbit doesn't magically know what a "scmb" test is; you must explicitly run this test either as a server-side or client-side extension script.
Henrik
I don't think it works that way...
If you want a status dot for each of these services, then you have to write a custom test -- either on the client or on the server. I don't think the standard network tests include the ability to test arbitrary ports and give them status pages. To do this right, some sort of "expected" response is needed, and error conditions must be handled.
If you only want an assurance that the hosts have something camped on these ports, then use the PORT facility to define the tests. Then the "ports" test will give you a status dot for the combined test results. Of course, this does not prove that the service is working, just that something has that port allocated as far as netstat is concerned.
Look in hobbit-clients.cfg in ~server/etc and check out the description of the PORT command. It can do more than just "present/not present".
GLH
From: Nikesh Maharaj [mailto:NMaharaj at tcta.co.za]
Sent: Wednesday, September 12, 2007 5:26 AM
To: hobbit at hswn.dk
Subject: [hobbit] Services
Hi,
The current hobbit menu has bbd, bbgen, bbtest, conn, cpu, disk
etc etc ..
I would like to add 2 more onto this page. I have edited the
hobbitserver.config file and added this in like SVCCODES=scmb:15000,merva:7117 etc etc
Than I added this to the hosts file to monitor this service on
that particular host but this does not appear on the web page.
Any ideas as to which other file I need to update ?
participants (3)
-
greg.hubbard@eds.com
-
henrik@hswn.dk
-
NMaharaj@tcta.co.za