Hi,
I'm running an Opteron 64 bit server, and in an effort to re-join it to my nagios monitoring, I have tried the install nagios via Yum.
When I type:
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
In wanting to add the DAG repository to my machine, the documentation i've come across seems vague.
Can someone advise me on either of these issues?
I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher.
http://www.maxsworld.org/?page_id=115
Any help is most appreciated...
-karlski
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
This is because nagios is not in the default repositories.
In wanting to add the DAG repository to my machine, the documentation i've come across seems vague. Can someone advise me on either of these issues?
Have considered looking at dag's documentation about this?
I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher.
You might consider the FAQ on dag's site. http://dag.wieers.com/home-made/apt/FAQ.php#B4
I actually fixed this by installing RPMforge, which just so happens to aim at DAG repository, and then all yum commands to install nagios worked great.
That howto on dag just shows the basics of yum really, which i'd kind of read in depth prior to posting. From it, and other documentation, it was hard to make the connect that "installing rpmforge would enable yum to talk to dag", and end up with a yum.repos.d that had these entries:
-rw-r--r-- 1 root root 2364 Feb 16 18:27 CentOS-Base.repo -rw-r--r-- 1 root root 684 Jun 5 02:46 mirrors-rpmforge -rw-r--r-- 1 root root 416 Jun 5 02:46 rpmforge.repo yum.repos.d (END)
So for "installing nagios via yum", and/or "enabling the dag repository", the step-by-step for a 64 bit Centos 3.4 box is:
rpm -ivh rpmforge-release-0.3.4-1.el4.rf.x86_64.rpm
yum install nagios-nrpe
Yum accesses the proper repository, and voila, happiness is acheived.
Now for the fun part of adapting all of the 32 bit Nrpe checks to 64 bit ones.
-karlski
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
This is because nagios is not in the default repositories.
In wanting to add the DAG repository to my machine, the documentation i've come across seems vague. Can someone advise me on either of these issues?
Have considered looking at dag's documentation about this?
I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher.
You might consider the FAQ on dag's site. http://dag.wieers.com/home-made/apt/FAQ.php#B4
-- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, 2006-06-20 at 15:45 -0700, karl@klxsystems.net wrote:
I actually fixed this by installing RPMforge, which just so happens to aim at DAG repository, and then all yum commands to install nagios worked great.
<snip>
Just in case it got by you, as many things relating to all these repos did for me, I want to remind that you want to have the plugins for fastest mirror installed and, very likely, the protect plugin also.
Also, depending on your particular needs, extensive use of the "includepkgs=" and exclude=" may be appropriate. They've been recently touched on, so the archives probably have what you need. But if you have difficulty piecing it all together, the list will help.
-karlski
<snip>
HTH
karl@klxsystems.net wrote:
Hi,
I'm running an Opteron 64 bit server, and in an effort to re-join it to my nagios monitoring, I have tried the install nagios via Yum.
When I type:
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
In wanting to add the DAG repository to my machine, the documentation i've come across seems vague.
Can someone advise me on either of these issues?
I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher.
http://www.maxsworld.org/?page_id=115
Any help is most appreciated...
I apologize for my how-to not being very detailed about setting up Dag's repo, but it was intentionally geared toward Nagios, not Dag. I simply create a dag.repo file which looks like:
[dag] name=Dag RPM Repository For Red Hat Enterprise Linux baseurl=http://dag.atrpms.net/redhat/el$releasever/en/$basearch/dag/ http://dag.freshrpms.net/redhat/el$releasever/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el$releasever/en/$basearch... http://apt.sw.be/redhat/el$releasever/en/$basearch/dag enabled=0 gpgcheck=1
I don't believe this is the preferred way to load Dag's packages, however, thus the reason I mention to refer to the documentation for Dag in the how-to.
I believe Dag's how-to for setting up access to his repo is to use apt-get. So you install things this way, then substitute the "apt-get" command for yum.
Max
yeah, I actually had bookmarked your Howto when it came out on the list, it was perfect timing since last week we had given the go-ahead to do the full change-over to 64-bit centos, migrating away from Whitebox 32-bit. our nagios setup was one of the keys, and the existence of the howto assured we'd be OK.
still incorporating alot of the tips in it to future endeavours...
-karlski
karl@klxsystems.net wrote:
Hi,
I'm running an Opteron 64 bit server, and in an effort to re-join it to my nagios monitoring, I have tried the install nagios via Yum.
When I type:
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
In wanting to add the DAG repository to my machine, the documentation i've come across seems vague.
Can someone advise me on either of these issues?
I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher.
http://www.maxsworld.org/?page_id=115
Any help is most appreciated...
I apologize for my how-to not being very detailed about setting up Dag's repo, but it was intentionally geared toward Nagios, not Dag. I simply create a dag.repo file which looks like:
[dag] name=Dag RPM Repository For Red Hat Enterprise Linux baseurl=http://dag.atrpms.net/redhat/el$releasever/en/$basearch/dag/ http://dag.freshrpms.net/redhat/el$releasever/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el$releasever/en/$basearch... http://apt.sw.be/redhat/el$releasever/en/$basearch/dag enabled=0 gpgcheck=1
I don't believe this is the preferred way to load Dag's packages, however, thus the reason I mention to refer to the documentation for Dag in the how-to.
I believe Dag's how-to for setting up access to his repo is to use apt-get. So you install things this way, then substitute the "apt-get" command for yum.
Max
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
karl@klxsystems.net wrote:
yeah, I actually had bookmarked your Howto when it came out on the list, it was perfect timing since last week we had given the go-ahead to do the full change-over to 64-bit centos, migrating away from Whitebox 32-bit. our nagios setup was one of the keys, and the existence of the howto assured we'd be OK.
still incorporating alot of the tips in it to future endeavours...
Sorry to go off the topic in regards to this list, but I posted a note on the Nagios list about that how-to and another one. So by all means, if something needs updated, changed, or is incorrect then make sure to either comment on my site, or post a note on the Nagios list so that I can fix or improve it.
I typed that out one day I needed NRPE running, and basically didn't edit it very well. Ethan and I figured the bugs would get worked out by the Nagios community...I guess the CentOS community too lol.
Max
On Tue, 2006-06-20 at 19:58 -0400, Max H. wrote:
karl@klxsystems.net wrote:
yeah, I actually had bookmarked your Howto when it came out on the list, it was perfect timing since last week we had given the go-ahead to do the full change-over to 64-bit centos, migrating away from Whitebox 32-bit. our nagios setup was one of the keys, and the existence of the howto assured we'd be OK.
still incorporating alot of the tips in it to future endeavours...
Sorry to go off the topic in regards to this list, but I posted a note on the Nagios list about that how-to and another one.
That is not too far off topic :)
So by all means, if something needs updated, changed, or is incorrect then make sure to either comment on my site, or post a note on the Nagios list so that I can fix or improve it.
I typed that out one day I needed NRPE running, and basically didn't edit it very well. Ethan and I figured the bugs would get worked out by the Nagios community...I guess the CentOS community too lol.
Max
Would you like to post a nagios howto on the new centos wiki?
Thanks, Johnny Hughes
Johnny Hughes wrote:
Would you like to post a nagios howto on the new centos wiki?
Johnny,
I'd be happy to. I signed up for an account on the wiki page, but do I need approved to add content to the wiki first? I notice the HowToContribute section mentions contacting one of you guys first.
Max
Max H. wrote:
Would you like to post a nagios howto on the new centos wiki? http://wiki.centos.org/
I'd be happy to. I signed up for an account on the wiki page, but do I need approved to add content to the wiki first? I notice the HowToContribute section mentions contacting one of you guys first.
You should be all setup to get the stuff in :)
- KB