Re: nagios check_ssh, check_oracle via Web
From: Keith Keller (kkeller-usenet_at_wombat.san-francisco.ca.us)
Date: 09/09/04
- Next message: Walter Schiessberg: "Re: nagios check_ssh, check_oracle via Web"
- Previous message: Jeroen Geilman: "Re: Dependencies between xinetd and other services"
- In reply to: the_dba: "nagios check_ssh, check_oracle via Web"
- Next in thread: Walter Schiessberg: "Re: nagios check_ssh, check_oracle via Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 08 Sep 2004 18:12:29 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2004-09-08, the_dba <tscoltrane@hotmail.com> wrote:
> I'd like to be able to monitor
> hosts (Linux, Solaris, and Windows) using check_ssh THROUGH the WEB
> interface (it works fine from the command-line).
Well, the web interface only really displays the results of checks that
have been configured; you can't specify a custom check through the web.
> I'm missing
> something simple. I'm running on Linux (2.4.21) with Apache (2.0.50).
> In /usr/local/nagios/etc/services.cfg, I find FTP, HTTP, POP3, and
> SMTP "service_descriptions". I'm hoping that a SSH
> service_description is also available.
Is it in your checkcommands.cfg? If not, you need to add it, then add
the appropriate entry in services.cfg. Adding an entry to
checkcommands.cfg is usually pretty easy--all you need is a made-up
command_name and the correct command_line. Since you seem to have a
command line that works, I'd suggest adjusting that to a
checkcommands.cfg entry.
> Since I find check_ssh in the
> libexec directory (/usr/local/nagios/libexec/check_ssh), I'm figuring
> that I don't need to write my own plugin/etc. Nonetheless, I'm
> clueless on how to proceed. Please help me get a clue.
You don't need to write the plugin (not if it already works through the
command line!), but you do need to add the right entry to checkcommands.cfg.
Otherwise you can't add it to services.cfg, nagios won't monitor it, and
the web interface can't show you the results of what nagios isn't
monitoring. It's not trivial, but it's not difficult, either.
If you have further trouble, you should post back to this thread with
more details.
- --keith
- --
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBP638hVcNCxZ5ID8RAjsSAJ0TkQVLqiDSFh5bkYevNYK9QxyuBwCeNRob
3zCOZrjop8pexMvB3dAm9Qs=
=wght
-----END PGP SIGNATURE-----
- Next message: Walter Schiessberg: "Re: nagios check_ssh, check_oracle via Web"
- Previous message: Jeroen Geilman: "Re: Dependencies between xinetd and other services"
- In reply to: the_dba: "nagios check_ssh, check_oracle via Web"
- Next in thread: Walter Schiessberg: "Re: nagios check_ssh, check_oracle via Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|