NRPE 3.0.1 stopped responding after I upgraded to macOS Sierra.
check_nrpe returns
Code: Select all
(No output on stdout) stderr: connect to address 10.x.y.z port 5666: Connection refused
I have NRPE running via launchd. I reenabled and restarted it, but still no response. I turned the firewall off and it made no difference.
Here is my launchd file:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>org.nagios.nrpe</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/nrpe</string>
<string>-c</string>
<string>/usr/local/etc/nrpe.cfg</string>
<string>-i</string>
</array>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>UserName</key>
<string>_nagios</string>
<key>GroupName</key>
<string>_nagios</string>
<key>InitGroups</key>
<true/>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>nrpe</string>
<key>SockType</key>
<string>stream</string>
<key>SockFamily</key>
<string>IPv4</string>
</dict>
</dict>
</dict>
</plist>
Thanks,
Michael