[Nagios-users] Another newbie question...

2006-09-19 Thread Neil B. Cohen
I seem to have gotten Nagios configured and running on a single Linux
host. Now I want to try monitoring a second host on the same network
(I'm experimenting with a couple of machines at home) and I'm having
some problems. I've been looking through the documentation, but either
I'm looking in the wrong place or at the wrong docs.

I have a number of questions - scattered through the rest of this
message. Any help or pointers would be appreciated...


On the primary monitoring machine (referred to as 'localhost' or
'host1'), I added host definitions that include the 'remote' machine
(referred to as 'host2' in the rest of this message). So my file
hosts.cfg includes this:

define host{
use generic-host; Name of host
template to use
host_name   localhost
alias   localhost
address 127.0.0.1
check_command   check-host-alive
max_check_attempts  10
check_period24x7
notification_interval   120
notification_period 24x7
notification_optionsd,r
contact_groups  admins
}

define host{
use generic-host; Name of host
template to use
host_name   host2.aikisoft.com
alias   host2
address 192.168.130.111
max_check_attempts  10
check_period24x7
notification_interval   120
notification_period 24x7
notification_optionsd,r
contact_groups  admins
}

Question #1:
   In the host definition for 'host2', should I include the
check-host-alive command like I have in host 1? Why, or why not - I'm
not sure I understand exactly what I'm defining here

I set up an NSCA daemon process on host 1 to receive status information
from host 2. However, I'm not sure how to configure host2 itself. I have
Nagios installed there, and I have a basic configuration. I can start
nagios running, but I don't see how to get the NSCA client to run the
various tests and forward results to host 1.

Question #2:
   Does Nagios need to be running on host 2 or just the NSCA client?

Question #3:
   Is there documentation on NSCA? I found some minimal things, but not
enough for me to figure out what is really going on.

The way my system is running, host1 thinks it has 2 hosts to monitor,
and it is using PING to decide that both are alive - that's the good
news. But I would like to also report on CPU utilization, disk space etc
from host 2, and that's where I seem to be stuck.

Sorry if this is long and confusing - I'm definitely confused :)

Thanks in advance for any pointers you can give me. If I need to provide
other config info, I'll be happy to do that.

nbc



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Newbie question - authorization...

2006-09-16 Thread Neil B. Cohen
I'm experimenting with Nagios at home - I just joined a company that
uses it extensively in the field and I'll need to know how it works.

I've managed to install it, and I can get to the home page from my
(FireFox) web browser (on systems running FC5). So far, so good. I have
verified that I have a working config file.

If I start Nagios, things look ok, but I don't have the authorization
correct. I have added the entries in the Apache config file, and created
the .htaccess entries in the nagios directories. But when I point the
web browser at the nagios page, it does not ask for a login/password.
Then I get authorization failures when I try to look at the various
monitoring pages

This is really a browser issue, not nagios I think. But it isn't
something I've done before - can someone suggest what I might have set
up incorrectly or point me at what needs to be added?

thanks very much,

nbc

NAME:   Neil B. Cohen (Aiki Software)
PHONE:  703-444-4610
DOMAIN: [EMAIL PROTECTED]
*
* Murphy's Philosophy: Smile - tomorrow will be worse...*
*   *
* O'Tooles Commentary: Murphy was an optimist!  *
*



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Newbie question - authorization...

2006-09-16 Thread Neil B. Cohen
That was sort of the problem - I found a typo in the .htaccess file. So
the server was complaining about an invalid file definition Thanks
for the help,

nbc

On Sat, 2006-09-16 at 13:57 -0400, Morris, Patrick wrote:
  If I start Nagios, things look ok, but I don't have the 
  authorization correct. I have added the entries in the Apache 
  config file, and created the .htaccess entries in the nagios 
  directories. But when I point the web browser at the nagios 
  page, it does not ask for a login/password.
  Then I get authorization failures when I try to look at the 
  various monitoring pages
  
  This is really a browser issue, not nagios I think. But it 
  isn't something I've done before - can someone suggest what I 
  might have set up incorrectly or point me at what needs to be added?
 
 If you're not getting prompted for a login, it's not a Nagios or a
 browser issue -- it's a webserver configuration problem.
 
 Assuming your .htaccess files are valid, your webserver is probably
 configured not to use them.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null