I execute rkhunter (rootkit detector) as a UserCommand. When testing with "zabbix_agentd -p" is usually takes about 5 minutes to complete the scan and to eveluate the result correctly (I use grep & wc -l to return 0 or 1).
But when testing with "zabbix_get -s Hostname -k rkhunter.warn", the result is always 0, even if it should be 1.
Is there a timeout for UserCommands or some other reason?
But when testing with "zabbix_get -s Hostname -k rkhunter.warn", the result is always 0, even if it should be 1.
Is there a timeout for UserCommands or some other reason?
Comment