perfwatcher / collectm

Collectd agent for Windows
GNU General Public License v2.0
62 stars 21 forks source link

collectm+crypro+collectd #23

Open alexz-kh opened 7 years ago

alexz-kh commented 7 years ago

Hello, i'm trying to deal with collectm on Win7 and collectd on ubuntu 16 - the main issue, after i'm enabling crypto -

    "SecurityLevel": 2,
    "Username": "client1",
    "Password": "testtest"

Server unable to get any data from client (w\o crypto everything is fine):

Jul 17 22:19:12 v1 collectd[31256]: network plugin: parse_packet: Received truncated packet, try increasing `MaxPacketSize'
Jul 17 22:19:12 v1 collectd[31256]: [2017-07-17 22:19:12] network plugin: parse_packet: Received truncated packet, try increasing `MaxPacketSize'
Jul 17 22:19:21 v1 collectd[31256]: network plugin: Unencrypted packet or part has been ignored.
Jul 17 22:19:21 v1 collectd[31256]: [2017-07-17 22:19:22] network plugin: Unencrypted packet or part has been ignored.
Jul 17 22:19:21 v1 collectd[31256]: [2017-07-17 22:19:22] network plugin: Unencrypted packet or part has been ignored.
Jul 17 22:19:21 v1 collectd[31256]: network plugin: Unencrypted packet or part has been ignored.

Otherwise, in config i set max packet :

<Plugin "network">
       <Listen "192.168.1.105" "1234">
               SecurityLevel  "Encrypt"
               AuthFile "/etc/collectd/passwd"
             MaxPacketSize 65535
       </Listen>
</Plugin>

Client v - CollectM-1.6.0.install (with latest colletdout module) Server v - 5.7.2.6.g02a2996-1~xenial

Could you please suggest me something to check ?

ghost commented 7 years ago

Did you solve it? The same issue here.

alexz-kh commented 7 years ago

Nope :( Decided switch to zabbix (