Xymon Mailing List Archive search

Services

3 messages in this thread

list Nikesh Maharaj · Wed, 12 Sep 2007 12:26:12 +0200 ·
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 ?
list Henrik Størner · Wed, 12 Sep 2007 13:07:02 +0200 ·
quoted from Nikesh Maharaj
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.
quoted from Nikesh Maharaj
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
list Greg L Hubbard · Wed, 12 Sep 2007 08:27:47 -0500 ·
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
quoted from Nikesh Maharaj


	From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] 
	Sent: Wednesday, September 12, 2007 5:26 AM
	To: user-ae9b8668bcde@xymon.invalid
	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 ?