Networking Forums

Networking Forums > Computer Networking > Linux Networking > Nagios reporting on wrong server for some services

Reply
Thread Tools Display Modes

Nagios reporting on wrong server for some services

 
 
LRW
Guest
Posts: n/a

 
      11-18-2004, 03:45 PM
I'm using Nagios (latest stable release) and really love what it does!
Except, I have three hosts installed in hosts.cfg, but for a few of
the services I have set up in services.cfg it's reporting info for all
three based on just one of the servers.

For example, PING and HTTP works fine. I get appropriate, different
info for all three servers for that, and FTP, etc.

But for these services, FREE SPACE, CURRENT USERS, TOTAL PROCESSES,
CURRENT LOAD, it's reporting the same info on all three machines.

Nagios is installed on server A, server B is across the country, and
server C is on the same LAN as A. For those above mentioned four
services, it's reporting the info for the local server A Nagios is
installed on.

I don't get why, when in services.cfg I have it set up correctly for
the three different hosts, and I know it's working fine for other
services like HTTP and PING.

Is there something in command.cfg or checkcommand.cfg?
Actually, looking in checkcommand.cfg I see the commands for like
HTTP:

# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}

includes $HOSTADDRESS$ while total load has:

# 'check_local_load' command definition
define command{
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
and makes no mention of $HOSTADDRESS$
Is it even possible to check those things on a remore server?

Thanks for any help!
Liam
 
Reply With Quote
 
 
 
 
Keith Keller
Guest
Posts: n/a

 
      11-18-2004, 06:11 PM
On 2004-11-18, LRW <(E-Mail Removed)> wrote:
>
> For example, PING and HTTP works fine. I get appropriate, different
> info for all three servers for that, and FTP, etc.
>
> But for these services, FREE SPACE, CURRENT USERS, TOTAL PROCESSES,
> CURRENT LOAD, it's reporting the same info on all three machines.


Because the former services are remote services, but the latter are
local.

> Is it even possible to check those things on a remore server?


Yes--look into NRPE and NSCA, both addons to Nagios that can provide
what you're looking for.

--keith

--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remote reporting server John Hiebert Windows Networking 1 02-11-2008 07:06 PM
Windows Server 2003 with Exchange Server and SharePoint Services 3 SQL, Access, FrontPage, IIS, ODBC, ASP Windows Networking 0 03-09-2007 03:15 PM
Terminal Services Reporting other then Auditing Norman Rosenthal Windows Networking 0 11-02-2004 11:43 PM
Reporting for Users logging in and out of Terminal Services Norman Rosenthal Windows Networking 2 10-12-2004 02:07 PM
Nagios monitor says nagios isn't running but it is. Eric Vanderveer Linux Networking 0 06-28-2003 09:59 AM



1 2 3 4 5 6 7 8 9 10 11