Hi list,
just a short info if some one ever stumbling over a similar issue:
If you're running Icinga or Nagios and using the check_tcp command to check the
status of the openvasmd via tcp it can happen that your openvasmd.log is
getting filled with the following messages:
-------------------------------------------------------------------------------------------------------------------------------
lib serv:WARNING:2016-01-13 11h44.56 utc:5777: Failed to shake hands with
peer: The TLS connection was non-properly terminated.
md main:CRITICAL:2016-01-13 11h44.56 utc:5777: serve_client: failed to attach
client session to socket 9
lib serv:WARNING:2016-01-13 11h44.56 utc:5777: Failed to gnutls_bye: GnuTLS
internal error.
-------------------------------------------------------------------------------------------------------------------------------
To avoid that make sure that your check_tcp command is checking the service
over SSL. In Icinga this can be achieved by using the "vars.tcp_ssl = true"
option within your service config. An example is:
-------------------------------------
apply Service "openvasmd" {
import "generic-service"
assign where host.name == NodeName
check_command = "tcp"
vars.sla = "24x7"
vars.tcp_port = "9390"
vars.tcp_ssl = true
}
------------------------------------
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss