Page 1 of 1

ERROR: Could not determine OS. Please make sure lsb_release

Posted: Sat Dec 17, 2016 1:13 am
by 24x7servermanagement
Hi

The server is running the following cloudlinux server -- cat /etc/redhat-release
CloudLinux Server release 6.8 (Oleg Makarov)

How do we get the nrpe plugin installed on Cloudlinux server ?

regards
Inder

Re: ERROR: Could not determine OS. Please make sure lsb_rele

Posted: Sat Dec 17, 2016 2:33 am
by 24x7servermanagement
Found one solution here from - https://support.nagios.com/forum/viewto ... =6&t=41053 but not sure where to add this

elif rpm -q cloudlinux-release; then
distro=CentOS

Re: ERROR: Could not determine OS. Please make sure lsb_rele

Posted: Sat Dec 17, 2016 2:40 am
by 24x7servermanagement
I think i found it. the code needs to be added under get-os-info file under nagios installation.

Re: ERROR: Could not determine OS. Please make sure lsb_rele

Posted: Mon Dec 19, 2016 11:14 am
by rkennedy
There are no promises it will work that route. The get-os-info will work, or just modify the fullinstall script to accept that $distro.

Code: Select all

if [ "$distro" == "CentOS" ] || [ "$distro" == "RedHatEnterpriseServer" ] || [ "$distro" == "Exact name for what $distro gets populated to" ]; then