Linux Client fullinstall CentOS 7
Posted: Tue Sep 05, 2017 12:12 pm
Hiya Nagios experts,
Got a weird one here.
I have 3 CentOS 7 boxes that I need to monitor. The first two went perfectly and everything works. On the third one the install said successful. Here is the results of rerunning fullinstall
However the service is not found and it looks like nothing much was done?!?
if you look at my locate (yes I did an updatedb to make sure the new stuff was taken into account) I am missing /etc/nagios and /usr/sbin/nagios, which are on my other two that successfully installed.
Also there is no install.log file to be seen?!?
Has anyone seen this before?
Thanks in advance,
Robert
Got a weird one here.
I have 3 CentOS 7 boxes that I need to monitor. The first two went perfectly and everything works. On the third one the install said successful. Here is the results of rerunning fullinstall
Code: Select all
Nagios Linux Agent Installer
============================
This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
Do you want to continue? [Y/n] y
Proceeding with installation...
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Prereqs already installed - skipping...
RESULT=0
Running './2-usersgroups'...
Users/groups already configured - skipping.
RESULT=0
Running './3-services'...
/etc/services already updated - skipping.
RESULT=0
Running './4-firewall'...
Firewall rules already configured - skipping.
RESULT=0
Running './A-subcomponents'...
Subcomponents already configured - skipping.
RESULT=0
##########################################################
### ###
### Nagios XI Linux Agent Installation Complete! ###
### ###
##########################################################
If you experience any problems, please attach the file install.log that was just created to any support requests.
if you look at my locate (yes I did an updatedb to make sure the new stuff was taken into account) I am missing /etc/nagios and /usr/sbin/nagios, which are on my other two that successfully installed.
Code: Select all
-bash-4.2# service nagios status
Redirecting to /bin/systemctl status nagios.service
Unit nagios.service could not be found.
-bash-4.2# locate nagios
/etc/selinux/targeted/modules/active/modules/nagios.pp
/home/nagios
/home/nagios/.bash_logout
/home/nagios/.bash_profile
/home/nagios/.bashrc
/home/nagios/.mozilla
/home/nagios/.mozilla/extensions
/home/nagios/.mozilla/plugins
/usr/local/nagios
/usr/local/nagios/bin
/usr/local/nagios/etc
/usr/local/nagios/include
/usr/local/nagios/libexec
/usr/local/nagios/share
/usr/local/nagios/var
/usr/local/nagios/bin/nrpe
/usr/local/nagios/bin/nsca
/usr/local/nagios/etc/nrpe
/usr/local/nagios/etc/nrpe.cfg
/usr/local/nagios/etc/nsca.cfg
/usr/local/nagios/etc/send_nsca.cfg
/usr/local/nagios/etc/nrpe/asterisk.cfg
/usr/local/nagios/etc/nrpe/common.cfg
/usr/local/nagios/libexec/check_apt
/usr/local/nagios/libexec/check_asterisk.pl
/usr/local/nagios/libexec/check_asterisk_sip_peers.sh
/usr/local/nagios/libexec/check_breeze
/usr/local/nagios/libexec/check_by_ssh
/usr/local/nagios/libexec/check_clamd
/usr/local/nagios/libexec/check_cluster
/usr/local/nagios/libexec/check_cpu_stats.sh
/usr/local/nagios/libexec/check_dhcp
/usr/local/nagios/libexec/check_dig
/usr/local/nagios/libexec/check_disk
/usr/local/nagios/libexec/check_disk_smb
/usr/local/nagios/libexec/check_dns
/usr/local/nagios/libexec/check_dummy
/usr/local/nagios/libexec/check_file_age
/usr/local/nagios/libexec/check_flexlm
/usr/local/nagios/libexec/check_ftp
/usr/local/nagios/libexec/check_http
/usr/local/nagios/libexec/check_icmp
/usr/local/nagios/libexec/check_ide_smart
/usr/local/nagios/libexec/check_ifoperstatus
/usr/local/nagios/libexec/check_ifstatus
/usr/local/nagios/libexec/check_imap
/usr/local/nagios/libexec/check_init_service
/usr/local/nagios/libexec/check_ircd
/usr/local/nagios/libexec/check_jabber
/usr/local/nagios/libexec/check_load
/usr/local/nagios/libexec/check_log
/usr/local/nagios/libexec/check_mailq
/usr/local/nagios/libexec/check_mrtg
/usr/local/nagios/libexec/check_mrtgtraf
/usr/local/nagios/libexec/check_nagios
/usr/local/nagios/libexec/check_netstat.pl
/usr/local/nagios/libexec/check_nntp
/usr/local/nagios/libexec/check_nntps
/usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nt
/usr/local/nagios/libexec/check_ntp
/usr/local/nagios/libexec/check_ntp_peer
/usr/local/nagios/libexec/check_ntp_time
/usr/local/nagios/libexec/check_nwstat
/usr/local/nagios/libexec/check_open_files.pl
/usr/local/nagios/libexec/check_oracle
/usr/local/nagios/libexec/check_overcr
/usr/local/nagios/libexec/check_ping
/usr/local/nagios/libexec/check_pop
/usr/local/nagios/libexec/check_procs
/usr/local/nagios/libexec/check_real
/usr/local/nagios/libexec/check_rpc
/usr/local/nagios/libexec/check_sensors
/usr/local/nagios/libexec/check_services
/usr/local/nagios/libexec/check_simap
/usr/local/nagios/libexec/check_sip
/usr/local/nagios/libexec/check_smtp
/usr/local/nagios/libexec/check_spop
/usr/local/nagios/libexec/check_ssh
/usr/local/nagios/libexec/check_ssmtp
/usr/local/nagios/libexec/check_swap
/usr/local/nagios/libexec/check_tcp
/usr/local/nagios/libexec/check_time
/usr/local/nagios/libexec/check_udp
/usr/local/nagios/libexec/check_ups
/usr/local/nagios/libexec/check_uptime
/usr/local/nagios/libexec/check_users
/usr/local/nagios/libexec/check_wave
/usr/local/nagios/libexec/check_yum
/usr/local/nagios/libexec/custom_check_mem
/usr/local/nagios/libexec/custom_check_procs
/usr/local/nagios/libexec/nagisk.pl
/usr/local/nagios/libexec/negate
/usr/local/nagios/libexec/send_nsca
/usr/local/nagios/libexec/urlize
/usr/local/nagios/libexec/utils.pm
/usr/local/nagios/libexec/utils.sh
/usr/local/nagios/share/locale
/usr/local/nagios/share/locale/de
/usr/local/nagios/share/locale/fr
/usr/local/nagios/share/locale/de/LC_MESSAGES
/usr/local/nagios/share/locale/de/LC_MESSAGES/nagios-plugins.mo
/usr/local/nagios/share/locale/fr/LC_MESSAGES
/usr/local/nagios/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
/usr/local/nagios/var/spool
/usr/share/augeas/lenses/dist/nagioscfg.aug
/usr/share/augeas/lenses/dist/nagiosobjects.aug
/var/spool/mail/nagios
Code: Select all
-bash-4.2# updatedb
-bash-4.2# locate install.log
-bash-4.2# Thanks in advance,
Robert