My kdc plugin works fine
/usr/lib64/nagios/plugins/check_kdc -H samba4 -p nagios/nagios1.mydom.priv@MYDOM.PRIV -k /etc/nagios/nagios.keytab
OK
But give me this error on webpage
(Return code of 13 for service 'KDC' on host 'samba4' was out of bounds)
this is the cfg
commands.cfg
define command{
command_name check_kdc
command_line /usr/lib64/nagios/plugins/check_kdc -H $HOSTADDRESS$ -k $ARG1$ -p $ARG2$
}
mydom.cfg
define service{
use local-service ; Name of service template to use
host_name samba4
service_description KDC
check_command check_kdc!/etc/nagios/nagios.keytab!nagios/nagios1.mydom.priv@MYDOM.PRIV
notifications_enabled 1
}
Why nagios return error 13?
Asked by elbarna
(13690 rep)
Jan 3, 2023, 03:11 AM
Last activity: Apr 4, 2023, 06:24 PM
Last activity: Apr 4, 2023, 06:24 PM