<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
When executing the following command :<BR>
<BR>
<FONT SIZE="2">[root@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H ip_address -c check_asterisk_peers</FONT><BR>
<BR>
I get the following output :<BR>
<BR>
<FONT SIZE="2">NRPE: Unable to read output</FONT><BR>
<BR>
Somewhere Nagios does not have enough rights to question Asterisk about the sip peers.<BR>
<BR>
These are the rights of the check_nrpe on the Nagios Server :<BR>
<BR>
<FONT SIZE="2">[root@nagios ~]# ls -l /usr/local/nagios/libexec/check_nrpe</FONT><BR>
<FONT SIZE="2">-rwxrwxr-x 1 nagios nagios 58017 Oct 31 11:40 /usr/local/nagios/libexec/check_nrpe</FONT><BR>
<BR>
These are the rights of the plugin that questions about the SIP-peers on the Asterisk-server :<BR>
<BR>
<FONT SIZE="2">bash-3.2# ls -l /usr/local/nagios/libexec/nagisk.pl</FONT><BR>
<FONT SIZE="2">-rwxr-x--- 1 nagios nagios 4163 Nov&nbsp; 2 17:12 /usr/local/nagios/libexec/nagisk.pl</FONT><BR>
<BR>
The NRPE-plugin on the Asterisk-server is part of the Xinetd-proces.<BR>
<BR>
Asterisk himself is currently running as the root-user.<BR>
<BR>
Question : I'm confused about which proces/plugin I need to give more rights so that the Asterisk-server can be questioned about its sip-peers. <BR>
<BR>
Jonas.
</BODY>
</HTML>