Subject | Re: [firebird-support] Re: Nagios plugin for Firebird |
---|---|
Author | Milan Babuskov |
Post date | 2005-02-13T11:28:12Z |
andrew_s_vaz wrote:
plugin would use):
1. check if port 3050 (or gds_db) is open
2. try to connect to it
This should be enough for basic test. The 2. test requires to have
Firebird client library available, which is also ok.
I'll probably use IBPP library to do this, and I can also query the
server version. Quite enough imho.
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org
> Interesting this nagios. Why don't you do the same test that is doneI just donwloaded and read the source. It uses two checks (that Nagios
> with IboConsole to teste connection to a server and Database? After
> all the source is there and ready...
plugin would use):
1. check if port 3050 (or gds_db) is open
2. try to connect to it
This should be enough for basic test. The 2. test requires to have
Firebird client library available, which is also ok.
I'll probably use IBPP library to do this, and I can also query the
server version. Quite enough imho.
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org