Monitoring Fedora VM's

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Monitoring Fedora VM's

Post by Tx243 »

I have a half dozen Fedora vm's that our development team uses, I tried using the instructions here:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

But they error out saying use the RHEL/CentOS 5 or 6 (which looks like the document is using). I tried another link that had me compile another set but that failed in the make or make install steps. I am NOT a linux guy which is one of the reasons we are looking at XI instead of Core. After searching the forum for fedora agent install or monitoring fedora I didn't get too far so I figured I would ask direct.

Is there a good isntall similar to the link above for Fedora 16 monitoring?

I appreciate any and all assistance.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring Fedora VM's

Post by abrist »

What is the exact error message when you try to run the agent?
I ask because it should include the os/version string, and we should be able to include that in the agent install by changing one line of the install script.
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.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Fedora VM's

Post by Tx243 »

After executing the ./fullinstall I get: fedora16 is not currently supported. Please use Red Hat or CentOS versions 5 or 6.

in the link I posted it looks like that is the version I initially downloaded but I guess not.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring Fedora VM's

Post by sreinhardt »

I don't think our alterations for installs have made it to the agent yet. You should be able to remove lines 69-80 or comment them out, and get around the os restrictions. It is just upstream RHEL\Cent anyway and yum works perfectly fine, so everything else should be ok!
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.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Fedora VM's

Post by Tx243 »

sreinhardt wrote:I don't think our alterations for installs have made it to the agent yet. You should be able to remove lines 69-80 or comment them out, and get around the os restrictions. It is just upstream RHEL\Cent anyway and yum works perfectly fine, so everything else should be ok!
I commented out the lines regarding check OS and ran ./fullinstall again and got the following error in the install.log

Configuring Yum...
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-releases-6-5.noarch.rpm
warning: ./packages/epel-releases-6-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key
Error: Failed dependencies:
fedora-release conflicts with epel-release-6-5.noarch
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring Fedora VM's

Post by abrist »

You could try commenting out the repo lines as well, though you may have package issues if fedora's 6.5 repo is missing anything that the agent requires.
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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring Fedora VM's

Post by sreinhardt »

Fair enough, since epel is almost straight from fedora. This ones a bit easier, just run the command below in the install directory and re-run full install.

Code: Select all

touch installed.yum
This will skip the install for epel and move on to installing packages and such.
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.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Fedora VM's

Post by Tx243 »

sreinhardt wrote:Fair enough, since epel is almost straight from fedora. This ones a bit easier, just run the command below in the install directory and re-run full install.

Code: Select all

touch installed.yum
This will skip the install for epel and move on to installing packages and such.
when I did that I got the same error posted above.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring Fedora VM's

Post by sreinhardt »

Where did you run this command from? Could you list the directory that you are installing from please.
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.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Fedora VM's

Post by Tx243 »

sreinhardt wrote:Where did you run this command from? Could you list the directory that you are installing from please.
Sure it's /tmp/linux-nrpe-agent]#
Locked