[linux] nagios - konfiguracia [OT]

Martin Mosny mmosny na postel.sk
Středa Srpen 27 17:38:18 CEST 2003


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

> 1. skompilovat nagios s volbou
>   '--with-template-extinfo'

takuto vec som nerobil

> 2. v cgi.cfg doplnit cestu na externy subor s definiciou
>   xedtemplate_config_file=<hostextinfofile>
vid nizsie


cgi.cfg
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg

hostextinfo.cfg

define hostextinfo {
        host_name               server
        icon_image              UnixStation.gif
        icon_image_alt          Linux Box
        vrml_image              UnixStation.gif
        statusmap_image         UnixStation.gd2
}

hosts.cfg

define host{
        use                     generic-host            ; Name of host template to use
        host_name               server
        alias                   Main Server #1 [Linux]
        address                 XXXXXXXXXXXXXXX
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   480
        notification_period     24x7
        notification_options    d,u,r
}

obrazky su  UnixStation.* v "nagios/share/images/logos"

- --

martin

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQA/AwUBP0zCW5dguByG9Q4aEQLUFACfZK99OVHEMJcWREIQg+b5WgcKNcAAnAny
bEzev31E+Cn5tA85jLrEpM9F
=5zKK
-----END PGP SIGNATURE-----




Další informace o konferenci linux