Page 1 of 2
Monitoring Fedora VM's
Posted: Wed Oct 16, 2013 11:41 am
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.
Re: Monitoring Fedora VM's
Posted: Wed Oct 16, 2013 11:51 am
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.
Re: Monitoring Fedora VM's
Posted: Wed Oct 16, 2013 12:02 pm
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.
Re: Monitoring Fedora VM's
Posted: Wed Oct 16, 2013 4:55 pm
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!
Re: Monitoring Fedora VM's
Posted: Wed Oct 16, 2013 5:04 pm
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
Re: Monitoring Fedora VM's
Posted: Thu Oct 17, 2013 11:08 am
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.
Re: Monitoring Fedora VM's
Posted: Thu Oct 17, 2013 11:10 am
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.
This will skip the install for epel and move on to installing packages and such.
Re: Monitoring Fedora VM's
Posted: Thu Oct 17, 2013 12:54 pm
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.
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.
Re: Monitoring Fedora VM's
Posted: Thu Oct 17, 2013 1:39 pm
by sreinhardt
Where did you run this command from? Could you list the directory that you are installing from please.
Re: Monitoring Fedora VM's
Posted: Thu Oct 17, 2013 2:02 pm
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]#