ERROR: Could not determine OS. Please make sure lsb_release

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
24x7servermanagement
Posts: 13
Joined: Fri Oct 14, 2016 1:27 am

ERROR: Could not determine OS. Please make sure lsb_release

Post 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
24x7servermanagement
Posts: 13
Joined: Fri Oct 14, 2016 1:27 am

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

Post 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
24x7servermanagement
Posts: 13
Joined: Fri Oct 14, 2016 1:27 am

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

Post by 24x7servermanagement »

I think i found it. the code needs to be added under get-os-info file under nagios installation.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
Locked