check_dns plugin not created
Posted: Sun Aug 25, 2013 11:54 am
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, I tried to do `make check_dns`, thinking that this might create the plugin for me. Not sure if that even made sense to do, but just in case, here's the output from that:
As a total newbie to Nagios, I would very much appreciate any insight on this. I've got a feeling that I'm just missing some dependency that the plugin needs (I did verify that the `nslookup` command is available), but I'm not sure what it is.gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.16"' -g -O2 -MT check_dns.o -MD -MP -MF .deps/check_dns.Tpo -c -o check_dns.o check_dns.c
check_dns.c: In function ‘main’:
check_dns.c:106: error: ‘NSLOOKUP_COMMAND’ undeclared (first use in this function)
check_dns.c:106: error: (Each undeclared identifier is reported only once
check_dns.c:106: error: for each function it appears in.)
make: *** [check_dns.o] Error 1