nagios-plugins cfg files not created
Posted: Fri Mar 14, 2014 3:48 pm
Installed from source multiple times and still have no .cfg files for plugins. Anyone experience this issue before?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
[root@localhost nagioslogserver]# cd /root
[root@localhost ~]# mkdir downloads
[root@localhost ~]# cd downloads
[root@localhost downloads]# wget https://nagios-plugins.org/download/nagios-plugins-2.1.2.tar.gz#_ga=1.4390131.136716657.1444063497
--2016-10-10 16:46:25-- https://nagios-plugins.org/download/nagios-plugins-2.1.2.tar.gz
Resolving nagios-plugins.org... 72.14.186.43
Connecting to nagios-plugins.org|72.14.186.43|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2695301 (2.6M) [application/x-gzip]
Saving to: “nagios-plugins-2.1.2.tar.gz”
100%[==========================================================================================>] 2,695,301 2.73M/s in 0.9s
2016-10-10 16:46:26 (2.73 MB/s) - “nagios-plugins-2.1.2.tar.gz” saved [2695301/2695301]
[root@localhost downloads]# tar zxf nagios-plugins-2.1.2.tar.gz
[root@localhost downloads]# cd nagios-plugins-2.1.2
[root@localhost nagios-plugins-2.1.2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
...
...
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
--with-apt-get-command:
--with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
--with-ping-command: /bin/ping -n -U -w %d -c %d %s
--with-ipv6: yes
--with-mysql: no
--with-openssl: no
--with-gnutls: no
--enable-extra-opts: yes
--with-perl: /usr/bin/perl
--enable-perl-modules: no
--with-cgiurl: /nagios/cgi-bin
--with-trusted-path: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
--enable-libtap: no
Code: Select all
[root@localhost nagios-plugins-2.1.2]# make
make all-recursive
make[1]: Entering directory `/root/downloads/nagios-plugins-2.1.2'
Making all in gl
make[2]: Entering directory `/root/downloads/nagios-plugins-2.1.2/gl'
...
...
make[2]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins'
test -z "/usr/local/nagios/libexec" || /bin/mkdir -p "/usr/local/nagios/libexec"
/bin/sh ../libtool --mode=install /usr/bin/install -c check_apt check_cluster check_disk check_dummy check_http check_load check_mrtg check_mrtgtraf check_ntp check_ntp_peer check_nwstat check_overcr check_ping check_real check_smtp check_ssh check_tcp check_time check_ntp_time check_ups check_users negate urlize check_ide_smart check_uptime check_procs check_nagios check_hpjd check_snmp check_swap check_nt '/usr/local/nagios/libexec'
libtool: install: /usr/bin/install -c check_apt /usr/local/nagios/libexec/check_apt
libtool: install: /usr/bin/install -c check_cluster /usr/local/nagios/libexec/check_cluster
libtool: install: /usr/bin/install -c check_disk /usr/local/nagios/libexec/check_disk
libtool: install: /usr/bin/install -c check_dummy /usr/local/nagios/libexec/check_dummy
libtool: install: /usr/bin/install -c check_http /usr/local/nagios/libexec/check_http
libtool: install: /usr/bin/install -c check_load /usr/local/nagios/libexec/check_load
libtool: install: /usr/bin/install -c check_mrtg /usr/local/nagios/libexec/check_mrtg
libtool: install: /usr/bin/install -c check_mrtgtraf /usr/local/nagios/libexec/check_mrtgtraf
libtool: install: /usr/bin/install -c check_ntp /usr/local/nagios/libexec/check_ntp
libtool: install: /usr/bin/install -c check_ntp_peer /usr/local/nagios/libexec/check_ntp_peer
libtool: install: /usr/bin/install -c check_nwstat /usr/local/nagios/libexec/check_nwstat
libtool: install: /usr/bin/install -c check_overcr /usr/local/nagios/libexec/check_overcr
libtool: install: /usr/bin/install -c check_ping /usr/local/nagios/libexec/check_ping
libtool: install: /usr/bin/install -c check_real /usr/local/nagios/libexec/check_real
libtool: install: /usr/bin/install -c check_smtp /usr/local/nagios/libexec/check_smtp
libtool: install: /usr/bin/install -c check_ssh /usr/local/nagios/libexec/check_ssh
libtool: install: /usr/bin/install -c check_tcp /usr/local/nagios/libexec/check_tcp
libtool: install: /usr/bin/install -c check_time /usr/local/nagios/libexec/check_time
libtool: install: /usr/bin/install -c check_ntp_time /usr/local/nagios/libexec/check_ntp_time
libtool: install: /usr/bin/install -c check_ups /usr/local/nagios/libexec/check_ups
libtool: install: /usr/bin/install -c check_users /usr/local/nagios/libexec/check_users
libtool: install: /usr/bin/install -c negate /usr/local/nagios/libexec/negate
libtool: install: /usr/bin/install -c urlize /usr/local/nagios/libexec/urlize
libtool: install: /usr/bin/install -c check_ide_smart /usr/local/nagios/libexec/check_ide_smart
libtool: install: /usr/bin/install -c check_uptime /usr/local/nagios/libexec/check_uptime
libtool: install: /usr/bin/install -c check_procs /usr/local/nagios/libexec/check_procs
libtool: install: /usr/bin/install -c check_nagios /usr/local/nagios/libexec/check_nagios
libtool: install: /usr/bin/install -c check_hpjd /usr/local/nagios/libexec/check_hpjd
libtool: install: /usr/bin/install -c check_snmp /usr/local/nagios/libexec/check_snmp
libtool: install: /usr/bin/install -c check_swap /usr/local/nagios/libexec/check_swap
libtool: install: /usr/bin/install -c check_nt /usr/local/nagios/libexec/check_nt
make install-exec-hook
make[3]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins'
cd /usr/local/nagios/libexec && \
for i in check_ftp check_imap check_nntp check_pop check_udp check_clamd ; do rm -f $i; ln -s check_tcp $i ; done ;\
if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi
make[3]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins'
make[1]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins'
Making install in plugins-scripts
make[1]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins-scripts'
make[2]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins-scripts'
test -z "/usr/local/nagios/libexec" || /bin/mkdir -p "/usr/local/nagios/libexec"
/usr/bin/install -c check_breeze check_disk_smb check_flexlm check_ircd check_log check_oracle check_rpc check_sensors check_wave check_ifstatus check_ifoperstatus check_mailq check_file_age utils.sh utils.pm '/usr/local/nagios/libexec'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins-scripts'
make[1]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins-scripts'
Making install in plugins-root
make[1]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins-root'
make[2]: Entering directory `/root/downloads/nagios-plugins-2.1.2/plugins-root'
/usr/bin/install -c check_dhcp /usr/local/nagios/libexec/check_dhcp
chown root /usr/local/nagios/libexec/check_dhcp
chmod ug=rx,u+s /usr/local/nagios/libexec/check_dhcp
/usr/bin/install -c check_icmp /usr/local/nagios/libexec/check_icmp
chown root /usr/local/nagios/libexec/check_icmp
chmod ug=rx,u+s /usr/local/nagios/libexec/check_icmp
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins-root'
make[1]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/plugins-root'
Making install in po
make[1]: Entering directory `/root/downloads/nagios-plugins-2.1.2/po'
/bin/mkdir -p /usr/local/nagios/share
installing fr.gmo as /usr/local/nagios/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
installing de.gmo as /usr/local/nagios/share/locale/de/LC_MESSAGES/nagios-plugins.mo
if test "nagios-plugins" = "gettext-tools"; then \
/bin/mkdir -p /usr/local/nagios/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/nagios/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /usr/local/nagios/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/root/downloads/nagios-plugins-2.1.2/po'
make[1]: Entering directory `/root/downloads/nagios-plugins-2.1.2'
make[2]: Entering directory `/root/downloads/nagios-plugins-2.1.2'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/downloads/nagios-plugins-2.1.2'
make[1]: Leaving directory `/root/downloads/nagios-plugins-2.1.2'
Code: Select all
[root@localhost nagios-plugins-2.1.2]# ls -al /usr/local/nagios/libexec/
total 5760
drwxr-xr-x 2 root root 4096 Oct 10 16:48 .
drwxr-xr-x 5 root root 4096 Oct 10 16:48 ..
-rwxr-xr-x 1 root root 181791 Oct 10 16:48 check_apt
-rwxr-xr-x 1 root root 2346 Oct 10 16:48 check_breeze
lrwxrwxrwx 1 root root 9 Oct 10 16:48 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 140470 Oct 10 16:48 check_cluster
-r-sr-xr-x 1 root root 181022 Oct 10 16:48 check_dhcp
-rwxr-xr-x 1 root root 196017 Oct 10 16:48 check_disk
tmcdonald wrote:What steps did you take to perform the install? Can you post the exact commands/steps?