Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- administrator@intranet:/etc$ sudo apt-get install nagios3
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard nagios3-cgi nagios3-common nagios3-core
- Suggested packages:
- whois nagios-nrpe-plugin
- The following NEW packages will be installed:
- nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard nagios3 nagios3-cgi nagios3-common nagios3-core
- 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0B/5,294kB of archives.
- After this operation, 14.1MB of additional disk space will be used.
- Do you want to continue [Y/n]? Y
- Preconfiguring packages ...
- Selecting previously deselected package nagios-images.
- (Reading database ... 81350 files and directories currently installed.)
- Unpacking nagios-images (from .../nagios-images_0.5_all.deb) ...
- Selecting previously deselected package nagios-plugins-basic.
- Unpacking nagios-plugins-basic (from .../nagios-plugins-basic_1.4.14-1ubuntu1_amd64.deb) ...
- Selecting previously deselected package nagios3-common.
- Unpacking nagios3-common (from .../nagios3-common_3.2.0-4ubuntu2.2_all.deb) ...
- Selecting previously deselected package nagios3-core.
- Unpacking nagios3-core (from .../nagios3-core_3.2.0-4ubuntu2.2_amd64.deb) ...
- Selecting previously deselected package nagios3-cgi.
- Unpacking nagios3-cgi (from .../nagios3-cgi_3.2.0-4ubuntu2.2_amd64.deb) ...
- Selecting previously deselected package nagios3.
- Unpacking nagios3 (from .../nagios3_3.2.0-4ubuntu2.2_amd64.deb) ...
- Selecting previously deselected package nagios-plugins-standard.
- Unpacking nagios-plugins-standard (from .../nagios-plugins-standard_1.4.14-1ubuntu1_amd64.deb) ...
- Selecting previously deselected package nagios-plugins.
- Unpacking nagios-plugins (from .../nagios-plugins_1.4.14-1ubuntu1_all.deb) ...
- Processing triggers for ureadahead ...
- Processing triggers for man-db ...
- Setting up nagios-images (0.5) ...
- Setting up nagios-plugins-basic (1.4.14-1ubuntu1) ...
- Not replacing deleted config file /etc/nagios-plugins/config/apt.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/dhcp.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/disk.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/dummy.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/ftp.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/http.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/load.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/mail.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/news.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/ntp.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/ping.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/procs.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/real.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/ssh.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/tcp_udp.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/telnet.cfg
- Not replacing deleted config file /etc/nagios-plugins/config/users.cfg
- Setting up nagios3-common (3.2.0-4ubuntu2.2) ...
- * Starting nagios3 monitoring daemon nagios3 grep: /etc/nagios3/cgi.cfg: No such file or directory
- shift: 236: can't shift that many
- * unable to determine nagios_check_command from /etc/nagios3/cgi.cfg!... [fail]
- Nagios Core 3.2.0
- Copyright (c) 2009 Nagios Core Development Team and Community Contributors
- Copyright (c) 1999-2009 Ethan Galstad
- Last Modified: 08-12-2009
- License: GPL
- Website: http://www.nagios.org
- Reading configuration data...
- Read main config file okay...
- Processing object config file '/etc/nagios3/commands.cfg'...
- Processing object config directory '/etc/nagios-plugins/config'...
- Processing object config file '/etc/nagios-plugins/config/mrtg.cfg'...
- Processing object config file '/etc/nagios-plugins/config/mysql.cfg'...
- Processing object config file '/etc/nagios-plugins/config/rpc-nfs.cfg'...
- Processing object config file '/etc/nagios-plugins/config/flexlm.cfg'...
- Processing object config file '/etc/nagios-plugins/config/snmp.cfg'...
- Processing object config file '/etc/nagios-plugins/config/nt.cfg'...
- Processing object config file '/etc/nagios-plugins/config/radius.cfg'...
- Processing object config file '/etc/nagios-plugins/config/ifstatus.cfg'...
- Processing object config file '/etc/nagios-plugins/config/pgsql.cfg'...
- Processing object config file '/etc/nagios-plugins/config/disk-smb.cfg'...
- Processing object config file '/etc/nagios-plugins/config/netware.cfg'...
- Processing object config file '/etc/nagios-plugins/config/hppjd.cfg'...
- Processing object config file '/etc/nagios-plugins/config/dns.cfg'...
- Processing object config file '/etc/nagios-plugins/config/ldap.cfg'...
- Processing object config file '/etc/nagios-plugins/config/breeze.cfg'...
- Processing object config directory '/etc/nagios3/conf.d'...
- Processing object config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/contacts_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/timeperiods_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/extinfo_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/host-gateway_nagios3.cfg'...
- Processing object config file '/etc/nagios3/conf.d/services_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/localhost_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/generic-service_nagios2.cfg'...
- Processing object config file '/etc/nagios3/conf.d/generic-host_nagios2.cfg'...
- Read object config files okay...
- Running pre-flight check on configuration data...
- Checking services...
- Error: Service check command 'check_ping' specified in service 'PING' for host 'gateway' not defined anywhere!
- Error: Service check command 'check_load' specified in service 'Current Load' for host 'localhost' not defined anywhere!
- Error: Service check command 'check_users' specified in service 'Current Users' for host 'localhost' not defined anywhere!
- Error: Service check command 'check_all_disks' specified in service 'Disk Space' for host 'localhost' not defined anywhere!
- Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere!
- Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere!
- Error: Service check command 'check_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere!
- Checked 7 services.
- Checking hosts...
- Error: Host check command 'check-host-alive' specified for host 'gateway' is not defined anywhere!
- Error: Host check command 'check-host-alive' specified for host 'localhost' is not defined anywhere!
- Checked 2 hosts.
- Checking host groups...
- Checked 5 host groups.
- Checking service groups...
- Checked 0 service groups.
- Checking contacts...
- Checked 1 contacts.
- Checking contact groups...
- Checked 1 contact groups.
- Checking service escalations...
- Checked 0 service escalations.
- Checking service dependencies...
- Checked 0 service dependencies.
- Checking host escalations...
- Checked 0 host escalations.
- Checking host dependencies...
- Checked 0 host dependencies.
- Checking commands...
- Checked 69 commands.
- Checking time periods...
- Checked 4 time periods.
- Checking for circular paths between hosts...
- Checking for circular host and service dependencies...
- Checking global event handlers...
- Checking obsessive compulsive processor commands...
- Checking misc settings...
- Total Warnings: 0
- Total Errors: 9
- ***> One or more problems was encountered while running the pre-flight check...
- Check your configuration file(s) to ensure that they contain valid
- directives and data defintions. If you are upgrading from a previous
- version of Nagios, you should be aware that some variables/definitions
- may have been removed or modified in this version. Make sure to read
- the HTML documentation regarding the config files, as well as the
- 'Whats New' section to find out what has changed.
- * errors in config!
- [fail]
- invoke-rc.d: initscript nagios3, action "start" failed.
- dpkg: error processing nagios3-common (--configure):
- subprocess installed post-installation script returned error exit status 1
- dpkg: dependency problems prevent configuration of nagios3-core:
- nagios3-core depends on nagios3-common (= 3.2.0-4ubuntu2.2); however:
- Package nagios3-common is not configured yet.
- dpkg: error processing nagios3-core (--configure):
- dependency problems - leaving unconfigured
- dpkg: dependency problems prevent configuration of nagios3-cgi:
- nagios3-cgi depends on nagios3-common (= 3.2.0-4ubuntu2.2); however:
- Package nagios3-common is not configured yet.
- dpkg: error processing nagios3-cgi (--configure):
- dependency problems - leaving unconfigured
- dpkg: dependency problems prevent configuration of nagios3:
- nagios3 depends on nagios3-core (= 3.2.0-4ubuntu2.2); however:
- Package nagios3-core is not configured yet.
- nagios3 depends on nagios3-cgi (= 3.2.0-4ubuntu2.2); however:
- Package nagios3-cgi is not configured yet.
- dpkg: error processing nagios3 (--configure):No apport report written because the error message indicates its a followup error from a previous failure.
- No apport report written because the error message indicates its a followup error from a previous failure.
- No apport report written because MaxReports is reached already
- dependency problems - leaving unconfigured
- Setting up nagios-plugins-standard (1.4.14-1ubuntu1) ...
- Setting up nagios-plugins (1.4.14-1ubuntu1) ...
- Errors were encountered while processing:
- nagios3-common
- nagios3-core
- nagios3-cgi
- nagios3
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- administrator@intranet:/etc$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement