Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
paulxp
bypaulxp, April 6, 2014
Hello, please help me. This script locally works fine, but i have issue with arguments on nagios monitoring server
Client side with asterisk is working fine. After entering command ./check_asterisk_peers -t sip -p 10
i get
ERROR: 10: Not found
It's ok because extension 10 is not registered
In /etc/nagios/nrpe.conf command is defined as:
command[check_asterisk_peers]=/usr/lib/nagios/plugins/check_asterisk_peers -t sip -p sip channel
-------
Command line on nagios monitoring server:./check_nrpe -H 192.168.1.109 -c check_asterisk_peers -a "-p 10"
i get this:
ERROR: sipchannel: Not found
Argument with -p 10 is ignored. Please help me with correct syntax in nrpe.conf
Another question... How to define service with checking extension 10 in nagios?
Client side with asterisk is working fine. After entering command ./check_asterisk_peers -t sip -p 10
i get
ERROR: 10: Not found
It's ok because extension 10 is not registered
In /etc/nagios/nrpe.conf command is defined as:
command[check_asterisk_peers]=/usr/lib/nagios/plugins/check_asterisk_peers -t sip -p sip channel
-------
Command line on nagios monitoring server:./check_nrpe -H 192.168.1.109 -c check_asterisk_peers -a "-p 10"
i get this:
ERROR: sipchannel: Not found
Argument with -p 10 is ignored. Please help me with correct syntax in nrpe.conf
Another question... How to define service with checking extension 10 in nagios?