Nagios error – DNS

error output parsing /usr/sbin/nslookup

(1)For testing from nagios server

[nagios@monitor libexec]$ ./check_nrpe -H hostname -c check_load

 

(2) add the nagiosip; in /etc/named.conf

allow-recursion { localhost;nagios ip;};

 

(3) change the entry in services.cfg file as

check_named or check_DNS check_dig

recurssion = yes 

or 

comment recursion

or

add nagios ip to allow recursion

 

(4)add the port 5666 in apf or csf

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s