View previous topic :: View next topic |
Author |
Message |
wlchase Tux's lil' helper
Joined: 04 Jul 2003 Posts: 81 Location: Texas
|
Posted: Thu Feb 17, 2005 7:35 pm Post subject: Nagios check_dns missing? - Solved! |
|
|
We're setting up Nagios on a nice Gentoo box, kernel 2.6, to monitor those flaky Windoze machines but I'm running up against a problem.
I can't seem to get the Nagios "check_dns" function built!
I started with the vanilla 1.3.1 plugins, and then I tried the nagios-plugins-1.4, then the source tarball for 1.4, but I never end up with check_dns in /usr/nagios/libexec.
Where am I taking a wrong turn here?
TIA!
Bill
Last edited by wlchase on Tue Feb 22, 2005 3:39 pm; edited 1 time in total |
|
Back to top |
|
|
_john n00b
Joined: 08 Oct 2004 Posts: 4 Location: Bristol, UK
|
Posted: Mon Feb 21, 2005 12:02 pm Post subject: |
|
|
Hi,
did you install nagios from source code or did you use emerge? |
|
Back to top |
|
|
wlchase Tux's lil' helper
Joined: 04 Jul 2003 Posts: 81 Location: Texas
|
Posted: Mon Feb 21, 2005 5:51 pm Post subject: |
|
|
I used the Gentoo package via emerge....
I saw it was using an older set of plugins, then emerged the 1.4 set, saw it still didn't have check_dns, so I tried building the stock 1.4 set from sourceforge, and it ended up building the same set. (!?)
I have since downloaded a perl version from NagiosExchange, and gotten it working, but it breaks some of the compatibility with the contrib progs (which I'm not using right now). I'm wondering what else I might be missing..... I guess I'll find out when I try to "check" something else and end up with an error like I did with check_dns.
Bill |
|
Back to top |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Mon Feb 21, 2005 9:37 pm Post subject: |
|
|
You probably need to set your USE in your make.conf. Here are some USE variables you'll probably want to use.
nagios-dns nagios-ntp nagios-ping nagios-ssh |
|
Back to top |
|
|
wlchase Tux's lil' helper
Joined: 04 Jul 2003 Posts: 81 Location: Texas
|
Posted: Tue Feb 22, 2005 12:45 am Post subject: |
|
|
That looks like that may be it!
I added them and am running an "emerge --newuse" and it looks like it'll pick stuff up... if so, I'll count this baby solved... and remember to check the USE flags b4 I install new stuff from now on!
Thanks, slam_head!
Bill |
|
Back to top |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Tue Feb 22, 2005 4:32 am Post subject: |
|
|
In the future you can do an
Quote: | emerge -pv package |
that will show you the dependencies your using and the ones available. |
|
Back to top |
|
|
wlchase Tux's lil' helper
Joined: 04 Jul 2003 Posts: 81 Location: Texas
|
Posted: Tue Feb 22, 2005 3:42 pm Post subject: |
|
|
That did, indeed, do the trick!
And thanks for the tip..... so many things to learn about each distro!
And, not to sound like a suck-up, the Gentoo community is at least as important as the distro itself in my decision to make it "my distro."
Bill |
|
Back to top |
|
|
|