Search found 5 matches

by RobCarleski
Fri Sep 06, 2013 10:16 am
Forum: Open Source Nagios Projects
Topic: check_dns plugin not created
Replies: 6
Views: 5618

Re: check_dns plugin not created

Got it! Honestly, I don't know C, and I just declared the variable wrong in the check_dns.c file. I had it as... char NSLOOKUP_COMMAND = "/usr/bin/nslookup"; when it needed to be... char *NSLOOKUP_COMMAND = "/usr/bin/nslookup"; Thanks again, Scott! Hopefully this thread will help...
by RobCarleski
Fri Sep 06, 2013 9:44 am
Forum: Open Source Nagios Projects
Topic: check_dns plugin not created
Replies: 6
Views: 5618

Re: check_dns plugin not created

Hm... close, but no cigar. Now, whenever I run `check_dns` with arguments, I get 'segmentation fault'. If I run it without args, it says 'Unable to process arguments'. I'll keep looking into this, but any thoughts on it would be greatly appreciated
by RobCarleski
Fri Sep 06, 2013 7:48 am
Forum: Open Source Nagios Projects
Topic: check_dns plugin not created
Replies: 6
Views: 5618

Re: check_dns plugin not created

Update: 9/6/13 So, I just went into the check_dns.c file and manually created the NSLOOKUP_COMMAND variable, setting the value to "/usr/bin/nslookup". Upon trying to make the module again, it appears to have succeeded. I'll play around with it to be sure it's working, but I think this one...
by RobCarleski
Fri Sep 06, 2013 7:15 am
Forum: Open Source Nagios Projects
Topic: check_dns plugin not created
Replies: 6
Views: 5618

Re: check_dns plugin not created

Hi, Scott! Thanks for the response. I was thinking the same thing, but I appear to have it installed already. Running `which nslookup` gives me: /usr/bin/nslookup The OS is CentOS 6.4, and running `yum install bind-utils` just tells me the package is already installed and the latsest version. Any ot...
by RobCarleski
Sun Aug 25, 2013 11:54 am
Forum: Open Source Nagios Projects
Topic: check_dns plugin not created
Replies: 6
Views: 5618

check_dns plugin not created

So, I could very well be missing something obvious here, but I don't seem to have the 'check_dns' plugin available to me in /usr/local/nagios/libexec (where $USER1$ points to). On a whim, I went to the original nagios plugins folder I snagged, and I do see check_dns.c sitting there. Just for kicks, ...