Discussion:
[Check_mk (english)] Agent ports not working?
Janne Johansson
2013-11-26 13:10:04 UTC
Permalink
Hello!



I am trying to get agent_ports to work, but it seem to be ignored



agent_ports +=[(6557, 'krokopool.krokobo.se'),]



***@na01:~# check_mk -II krokopool.krokobo.se

Host 'krokopool.krokobo.se': Cannot get data from TCP port
83.250.120.176:6556: [Errno 111] Connection refused

***@na01:~#



And I appear to have the required version (albeit old)

***@na01:~# check_mk -V

This is check_mk version 1.1.13i3

Copyright (C) 2009 Mathias Kettner
Marcel Schulte
2013-11-26 13:40:46 UTC
Permalink
Hi Janne,

hostname part must be a list:

agent_ports += [(6557, ['krokopool.krokobo.se',]),]

HTH,
Marcel
Post by Janne Johansson
Hello!
I am trying to get agent_ports to work, but it seem to be ignored
agent_ports +=[(6557, 'krokopool.krokobo.se'),]
Host 'krokopool.krokobo.se': Cannot get data from TCP port
83.250.120.176:6556: [Errno 111] Connection refused
And I appear to have the required version (albeit old)
This is check_mk version 1.1.13i3
Copyright (C) 2009 Mathias Kettner
_______________________________________________
checkmk-en mailing list
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Janne Johansson
2013-11-26 14:21:15 UTC
Permalink
Oooh.. do I feel stupid now...

Thank you!
Post by Marcel Schulte
Hi Janne,
agent_ports += [(6557, ['krokopool.krokobo.se',]),]
HTH,
Marcel
Post by Janne Johansson
Hello!
I am trying to get agent_ports to work, but it seem to be ignored
agent_ports +=[(6557, 'krokopool.krokobo.se'),]
Host 'krokopool.krokobo.se': Cannot get data from TCP port
83.250.120.176:6556: [Errno 111] Connection refused
And I appear to have the required version (albeit old)
This is check_mk version 1.1.13i3
Copyright (C) 2009 Mathias Kettner
_______________________________________________
checkmk-en mailing list
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Janne Johansson
2013-11-26 14:48:17 UTC
Permalink
Post by Marcel Schulte
agent_ports += [(6557, ['krokopool.krokobo.se',]),]
That worked in as much as that when i did check_mk -II it added the checks,
i then did check_mk -O and rewrote the config.

But the Nagios checks still fail with Crit Cannot Get Data from TCP port
83.250.120.176:6556: Errno connection refused.

Continue reading on narkive:
Loading...