Instalacao nagios 3 Instalacao:aptitude search nagiosResultado do comando -------------------------------libnagios-object-perl - Perl module to parse and represent Nagiospi nagios-images - Collection of images and icons for the nagp nagios-nrpe-plugin - Nagios Remote Plugin Executor Pluginp nagios-nrpe-server - Nagios Remote Plugin Executor Serverpi nagios-plugins - Plugins for the nagios network monitoringpi nagios-plugins-basic - Plugins for the nagios network monitoringpi nagios-plugins-standard - Plugins for the nagios network monitoringp nagios-snmp-plugins - SNMP Plugins for nagiosp nagios-statd-client - Nagios client for monitoring remote systempi nagios-statd-server - Nagios server for monitoring remote systempi nagios3 - A host/service/network monitoring and manapi nagios3-common - support files for nagios3p nagios3-dbg - debugging symbols and debug stuff for nagipi nagios3-doc - documentation for nagios3p nagiosgrapher - Charting add-on for Nagiosp ndoutils-nagios3-mysql - This provides the NDOUtils for Nagios with-------------------------------------aptitude install nagios3 aptitude install nagios3Lendo listas de pacotes... ProntoConstruindo Arvore de dependAanciasLendo informaAAo de estado... ProntoLendo informaAAes estendidas de estadoInicializando estados de pacotes... ProntoLendo descriAAes de tarefas... ProntoOs NOVOS pacotes a seguir serAo instalados:libradius1{a} libradiusclient-ng2{a} nagios-images{a} nagios-plugins{a}nagios-plugins-basic{a} nagios-plugins-standard{a} nagios3nagios3-common{a} nagios3-doc{a} qstat{a} radiusclient1{a} smbclient{a}snmp{a}0 pacotes atualizados, 13 novos instalados, 0 a serem removidos e 3 nAo atualizados.A preciso obter 13,6MB de arquivos. Depois do desempacotamento, 35,6MB serAo usados.VocAa deseja continuar? [Y/n/?]Informe Y.VocAa deseja continuar? [Y/n/?] YEscrevendo informaAAes estendidas de estado... ProntoObter:1 http://ftp.debian.org lenny/main libradiusclient-ng2 0.5.5-1 [36,4kB]Obter:2 http://security.debian.org lenny/updates/main smbclient 2:3.2.5-4lenny9 [6305kB]Obter:3 http://ftp.debian.org lenny/main nagios-images 0.4 [1765kB]Obter:4 http://ftp.debian.org lenny/main nagios-plugins-basic 1.4.12-5 [406kB]Obter:5 http://ftp.debian.org lenny/main nagios3-doc 3.0.6-4~lenny2 [2071kB]46% [5 nagios3-doc 1122616/2071kB 54%] [2 smbclient 2950728/6305kB 46%]--------------------------------------------------cd /etc/nagios3ls -ltotal 63-rw-r--r-- 1 root root 1882 Jun 30 2009 apache2.conf-rw-r--r-- 1 root root 10767 Jul 2 2009 cgi.cfg-rw-r--r-- 1 root root 2441 Jul 2 2009 commands.cfgdrwxr-xr-x 2 root root 1024 Mai 28 17:16 conf.d-rw-r--r-- 1 root root 42723 Jul 2 2009 nagios.cfg-rw-r----- 1 root nagios 1293 Jun 30 2009 resource.cfgdrwxr-xr-x 2 root root 1024 Mai 28 17:16 stylesheetscd conf.dls -ltotal 15-rw-r--r-- 1 root root 1695 Jun 30 2009 contacts_nagios2.cfg-rw-r--r-- 1 root root 418 Jun 30 2009 extinfo_nagios2.cfg-rw-r--r-- 1 root root 1152 Jun 30 2009 generic-host_nagios2.cfg-rw-r--r-- 1 root root 1803 Jun 30 2009 generic-service_nagios2.cfg-rw-r--r-- 1 root root 209 Mai 28 17:16 host-gateway_nagios3.cfg-rw-r--r-- 1 root root 976 Jun 30 2009 hostgroups_nagios2.cfg-rw-r--r-- 1 root root 2167 Jun 30 2009 localhost_nagios2.cfg-rw-r--r-- 1 root root 1005 Jun 30 2009 services_nagios2.cfg-rw-r--r-- 1 root root 1609 Jun 30 2009 timeperiods_nagios2.cfgConfiguracoes ----------------- contacts_nagios2.cfg-----------------define contact {contact_name administradoralias Administrador do Sistemaservice_notification_period 24x7host_notification_period 24x8service_notification_options w,u,c,rhost_notification_options d,u,rservice_notification_commands notify-by-emailhost_notification_commands host-notify-by-emailemail administrador@dominio.com.br} define contact {contact_name administrador2alias Administrador do Sistema 2service_notification_period 24x7host_notification_period 24x8service_notification_options w,u,c,rhost_notification_options d,u,rservice_notification_commands notify-by-emailhost_notification_commands host-notify-by-emailemail administrador2@dominio.com.br}------------------------------define contactgroup{contactgroup_name adminsalias Nagios Administradoresmembers administrador,administrador2,administrador3} define contactgroup{contactgroup_name informaticaalias Informatica Administradoresmembers administrador,administrador2}----------------------------hostgroups_nagios2.cfg----------------------------# A list of your ssh-accessible serversdefine hostgroup { hostgroup_name ssh-servers alias SSH servers members localhost }# nagios doesn't like monitoring hosts without services, so this is# a group for devices that have no other "services" monitorable# (like routers w/out snmp for example)define hostgroup { hostgroup_name ping-servers alias Pingable servers members gateway }define hostgroup { hostgroup_name nagios_servers alias Nagios home #contact_groups nagios-home members Jose, maria }-----------------------------------------------------------------------localhost.cfg-----------------------------------------------------------------------# A simple configuration file for monitoring the local host# This can serve as an example for configuring other servers;# Custom services specific to this host are added here, but services#