<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>check_nis plugin not getting responses</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=522374318-20112011><FONT color=#0000ff 
size=2 face=Arial>Hi there --</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522374318-20112011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=522374318-20112011><FONT color=#0000ff 
size=2 face=Arial>I found the answer to the problem: I had not installed the NIS 
package on the Nagios server. The package includes</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522374318-20112011><FONT color=#0000ff 
size=2 face=Arial>the ypbind binary which is needed for the check_nis plugin to 
operate. Once the ypbind binary was in place, the </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522374318-20112011><FONT color=#0000ff 
size=2 face=Arial>check of the NIS server was successful. 
</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Kaplan, Andrew H. <BR><B>Sent:</B> Sunday, 
November 20, 2011 1:30 PM<BR><B>To:</B> Nagios Users List<BR><B>Subject:</B> 
[Nagios-users] check_nis plugin not getting responses<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT size=2 face=Arial>Hi there --</FONT> </P>
<P><FONT size=2 face=Arial>We are running a Nagios 3.3.1 server, which is being 
deployed to replace an older 3.1.2 server. Part of the process involved 
importing </FONT></P>
<P><FONT size=2 face=Arial>the plugins that were in use on the old server to the 
new one via the Nconf utility. One such item is the check_nis plugin. This 
plugin</FONT></P>
<P><FONT size=2 face=Arial>has been proven to work without issue on the older 
Nagios server, so it was thought it should be able to work like the others on 
the new</FONT></P>
<P><FONT size=2 face=Arial>server. The plugin does appear to run without errors 
on the new server, but when it queries the NIS server, it gets the following 
error message:</FONT></P>
<P><B><FONT size=2 face=Arial>NIS CRITICAL - domain <domainname> not 
answering  </FONT></B></P>
<P><FONT size=2 face=Arial>I have checked the syslog.log log file of the target 
NIS server for any reference for errors pertaining to the plugin, but there were 
none. I did a</FONT></P>
<P><FONT size=2 face=Arial>similar check on the Nagios server, but there were no 
entries as such in the nagios.log, messages, or syslog files. I also did a 
restart of the </FONT></P>
<P><FONT size=2 face=Arial>nrpe daemon on the client to see if that would make a 
difference, but it did not appear to do so, neither did running the plugin from 
the command</FONT></P>
<P><FONT size=2 face=Arial>line yield the desired results.</FONT> </P>
<P><FONT size=2 face=Arial>Does anyone have any idea as to why the script is no 
longer working? Thanks.</FONT> </P><FONT face=monospace><BR><BR>The information 
in this e-mail is intended only for the person to whom it is<BR>addressed. If 
you believe this e-mail was sent to you in error and the e-mail<BR>contains 
patient information, please contact the Partners Compliance HelpLine 
at<BR>http://www.partners.org/complianceline . If the e-mail was sent to you in 
error<BR>but does not contain patient information, please contact the sender and 
properly<BR>dispose of the e-mail.</FONT> </BODY></HTML>