Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nagios check_dns missing? - Solved!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wlchase
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 81
Location: Texas

PostPosted: Thu Feb 17, 2005 7:35 pm    Post subject: Nagios check_dns missing? - Solved! Reply with quote

We're setting up Nagios on a nice Gentoo box, kernel 2.6, to monitor those flaky Windoze machines :lol: 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
View user's profile Send private message
_john
n00b
n00b


Joined: 08 Oct 2004
Posts: 4
Location: Bristol, UK

PostPosted: Mon Feb 21, 2005 12:02 pm    Post subject: Reply with quote

Hi,
did you install nagios from source code or did you use emerge?
Back to top
View user's profile Send private message
wlchase
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 81
Location: Texas

PostPosted: Mon Feb 21, 2005 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Mon Feb 21, 2005 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
wlchase
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 81
Location: Texas

PostPosted: Tue Feb 22, 2005 12:45 am    Post subject: Reply with quote

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! :D

Thanks, slam_head!

Bill
Back to top
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Tue Feb 22, 2005 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
wlchase
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 81
Location: Texas

PostPosted: Tue Feb 22, 2005 3:42 pm    Post subject: Reply with quote

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." :oops:

Bill
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum