zabbix添加任务计划和sshd文件修改key
UserParameter=sshd,sudo awk '/PasswordAuthentication/{if ( $2 == "no" ) {print "OK"} else {print "NOT OK"}}' /etc/ssh/sshd_config
UserParameter=sshdroot,sudo awk '/PermitRootLogin/{if ( $2 == "no" ) {print "OK"} else {print "NOT OK"}}' /etc/ssh/sshd_config
UserParameter=sshdroot,sudo awk '/PermitRootLogin/{if ( $2 == "no" ) {print "OK"} else {print "NOT OK"}}' /etc/ssh/sshd_config