Page 1 of 1
Nagios Backup from GUI via ssh
Posted: Sun Mar 22, 2020 4:31 pm
by absarcompass
Hi Team,
I can see that there is a change in forum,
previously I was facing an issue with backup not working from Gui, below is the link to topi which Now I can not access.
https://support.nagios.com/forum/viewto ... 1&start=10
Just wanted to update that gui backup test worked on when I transfer to centos 7 but other than that it is not working on Gentoo rolling or Ubuntu.
I think there is some limitation in versions of ssh or php. I request to please ask developers to test it from centos 6 to current latest flavours of linux and they will surely be able to replicate.
Cheers for help.
Re: Nagios Backup from GUI via ssh
Posted: Wed Apr 01, 2020 1:11 pm
by benjaminsmith
HI,
Yes, we now have a customer forum and community forum to make things easier to manage or easier to understand for all users.
Regarding your question, this hasn't been tested this with Gentoo or Arch Linux, but tried it on CentOS 6 (with the default sshd config) and it does work.
My test Nagios XI server
Code: Select all
[root@TEST_XI_CentOS_6 ~]# grep full /usr/local/nagiosxi/var/xiversion
full=5.6.8
[root@TEST_XI_CentOS_6 ~]# cat /etc/issue
CentOS release 6.10 (Final)
Kernel \r on an \m
[root@TEST_XI_CentOS_6 ~]# uname -a
Linux TEST_XI_CentOS_6 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@TEST_XI_CentOS_6 ~]# yum list installed | grep openssh
openssh.x86_64 5.3p1-124.el6_10 @updates
openssh-clients.x86_64 5.3p1-124.el6_10 @updates
openssh-server.x86_64 5.3p1-124.el6_10 @updates
[root@TEST_XI_CentOS_6 ~]# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
[root@TEST_XI_CentOS_6 ~]#
In the GUI
Remote machine
Code: Select all
[root@centos6x64 ~]# cat /etc/issue
CentOS release 6.9 (Final)
Kernel \r on an \m
[root@centos6x64 ~]# uname -a
Linux centos6x64 2.6.32-696.20.1.el6.x86_64 #1 SMP Fri Jan 26 17:51:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@centos6x64 ~]# yum list installed | grep openssh
openssh.x86_64 5.3p1-123.el6_9 @updates
openssh-clients.x86_64 5.3p1-123.el6_9 @updates
openssh-server.x86_64 5.3p1-123.el6_9 @updates
[root@centos6x64 ~]# yum list installed | grep openssl
openssl.x86_64 1.0.1e-58.el6_10 @updates
openssl-devel.x86_64 1.0.1e-58.el6_10 @updates
[root@centos6x64 ~]# ll /backups/nagiosxi/
total 101296
-rw-r--r-- 1 root root 103721948 Mar 6 10:30 nagiosxi.1583512202.tar.gz
-rw-r--r-- 1 root root 110 Mar 6 10:27 ssh_test_secure_copy.txt
I discussed the issue with our developers, and they believe that the problem is caused by the sshd config.