Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

as the nrpe user when Command: /scripts/ -c version Outputs: Asterisk 1.8.11-cert10

Using nrpe

Command: /usr/lib/nagios/plugins/check_nrpe -H [HOSTNAME] -c check_asterisk_version

Outputs: Error getting version

I have this line in my nrpe.cfg

command[check_asterisk_version]=/scripts/ -c version2

Here is the script i am running

I also have simmaler issue's with different asterisk pluggin as well

Any Help would be greatly apriciated

share|improve this question
I fiugred it out, my visudo had requiretty – Tim Holum Nov 16 '13 at 16:36
You should post that as an answer and mark it as accepted. – dsolimano Nov 16 '13 at 16:47… – Keith Nov 18 '13 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.