Nagios XI on oracle Linux 6.4
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Nagios XI on oracle Linux 6.4
Hi,
I failed to install nagios xi on Oracle Linux 6.4, however Oracle support confirmed that they already contact you to confirm that you support their OS.
So,do you support nagios xi on Oracle Linux?
I am using xi-latest.tar.gz
Please advice,
Thanks,
Inas Labib
I failed to install nagios xi on Oracle Linux 6.4, however Oracle support confirmed that they already contact you to confirm that you support their OS.
So,do you support nagios xi on Oracle Linux?
I am using xi-latest.tar.gz
Please advice,
Thanks,
Inas Labib
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios XI on oracle Linux 6.4
In the sense that XI will install with minimal alterations, yes it is possible. As for official support, that is not technically provided. We will of course always do our best to help in situations that can be resolved. However if there is an issue specific to OEL, there isn't much we can do, and limited support will be provided. If you wish to continue with the installation, modify 0-yum to remove lines 12-57. Then continue with the standard ./fullinstall script.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Nagios XI on oracle Linux 6.4
Hi,
We installed Nagios XI on Redhat 6 with out any issues to make sure that it will work properly.
But the problem now that we have a lot of oracle Linux physical and virtual machines and we can not switch them to redhat and as you know that even the agent is not supported on Oracle Linux.
So,PLEASE advice.
How to install nagios xi linux agent on Oracle Linux systems??
Thanks,
Inas Labib
We installed Nagios XI on Redhat 6 with out any issues to make sure that it will work properly.
But the problem now that we have a lot of oracle Linux physical and virtual machines and we can not switch them to redhat and as you know that even the agent is not supported on Oracle Linux.
So,PLEASE advice.
How to install nagios xi linux agent on Oracle Linux systems??
Thanks,
Inas Labib
Re: Nagios XI on oracle Linux 6.4
We have NRPE installed on a bunch or Oracle Linux, what issue are you having?inas.labib wrote:Hi,
We installed Nagios XI on Redhat 6 with out any issues to make sure that it will work properly.
But the problem now that we have a lot of oracle Linux physical and virtual machines and we can not switch them to redhat and as you know that even the agent is not supported on Oracle Linux.
So,PLEASE advice.
How to install nagios xi linux agent on Oracle Linux systems??
Thanks,
Inas Labib
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios XI on oracle Linux 6.4
As bandit mentioned, you will be able to install nrpe on OEL just fine. You will however have to make similar modifications to the install script to remove the RHEL\CENT check first. Otherwise it should work straight from the built-in scripts.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Nagios XI on oracle Linux 6.4
Hi,
Thanks for your prompt reply.
I am using linux-nrpe-agent.tar.gz from Nagios download page.
Is this a correct file to be installed?
and I am using Installing_The_XI_Linux_Agent document to install the agent.
could you please point to which lines I have to remove/Edit in the fullinstall script to make it work on Oracle Linux?
Thanks again for your kind co-operation
Inas Labib
Thanks for your prompt reply.
I am using linux-nrpe-agent.tar.gz from Nagios download page.
Is this a correct file to be installed?
and I am using Installing_The_XI_Linux_Agent document to install the agent.
could you please point to which lines I have to remove/Edit in the fullinstall script to make it work on Oracle Linux?
Thanks again for your kind co-operation
Inas Labib
Re: Nagios XI on oracle Linux 6.4
unfortunately, I am not the linux admin here and I do not have the exact details, I just know this is how my linux admin did it:( he does not have it documented)
Code: Select all
I had to trick it into thinking it was rhel.
yes.. it generates a config file when you install it, so I took a config file it generated from a RHEL box and copied it to the OEL box, and I commented out the part to make it create the config file.
sorry, i don't remember the names of the files...2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Nagios XI on oracle Linux 6.4
No worries. They usual way is to identify what our fullinstall script labels your distro and then add it too the fullinstall file.
1. Run fullinstall. It should fail with a message that your distro "X" is unsupported.
2. Edit fullinstall, Line 51:
Change it to include your distro/version string:
Save out. The full case statement should then resemble:
3. Rerun fullinstall. It should now progress past the distro check.
NOTE: This will only work on systems that use "yum" for package management. Don't expect to use this workaround on ubuntu/debian/gentoo/arch/etc.
1. Run fullinstall. It should fail with a message that your distro "X" is unsupported.
2. Edit fullinstall, Line 51:
Code: Select all
el5 | el6 )Code: Select all
el5 | el6 | X )Code: Select all
# Check OS major version
case "$dist" in
el5 | el6 | X )
: do nothing
;;
fedora9|fedora10|fedora11|fedora12|fedora13|fedora14|fedora15 )
: do nothing
;;
* )
echo "$dist is not currently supported. Please use Red Hat or CentOS versions 5 or 6." >&2
exit 1
esacNOTE: This will only work on systems that use "yum" for package management. Don't expect to use this workaround on ubuntu/debian/gentoo/arch/etc.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios XI on oracle Linux 6.4
I believe you should just need to remove lines 69-80 on ./fullinstall. This should remove any checks for OS. Let me know how it goes from here, and please post the install.log if issues persist.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Nagios XI on oracle Linux 6.4
Hi,
Thanks so much for your reply abrist and sreinhardt. It is worked fine now.
I did what abrist suggested and it worked without any issues.
Thanks again.
Inas Labib
Thanks so much for your reply abrist and sreinhardt. It is worked fine now.
I did what abrist suggested and it worked without any issues.
Thanks again.
Inas Labib