Bonjour,
Marche po ces scripts sur Centreon (enfin, je n'arrive pas à les faire fonctionner), il m'insulte en me disant :
CRITICAL - Plugin timed out while executing system call
Les commandes :
$USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ , j'ai passé en arguments !192.168.0.14!www.google.fr
$USER1$/check_dns -H $ARG1$ -s $HOSTADDRESS$ , avec pour arguments
!www.google.fr!192.168.0.14
Mais ils fonctionnent en ligne de commande :
mauresque:/usr/local/nagios/libexec # ./check_dig -H 192.168.0.14 -l www.google.fr
DNS OK - 0.103 seconds response time (www.google.fr. 65266 IN CNAME www.google.com.)|time=0.103104s;;;0.000000
mauresque:/usr/local/nagios/libexec # ./check_dns -H "www.google.fr" -s 192.168.0.14
DNS OK: 0.047 seconds response time. www.google.fr returns 216.239.59.104,216.239.59.147,216.239.59.103,216.2 39.59.99|time=0.046897s;;;0.000000
Keskej peux faire doc ?
Merci
Marche po ces scripts sur Centreon (enfin, je n'arrive pas à les faire fonctionner), il m'insulte en me disant :
CRITICAL - Plugin timed out while executing system call
Les commandes :
$USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ , j'ai passé en arguments !192.168.0.14!www.google.fr
$USER1$/check_dns -H $ARG1$ -s $HOSTADDRESS$ , avec pour arguments
!www.google.fr!192.168.0.14
Mais ils fonctionnent en ligne de commande :
mauresque:/usr/local/nagios/libexec # ./check_dig -H 192.168.0.14 -l www.google.fr
DNS OK - 0.103 seconds response time (www.google.fr. 65266 IN CNAME www.google.com.)|time=0.103104s;;;0.000000
mauresque:/usr/local/nagios/libexec # ./check_dns -H "www.google.fr" -s 192.168.0.14
DNS OK: 0.047 seconds response time. www.google.fr returns 216.239.59.104,216.239.59.147,216.239.59.103,216.2 39.59.99|time=0.046897s;;;0.000000
Keskej peux faire doc ?
Merci
Comment