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
nagios Asterisk monitoring Active channels and Active calls
Re: nagios Asterisk monitoring Active channels and Active ca
Add the nagios user to the asterisk group and ensure that the asterisk group has access to read and execute that file.
Re: nagios Asterisk monitoring Active channels and Active ca
thanks for replying i found the solution for this as you said. after running the check_asterisk_channels i can get only the possed calls as active calls. Only the script gives the result the calls which is already done so far as active calls. I want to get the active calls as we get in gui at the moment . Any script to get the live asterisk calls and channels and to get the alert regarding the thresold vales both for call and channels. it would be great help if you give solution for this ,
thanks for earlier reply
thanks for earlier reply
Re: nagios Asterisk monitoring Active channels and Active ca
Unfortunately I don't use asterisk so I'm not really familiar with the plugins for it, but you might be able to find a plugin that does what you want here: http://exchange.nagios.org/index.php?op ... d=asterisk