Page 3 of 4
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 8:02 am
by jkinning
cat /etc/xinetd.d/nrpe
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
type = UNLISTED
port = 5666
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/sbin/nrpe
server_args = -c /etc/nagios/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
# only_from = 127.0.0.1 IP_of_NagiosXI_Server
}
I am attaching the nrpe.cfg file.
When I run the check_nrpe -H <ip_of_SLES_Server> I get this message: CHECK_NRPE: Error - Could not complete SSL handshake.
Nmap scans shows that port is open:
Starting Nmap 5.51 (
http://nmap.org ) at 2015-01-07 08:00 EST
Nmap scan report for SLES SERVER (IP_of_SLES_Server)
Host is up (0.00060s latency).
PORT STATE SERVICE
5666/tcp open nrpe
MAC Address: 11:22:33:44:55:66 (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 10:03 am
by tgriep
I would like to verify that NRPE is installed in the correct folder.
Can you run these commands
Code: Select all
ll /usr/local/nagios/bin/
ll /usr/local/nagios/etc/
When you run the check_nrpe command, you need to add the -4 on the command line, try this and post the results.
Code: Select all
/usr/local/nagios/check_nrpe -H <ip address of the SUSE server> -4
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 10:22 am
by jkinning
Code: Select all
ll /usr/local/nagios/bin/
total 112
-rwxr-xr-x 1 nagios nagios 110197 Jan 2 11:29 nsca
Code: Select all
ll /usr/local/nagios/etc
total 44
drwxr-xr-x 3 nagios nagios 4096 Jan 2 11:24 nrpe
-rw-r--r-- 1 nagios nagios 7217 Jan 2 11:29 nrpe.cfg
-rw-r--r-- 1 nagios nagios 7217 Jan 2 11:24 nrpe.cfg.save
-rw-rw-r-- 1 nagios nagios 5345 Jan 2 11:29 nsca.cfg
-rw-rw-r-- 1 nagios nagios 5345 Jan 2 11:24 nsca.cfg.save
-rw-rw-r-- 1 nagios nagios 1627 Jan 2 11:29 send_nsca.cfg
-rw-rw-r-- 1 nagios nagios 1627 Jan 2 11:24 send_nsca.cfg.save
/usr/local/nagios/libexec/check_nrpe -H <SLES_IP_Address> -4
CHECK_NRPE: Error - Could not complete SSL handshake.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 11:04 am
by tgriep
I just found out that they just released a new version of the linux nrpe agent that fixes the SLES 11 installation problems that you are having.
Here is the manual on how to install it.
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
Make sure that you remove the old installation from the /tmp folder before you try to reinstall the new agent.
It looks like nrpe was installed using a repo, was that done?
If so you should remove that first before recompiling the new linux nrpe agent
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 2:43 pm
by jkinning
Well, I think the SLES install still needs work.
I started on a new SLES server and when I try to run the fullinstall I get this message again:
ERROR: Could not determine OS. Please make sure lsb_release is installed or your OS info is in /etc/os-release.
So I create the file /etc/os-release since the script doesn't look at /etc/SuSE-release with the NAME="SUSE Linux" and it didn't work so I tried without the quotes NAME=SUSE Linux still nada. So I finally just made it SUSE and modified the fullinstall script to also just use SUSE. BINGO! It started to work.
But then again I had issues with the 2-usergroups and the nagios group not getting created. So I manually created the nagios group and remove -a from these lines:
eval "$usermodbin" -a -G "$nagioscmdgroup" "$nagiosuser"
eval "$usermodbin" -a -G "$nagiosgroup" "$nagiosuser"
Then the script runs and appears to compile everything but then
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
I am attaching the install.log.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 3:24 pm
by tgriep
That's bad news.
Can you run this and post the output?
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 3:56 pm
by jkinning
I manually created the os-release file it is not there by default.
Code: Select all
total 4720
-rw------- 1 root root 0 Jan 29 2014 .pwd.lock
drwxr-xr-x 4 root root 4096 Sep 16 16:07 ConsoleKit
-rw-r--r-- 1 root root 2863 Dec 4 2007 DIR_COLORS
-rw-r--r-- 1 root root 26 Jan 29 2014 HOSTNAME
-rw-r--r-- 1 root root 117386 Mar 17 2014 Muttrc
drwxr-xr-x 3 root root 4096 Jan 23 2014 NetworkManager
drwxr-xr-x 2 root root 4096 Jan 29 2014 PolicyKit
-rw-r--r-- 1 root root 43 Feb 3 2012 SuSE-brand
-rw-r--r-- 1 root root 69 Jun 3 2013 SuSE-release
drwxr-xr-x 2 root root 4096 May 5 2010 SuSEconfig
drwxr-xr-x 2 root root 4096 Jan 29 2014 X11
drwxr-xr-x 4 root root 4096 Jun 8 2014 YaST2
-rw-r--r-- 1 root root 2565 Mar 31 2014 a2ps-site.cfg
-rw-r--r-- 1 root root 15161 Mar 31 2014 a2ps.cfg
drwxr-xr-x 3 root root 4096 Jan 29 2014 acpi
-rw-r--r-- 1 root root 16 Jan 29 2014 adjtime
-rw-r--r-- 1 root root 2579 Jan 13 2012 aliases
drwxr-xr-x 2 root root 4096 May 5 2010 aliases.d
-rw-r--r-- 1 root root 12288 Jan 29 2014 aliases.db
drwxr-xr-x 2 root root 4096 Jan 29 2014 alternatives
drwxr-xr-x 10 root root 4096 Oct 10 15:50 apache2
drwxr-xr-x 3 root root 4096 Jan 30 2014 apparmor.d
-rw------- 1 root root 144 May 17 2011 at.deny
drwxr-x--- 3 root root 4096 Jan 29 2014 audisp
drwxr-x--- 2 root root 4096 Jan 29 2014 audit
-rw-r--r-- 1 root root 660 Jan 23 2014 auto.master
-rw-r--r-- 1 root root 524 Jan 23 2014 auto.misc
-rwxr-xr-x 1 root root 1237 Jan 23 2014 auto.net
-rwxr-xr-x 1 root root 687 Jan 23 2014 auto.smb
-rw------- 1 root root 232 Jan 23 2014 autofs_ldap_auth.conf
drwx------ 2 root root 4096 Mar 11 2014 autoinstall
-rw-r--r-- 1 root root 9224 Mar 28 2013 bash.bashrc
-rw-r--r-- 1 root root 1201 May 9 2010 bash_command_not_found
drwxr-xr-x 2 root root 4096 Sep 26 09:51 bash_completion.d
-rw-r--r-- 1 root root 444 Aug 28 21:14 bindresvport.blacklist
-rw-r--r-- 1 root root 135 Jun 4 2014 blkid.conf
drwxr-xr-x 3 root root 4096 Feb 20 2009 bootsplash
drwxr-xr-x 8 root root 4096 Jan 7 15:05 centrifydc
-rw-r--r-- 1 root root 175 Dec 20 2013 cpufreq-bench.conf
drwxr-xr-x 2 root root 4096 Jan 29 2014 cron.d
drwxr-xr-x 2 root root 4096 Sep 8 14:35 cron.daily
-rw------- 1 root root 11 Aug 7 04:04 cron.deny
drwxr-xr-x 2 root root 4096 May 5 2010 cron.hourly
drwxr-xr-x 2 root root 4096 May 5 2010 cron.monthly
drwxr-xr-x 2 root root 4096 May 5 2010 cron.weekly
-rw-r--r-- 1 root root 255 Aug 7 04:04 crontab
-rw-r--r-- 1 root root 75 May 9 2010 cryptconfig.conf
-rw-r--r-- 1 root root 5322 Oct 6 2010 csh.cshrc
-rw-r--r-- 1 root root 7677 Aug 7 04:05 csh.login
drwxrwxr-x 6 root lp 4096 Aug 17 03:30 cups
drwxr-xr-x 4 root root 4096 Sep 25 09:29 dbus-1
drwxr-xr-x 2 root root 4096 Sep 17 07:09 default
-rw-r--r-- 1 root root 0 Jan 13 2012 defaultdomain
-rw------- 1 root root 48171 Jan 29 2014 defkeymap.map
-rw-r--r-- 1 root root 45 Jan 29 2014 defkeymap.name
-rw-r--r-- 1 root root 416 May 11 2013 depmod.conf
drwxr-xr-x 2 root root 4096 May 11 2013 depmod.d
-rwxr-xr-x 1 root root 280 Jan 23 2014 dzsh_profile
-rwxr-xr-x 1 root root 280 Jan 23 2014 dzshrc
-rw-r--r-- 1 root root 97 Apr 10 2014 environment
-rw-r--r-- 1 root root 605 Jan 13 2012 ethers
-rw-r--r-- 1 root root 322 Jan 13 2012 exports
-rw-r--r-- 1 root root 26 Jun 4 2014 filesystems
drwxr-xr-x 4 root root 4096 Mar 9 2014 fonts
drwxr-xr-x 2 root root 4096 May 8 2014 foomatic
-rw-r--r-- 1 root root 805 Oct 1 07:05 fstab
-rw-r--r-- 1 root root 565 Jan 13 2012 ftpusers
-rw-r--r-- 1 root root 3045 Aug 28 21:14 gai.conf
-rw-r--r-- 1 root root 103 Mar 10 2011 gdbinit
drwxr-xr-x 2 root root 4096 Mar 10 2011 gdbinit.d
-rw------- 1 root root 448 Oct 11 2011 generateCRL.conf
drwxr-xr-x 3 root root 4096 May 8 2014 ghostscript
-rw-r--r-- 1 root root 2431 Feb 20 2009 gnome_defaults.conf
drwxr-xr-x 2 root root 4096 Aug 17 03:30 gnupg
drwxr-xr-x 2 root root 4096 Jan 29 2014 gpm
-rw-r--r-- 1 root root 597 Jan 7 15:46 group
-rw-r--r-- 1 root root 568 Jan 7 15:35 group.YaST2save
-rw-r--r-- 1 root root 603 Jan 7 15:46 group.old
-rw------- 1 root root 66 Jan 29 2014 grub.conf
-rw------- 1 root root 66 Jan 29 2014 grub.conf.old
-rw-r--r-- 1 root root 842 May 27 2011 gssapi_mech.conf
drwxr-xr-x 3 root root 4096 Feb 4 2014 hal
-rw-r--r-- 1 root root 370 Jan 13 2012 host.conf
-rw-r--r-- 1 root root 764 Oct 13 11:51 hosts
-rw-r--r-- 1 root root 696 Jan 29 2014 hosts.YaST2save
-rw-r--r-- 1 root root 2639 Jan 13 2012 hosts.allow
-rw-r--r-- 1 root root 149 Jan 13 2012 hosts.deny
-rw-r--r-- 1 root root 188 Jan 13 2012 hosts.equiv
-rw-r--r-- 1 root root 191 Jan 13 2012 hosts.lpd
-rw-r--r-- 1 root root 1 Jan 8 1994 hushlogins
drwxr-xr-x 2 root root 4096 Jan 29 2014 icewm
-rw-r--r-- 1 root root 144 Oct 28 2013 idmapd.conf
-rw-r--r-- 1 root root 1806 Jan 27 2014 idn.conf
-rw-r--r-- 1 root root 207 Jan 27 2014 idnalias.conf
drwxr-xr-x 2 root root 4096 Jan 29 2014 ifplugd
drwxr-xr-x 11 root root 4096 Jan 7 15:45 init.d
-rwxr-xr-x 1 root root 3562 May 5 2010 initscript
-rw-r--r-- 1 root root 2982 Dec 7 2006 inittab
-rw-r--r-- 1 root root 13516 Jan 21 2009 inputrc
-rw-r--r-- 1 root root 780 Jan 29 2014 insserv.conf
drwxr-xr-x 2 root root 4096 Jan 29 2014 iproute2
drwxr-xr-x 2 root root 4096 Jan 29 2014 iscsi
-rw-r--r-- 1 root root 78 Jun 3 2013 issue
-rw-r--r-- 1 root root 75 Jun 3 2013 issue.net
drwxr-xr-x 2 root root 4096 Jan 29 2014 ivman
drwxr-xr-x 2 root root 4096 Sep 8 14:35 java
drwxr-xr-x 5 root root 4096 Jan 29 2014 joe
-rw------- 1 root root 4904 Jan 7 15:05 krb5.ccache
-rw-r--r-- 1 root root 1446 Jan 7 15:15 krb5.conf
-rw-r--r-- 1 root root 1446 Jan 7 15:05 krb5.conf.1
-rw-r--r-- 1 root root 1446 Jan 2 10:51 krb5.conf.2
-rw-r--r-- 1 root root 297 Nov 8 2013 krb5.conf.pre_cdc
-rw------- 1 root root 16722 Jan 2 10:42 krb5.keytab
lrwxrwxrwx 1 root root 11 Jan 29 2014 ksh.kshrc -> bash.bashrc
-rw-r--r-- 1 root root 137255 Jan 7 15:07 ld.so.cache
-rw-r--r-- 1 root root 262 Aug 28 21:14 ld.so.conf
drwxr-xr-x 2 root root 4096 May 8 2014 ld.so.conf.d
-rw-r--r-- 1 root root 9245 Jan 29 2014 ldap.conf
-rw-r--r-- 1 root root 899 Feb 20 2009 lesskey
-rw-r--r-- 1 root root 405 Feb 20 2009 lesskey.bin
-rw-r----- 1 root root 191 Oct 27 2011 libaudit.conf
-rw-r--r-- 1 root root 3545 Sep 8 10:55 localtime
-rw-r--r-- 1 root root 127 Jun 16 2014 localtime.rpmnew
-rw-r--r-- 1 root root 4897 Feb 1 2012 login.defs
-rw-r--r-- 1 root root 897 Feb 27 2014 logrotate.conf
drwxr-xr-x 2 root root 4096 Oct 10 15:27 logrotate.d
drwxr-xr-x 5 root root 4096 Aug 17 03:29 lvm
drwxr-xr-x 2 root root 4096 Apr 1 2014 lxc
-rw-r--r-- 1 root root 113 Mar 31 2014 magic
-rw-r--r-- 1 root root 112 Dec 10 2013 mail.rc
-rw-r--r-- 1 root root 4720 Apr 12 2005 mailcap
-rw-r--r-- 1 root root 11523 Feb 20 2009 manpath.config
drwxr-xr-x 2 root root 4096 Aug 17 03:29 mcelog
-r--r--r-- 1 root root 1857432 Jul 17 18:03 microcode.dat
-rw-r--r-- 1 root root 13353 Aug 7 04:05 mime.types
-rw-r--r-- 1 root root 803 Dec 21 2012 mke2fs.conf
-rw-r--r-- 1 root root 10537 May 11 2013 modprobe.conf
-rw-r--r-- 1 root root 47 May 11 2013 modprobe.conf.local
drwxr-xr-x 2 root root 4096 Sep 25 17:18 modprobe.d
-rw-r--r-- 1 root root 1090 Feb 3 2014 motd
-rw-r--r-- 1 root root 1113 Oct 5 13:24 mtab
-rw-r--r-- 1 root root 1447 Feb 25 2009 mtools.conf
drwxr-xr-x 2 root root 4096 Mar 9 2014 named.d
-rw-r--r-- 1 root root 767 Nov 30 2009 netconfig
drwxr-xr-x 2 root root 4096 Jan 29 2014 netconfig.d
-rw-r--r-- 1 root root 796 Jan 13 2012 netgroup
-rw-r--r-- 1 root root 225 Jan 13 2012 networks
drwxr-x--- 2 news news 4096 May 5 2010 news
-rw-r--r-- 1 root root 7999 Dec 28 08:49 nrpe.cfg
drwxr-xr-x 2 root root 4096 Dec 28 08:49 nrpe.d
-rw-r--r-- 1 root root 2111 Jan 29 2014 nscd.conf
-rw-r--r-- 1 root root 1201 Jan 30 2014 nsswitch.conf
-rw-r--r-- 1 root root 1177 Jan 30 2014 nsswitch.conf.pre_cdc
-rw-r----- 1 root ntp 2095 Apr 3 2014 ntp.conf
-rw-r----- 1 root ntp 2877 Jul 21 10:05 ntp.conf.rpmnew
-rw-r----- 1 root ntp 12 Jan 29 2014 ntp.keys
drwxr-xr-x 3 root root 4096 Aug 7 04:04 omc
-rw-r--r-- 1 root root 2780 Feb 23 2009 openct.conf
drwxr-xr-x 3 root root 4096 May 11 2014 openldap
-rw-r--r-- 1 root root 10468 Dec 22 2010 opensc.conf
-rw------- 1 root root 0 Jun 29 2011 opiekeys
drwxr-xr-x 2 root root 4096 Jun 29 2011 opielocks
drwxr-xr-x 3 root root 4096 Jan 30 2014 opt
-rw-r--r-- 1 root root 10 Jan 7 15:46 os-release
drwxr-xr-x 2 root root 4096 Jan 7 15:05 pam.d
-rw-r--r-- 1 root root 7 Oct 10 15:24 papersize
-rw-r--r-- 1 root root 1303 Jan 7 15:45 passwd
-rw-r--r-- 1 root root 1290 Jan 7 15:31 passwd.YaST2save
-rw-r--r-- 1 root root 1242 Jan 7 15:31 passwd.old
-rw-r--r-- 1 root root 9643 Jan 7 2013 permissions
drwxr-xr-x 2 root root 4096 Jan 29 2014 permissions.d
-rw-r--r-- 1 root root 21287 Jan 7 2013 permissions.easy
-rw-r--r-- 1 root root 1353 Jan 7 2013 permissions.local
-rw-r--r-- 1 root root 22525 Jan 7 2013 permissions.paranoid
-rw-r--r-- 1 root root 24202 Jan 7 2013 permissions.secure
drwxr-xr-x 4 root root 4096 Oct 10 15:24 php5
drwxr-xr-x 5 root root 4096 Jan 29 2014 pm
drwxr-xr-x 5 root root 4096 Jan 29 2014 pm-profiler
lrwxrwxrwx 1 root root 21 Jan 29 2014 pm-profiler.conf -> sysconfig/pm-profiler
-rw-r--r-- 1 root root 395 Feb 20 2009 polkit-default-privs.local
-rw-r--r-- 1 root root 8371 Feb 20 2009 polkit-default-privs.restrictive
-rw-r--r-- 1 root root 9505 Feb 20 2009 polkit-default-privs.standard
drwxr-xr-x 2 root root 4096 Jan 29 2014 postfix
-rw-r--r-- 1 root root 112 Aug 10 2012 powerd.conf
drwxr-x--- 5 root dialout 4096 Sep 8 14:35 ppp
drwxr-xr-x 2 root root 4096 Feb 20 2009 pptp.d
-rw-r--r-- 1 root root 135 Oct 5 13:24 printcap
drwxr-xr-x 2 root root 4096 Jan 29 2014 products.d
-rw-r--r-- 1 root root 10019 Aug 7 04:05 profile
drwxr-xr-x 2 root root 4096 Sep 8 14:35 profile.d
-rw-r--r-- 1 root root 23232 Jan 13 2012 protocols
drwxr-xr-x 2 root root 4096 Sep 25 09:28 puppet
drwxr-xr-x 2 root root 4096 Jan 29 2014 pwdutils
-rw-r--r-- 1 root root 736 Jul 28 04:23 pythonstart
-rw-r--r-- 1 root root 220 Oct 19 2012 quotagrpadmins
-rw-r--r-- 1 root root 257 Oct 19 2012 quotatab
-rw-r--r-- 1 root root 222 Jun 4 2014 raw
lrwxrwxrwx 1 root root 6 Jan 29 2014 rc.d -> init.d
-rw-r--r-- 1 root root 614 Apr 15 2010 rc.d.README
-rw-r--r-- 1 root root 2700 Aug 24 2006 rc.splash
-rw-r--r-- 1 root root 10263 Nov 22 2011 rc.status
drwxr-xr-x 2 root root 4096 Jan 29 2014 reader.conf.d
-rw-r--r-- 1 root root 1586 May 11 2013 request-key.conf
-rw-r--r-- 1 root root 946 Jan 29 2014 resolv.conf
lrwxrwxrwx 1 root root 9 Apr 8 2014 rmt -> /sbin/rmt
-rw-r--r-- 1 root root 94 Feb 1 2012 rpasswd.conf
-rw-r--r-- 1 root root 1615 Aug 28 21:08 rpc
drwxr-xr-x 2 root root 4096 Sep 25 17:20 rpm
-rw-r--r-- 1 root root 322 May 24 2013 rsyncd.conf
-rw------- 1 root root 14 May 24 2013 rsyncd.secrets
-rw-r--r-- 1 root root 858 Nov 22 2011 rwtab
drwxr-xr-x 2 root root 4096 May 5 2010 rwtab.d
drwxr-xr-x 3 root root 4096 Apr 8 2014 salt
drwxr-xr-x 3 root root 4096 Sep 30 16:04 samba
drwxr-xr-x 2 root root 4096 Jan 29 2014 sasl2
-rw-r--r-- 1 root root 322 Feb 23 2009 scpm.users
-rw-r--r-- 1 root root 127 Oct 13 2011 screenrc
-rw-r--r-- 1 root root 161 Apr 10 2014 securetty
drwxr-xr-x 2 root root 4096 Jun 24 2014 security
-rw-r--r-- 1 root root 85179 Feb 20 2009 sensors.conf
-rw-r--r-- 1 root root 1263675 Jan 7 15:46 services
-rw-r----- 1 root shadow 703 Jan 7 15:45 shadow
-rw-r----- 1 root root 703 Jan 7 15:31 shadow.YaST2save
-rw-r----- 1 root shadow 675 Jan 7 15:31 shadow.old
-rw-r--r-- 1 root root 193 Jan 30 2014 shells
drwxr-xr-x 5 root root 4096 Sep 29 09:50 skel
-rw-r--r-- 1 root root 9800 Dec 17 2011 slp.conf
-rw-r--r-- 1 root root 1402 Dec 17 2011 slp.reg
drwxr-xr-x 3 root root 4096 Aug 17 03:29 slp.reg.d
-rw-r--r-- 1 root root 2707 Dec 17 2011 slp.spi
-rw-r--r-- 1 root root 1377 Feb 20 2009 slsh.rc
-rw-r--r-- 1 root root 91 May 11 2013 smart_drivedb.h
-rw-r--r-- 1 root root 6881 May 11 2013 smartd.conf
drwxr-xr-x 2 root root 4096 Jan 29 2014 splashy
drwxr-xr-x 2 root root 4096 Jun 24 2014 ssh
drwxr-xr-x 4 root root 4096 Sep 8 14:35 ssl
drwxr-xr-x 3 root root 4096 Jan 30 2014 subdomain.d
-r--r----- 1 root root 2548 Jan 7 15:48 sudoers
-rw-r--r-- 1 root root 456 Aug 20 2013 suseRegister.conf
drwxr-xr-x 3 root root 4096 Jan 29 2014 susehelp.d
-rw-r--r-- 1 root root 2199 May 31 2013 suspend.conf
drwxr-xr-x 7 root root 4096 Oct 15 09:27 sysconfig
-rw-r--r-- 1 root root 501 Oct 30 2012 sysctl.conf
drwxr-xr-x 2 root root 4096 Feb 25 2014 syslog-ng
lrwxrwxrwx 1 root root 23 Jan 29 2014 termcap -> /usr/share/misc/termcap
-rw-r--r-- 1 root root 258 Feb 20 1995 ttytype
drwxr-xr-x 3 root root 4096 Sep 25 17:18 udev
drwxr-xr-x 3 root root 4096 Jul 9 11:17 uefi
drwxr-x--- 2 uucp uucp 4096 May 5 2010 uucp
drwxr-x--- 2 root varnish 4096 Oct 10 15:53 varnish
-rw-r--r-- 1 root root 5819 Feb 4 2012 vimrc
-rw-r--r-- 1 root root 3728 Oct 19 2012 warnquota.conf
-rw-r--r-- 1 root root 4306 Apr 16 2014 wgetrc
-rw-r--r-- 1 root root 654 Feb 20 2009 xattr.conf
drwxr-xr-x 3 root root 4096 Jan 29 2014 xdg
-rw-r--r-- 1 root root 623 Mar 13 2014 xinetd.conf
drwxr-xr-x 2 root root 4096 Jan 7 15:50 xinetd.d
-rw-r--r-- 1 root root 779 Jan 29 2014 yp.conf
-rw-r--r-- 1 root root 199 Mar 7 2014 zprofile
-rw-r--r-- 1 root root 313 May 9 2010 zsh_command_not_found
-rw-r--r-- 1 root root 45 Mar 7 2014 zshenv
-rw-r--r-- 1 root root 6919 Mar 7 2014 zshrc
drwxr-xr-x 5 root root 4096 Aug 17 03:30 zypp
Code: Select all
cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
NAME=SUSE
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 5:33 pm
by tgriep
Can you run this and post it?
Code: Select all
cat /tmp/linux-nrpe-agent/2-usersgroups
Re: Nagios XI 2014R2.1 Upgrade
Posted: Wed Jan 07, 2015 5:56 pm
by cmerchant
The NRPE install script utilizes the lsb_release cmd located in /usr/bin/lsb_release. The fullinstall script invokes get-os-info which looks at the output of lsb_release -si to determine the distro.
To make the install script work (which we have duplicated a successful install of the linux NRPE agent on both SLES and openSUSE 11.3), you need to remove the /etc/*release file that you created, and install the following package:
remove the /tmp/linux-nrpe-agent folder, untar the file, and rerun the fullinstall script.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Thu Jan 08, 2015 7:56 am
by jkinning
Hey...I am getting further. I still don't think it should be this difficult.
How did you over come the libopenssl-devel?
Code: Select all
Repos configured OK
Installing prerequisites...
Refreshing service 'spacewalk'.
Loading repository data...
Reading installed packages...
Package 'libmcrypt-devel' not found.
'glibc' is already installed.
No update candidate for 'glibc-2.11.3-17.72.14.x86_64'. The highest available version is already installed.
'make' is already installed.
No update candidate for 'make-3.81-128.20.x86_64'. The highest available version is already installed.
'bc' is already installed.
No update candidate for 'bc-1.06-838.15.x86_64'. The highest available version is already installed.
'sudo' is already installed.
No update candidate for 'sudo-1.7.6p2-0.21.1.x86_64'. The highest available version is already installed.
'xinetd' is already installed.
No update candidate for 'xinetd-2.3.14-130.133.1.x86_64'. The highest available version is already installed.
'libopenssl-devel' not found in package names. Trying capabilities.
No provider of 'libopenssl-devel' found.