Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 nrpe 命令:
/usr/lib/nagios/plugins/check_nrpe -H [HOSTNAME] -c check_asterisk_version
输出:Error getting version
Error getting version
我有这条线nrpe.cfg
nrpe.cfg
command[check_asterisk_version]=/scripts/nagisk.pl -c version2
这是我正在运行的脚本
我也有使用不同星号插件的类似问题
任何帮助将不胜感激
没有名为“version2”的 nagisk 检查。改用这个:
command[check_asterisk_version]=/scripts/nagisk.pl -c version
./nagisk.pl -c version通过在 Asterisk 服务器上运行来手动尝试。您应该看到 Asterisk 版本作为输出。
./nagisk.pl -c version