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
ERROR: Could not determine OS. Please make sure lsb_release
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
Re: ERROR: Could not determine OS. Please make sure lsb_rele
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
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
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
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