Hi, we have CloudLinux 7.2 installed which is based from Centos, when I attempt to install the package I get the error...
ERROR: Could not determine OS. Please make sure lsb_release is installed or your OS info is in /etc/os-release.
What would be the best way of getting the agent to run on this system?
Nagios agent on CloudLinux 7.2?
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Nagios agent on CloudLinux 7.2?
OS info in /etc/os-release
NAME="CloudLinux"
VERSION="7.2 (Valeri Kubasov)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.2"
PRETTY_NAME="CloudLinux 7.2 (Valeri Kubasov)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:cloudlinux:cloudlinux:7"
HOME_URL="https://www.cloudlinux.com/"
BUG_REPORT_URL="https://helpdesk.cloudlinux.com/"
NAME="CloudLinux"
VERSION="7.2 (Valeri Kubasov)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.2"
PRETTY_NAME="CloudLinux 7.2 (Valeri Kubasov)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:cloudlinux:cloudlinux:7"
HOME_URL="https://www.cloudlinux.com/"
BUG_REPORT_URL="https://helpdesk.cloudlinux.com/"
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Nagios agent on CloudLinux 7.2?
Please do not bump your topics - posts made outside of our office hours will incur a delay in response time.
Can you please provide some detail on exactly which agent is being installed, including the version, and any commands you are taking to install it? I would assume this is NRPE, but there are various packages out there and we need to know which is being used.
Can you please provide some detail on exactly which agent is being installed, including the version, and any commands you are taking to install it? I would assume this is NRPE, but there are various packages out there and we need to know which is being used.
Former Nagios employee
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Nagios agent on CloudLinux 7.2?
I got it working, I added the following to the get os file
elif rpm -q cloudlinux-release; then
distro=CentOS
elif rpm -q cloudlinux-release; then
distro=CentOS
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Nagios agent on CloudLinux 7.2?
That is good news, are we ok to lock this thread?
Previous Nagios employee