Protocol error. Can not agree hostkey

General chat about HostMonitor
Post Reply
nexus
Posts: 1
Joined: Mon Dec 11, 2017 5:32 am

Protocol error. Can not agree hostkey

Post by nexus »

Hi

I tried to find a solution but cant find any.
I have put up monitoring of ubuntu machine.
Ping to check if its alive works fine.

But I want to do a check to see if the disk is not full.
I have a script that it will run on the machine to check this.

When I run the check it says: Protocol error. Can not agree hostkey

Info about the machine

Descripton: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

Anyone know how to get past agree part?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

It depends on HostMonitor version you are using and SSH settings on Ubuntu system.

In most cases this option will help:
add SSHMode=1 line into [Misc] section of hostmon.ini file and restart HostMonitor
(modify rma.ini file instead of hostmon.ini if you want to enable this option for Remote Monitoring Agent)

Version 11.00 will be able to check disk space using SNMP

Regards
Alex
Post Reply