Services defined !

Thierry Granier th.granier at free.fr
Wed Jul 23 04:28:00 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




Thierry-Desktop:/usr/local/nagios/etc/objects # cat test
###############################################################################
# LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE
#
# Last Modified: 05-31-2007
#
# NOTE: This config file is intended to serve as an *extremely* simple
#       example of how you can create configuration entries to monitor
#       the local (Linux) machine.
#
###############################################################################



Here is my LOCALHOST.CFG file
I have only IServer NAgios and a linux machine
only one service (command) is declared for thr remote host and on my web
page i can see :        "CPU LOAD" ET "SWAP" USAGE for the remote
host!!!   HOW is it possible!

Many thanks on advance

###############################################################################
###############################################################################
#
# HOST DEFINITION
#
###############################################################################
###############################################################################

# Define a host for the local machine

define host{
        use                     linux-server            ; Name of host
template to use
							; This host definition will inherit all variables that are defined
							; in (or inherited by) the linux-server host template definition.
        host_name               localhost
        alias                   localhost
        address                 127.0.0.1
        }

define host{
          name                  linux-box             ; Name of this
template
          use                   generic-host          ; Inherit default
values
	  check_period          24x7
          check_interval        5
          retry_interval        1
          max_check_attempts    10
          check_command         check-host-alive

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkiGlzAACgkQF0VsK96v2MJw1ACg1v5ht32yJh2f5fCFreMMdlfY
wwUAn3QgHZqpiyYYavA4e5Gywd+Y0kcz
=OL8w
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list