i have installed nagioscore 3.2.3 and and i have installed nrpe addon on the asterisk server. i have downloaded the check_asterisk_channels . and did the rest of the things how we used to monitor the remote host.
Now the issue on remote host i am not able the run the pluggin in nagios user. saying error like
[nagios@centos6 ~]$ /usr/local/nagios/libexec/check_asterisk_channels
CRITICAL: Unable to connect to remote asterisk (does /var/run/asterisk/asteriskctl exist?)
but the file is there . if i run in root the check_asterisk_channels is working fine . Not able to run on nagios users.
give the some solutions those who got the solution.
my download plugin uder /usr/local/nagios/libexec/check_asterisk_channels
thanks for those who give solution to this issue