Discussion:
[Check_mk (english)] SNMP in 1.5 fails
Andreas Furtenbacher
2018-09-17 07:19:00 UTC
Permalink
Hi,

I got a problem with SNMP since the upgrade to 1.5.4. When I try an snmpwalk on a machine (cmk -nv -snmpwalk <IP>), I get a timeout:
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
<IP>:
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.

When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.

Can anyone please point me in a direction?!

Thank you,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com<http://www.itarex.com/>
Mail: ***@itarex.com<mailto:***@itarex.com> |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Andreas Furtenbacher
2018-09-17 07:37:48 UTC
Permalink
One more interesting fact:
The discovery of the services works, but the check afterwards, does not. Here the error from the check:

Crash Type check
Time 2018-09-17 09:37:02
Operating System bionic
Check_MK Version 1.5.0p4
Edition cre
Core nagios
Python Version 2.7.15 (default, Sep 10 2018, 19:26:53) [GCC 7.3.0]
Exception
KeyError ('snmp_uptime')
Traceback
File "/omd/sites/itarex/lib/python/cmk_base/checking.py", line 80, in wrapped_check_func
status, infotexts, long_infotexts, perfdata = check_func(hostname, *args, **kwargs)

File "/omd/sites/itarex/lib/python/cmk_base/checking.py", line 159, in do_check
_do_all_checks_on_host(sources, hostname, ipaddress, only_check_plugin_names)

File "/omd/sites/itarex/lib/python/cmk_base/checking.py", line 234, in _do_all_checks_on_host
sources.enforce_check_plugin_names(only_check_plugin_names)

File "/omd/sites/itarex/lib/python/cmk_base/data_sources/__init__.py", line 230, in enforce_check_plugin_names
source.enforce_check_plugin_names(check_plugin_names)

File "/omd/sites/itarex/lib/python/cmk_base/data_sources/abstract.py", line 314, in enforce_check_plugin_names
check_plugin_names, self._for_mgmt_board)

File "/omd/sites/itarex/lib/python/cmk_base/checks.py", line 843, in filter_by_management_board
host_precedence_tcp, host_only_tcp = _get_categorized_check_plugins(found_check_plugin_names)

File "/omd/sites/itarex/lib/python/cmk_base/checks.py", line 895, in _get_categorized_check_plugins
mgmt_board = get_management_board_precedence(check_plugin_name)

File "/omd/sites/itarex/lib/python/cmk_base/checks.py", line 787, in get_management_board_precedence
mgmt_board = check_info[check_plugin_name]["management_board"]
Local Variables
{'check_plugin_name': 'snmp_uptime'}
Python Module Paths /omd/sites/itarex/local/lib/python
/omd/sites/itarex/lib/python
/omd/sites/itarex/lib/python27.zip
/omd/sites/itarex/lib/python2.7
/omd/sites/itarex/lib/python2.7/plat-linux2
/omd/sites/itarex/lib/python2.7/lib-tk
/omd/sites/itarex/lib/python2.7/lib-old
/omd/sites/itarex/lib/python2.7/lib-dynload
/omd/sites/itarex/lib/python2.7/site-packages

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com<http://www.itarex.com/>
Mail: ***@itarex.com<mailto:***@itarex.com> |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien

From: checkmk-en [mailto:checkmk-en-***@lists.mathias-kettner.de] On Behalf Of Andreas Furtenbacher
Sent: Montag, 17. September 2018 09:19
To: checkmk-***@lists.mathias-kettner.de
Subject: [Check_mk (english)] SNMP in 1.5 fails

Hi,

I got a problem with SNMP since the upgrade to 1.5.4. When I try an snmpwalk on a machine (cmk -nv -snmpwalk <IP>), I get a timeout:
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
<IP>:
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.

When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.

Can anyone please point me in a direction?!

Thank you,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com<http://www.itarex.com/>
Mail: ***@itarex.com<mailto:***@itarex.com> |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Marcel Schulte
2018-09-17 07:38:48 UTC
Permalink
Hi Andreas,

did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup
"snmp" yourself? Those groups are builtin now, maybe something went wrong
during migration when upgrading...

BR,
Marcel
Post by Andreas Furtenbacher
Hi,
I got a problem with SNMP since the upgrade to 1.5.4. When I try an
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c
<COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15
seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
*Andreas Furtenbacher*
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
*iTAREX GmbH*
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel Schulte
2018-09-17 07:45:07 UTC
Permalink
Hi Andreas,

could you send me a screenshot of "WATO -> hosttags" as well as your
~/etc/check_mk/multisite.d/wato/hosttags.mk and the out put oft this
command (without the traceback, this comes from the head-pipe):

cmk -D AFFECTED_HOSTNAME | head -12

BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change anything
manually.
Best regards,
Andreas
*Andreas Furtenbacher*
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
*iTAREX GmbH*
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
*Gesendet:* Montag, 17. September 2018 09:39
*Betreff:* Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup
"snmp" yourself? Those groups are builtin now, maybe something went wrong
during migration when upgrading...
BR,
Marcel
Hi,
I got a problem with SNMP since the upgrade to 1.5.4. When I try an
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c
<COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15
seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
*Andreas Furtenbacher*
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
*iTAREX GmbH*
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel Schulte
2018-09-18 05:50:19 UTC
Permalink
Hi Andreas,

sorry, I'm currently snowed under with phone calls and support cases.
Your problem seems to be something bigger and I do not find enough
spare time to work on this.

Thoughts:

1) "cmk --snmpwalk <IP>": do you configure your hosts in CMK with
their IP address as hostname? Usually you use the hostname here
(written exactly like in CMK), so CMK can lookup the needed SNMP
credentials from its configuration...

2) Crashreport: something regarding the management board checks is
mentioned, did you configure the management board section of the host
in question? And does the SNMP poll of the management board work using
the configured credentials?

BR,
Marcel
Am Mo., 17. Sep. 2018 um 09:45 Uhr schrieb Marcel Schulte
Post by Marcel Schulte
Hi Andreas,
cmk -D AFFECTED_HOSTNAME | head -12
BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change anything manually.
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Gesendet: Montag, 17. September 2018 09:39
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup "snmp" yourself? Those groups are builtin now, maybe something went wrong during migration when upgrading...
BR,
Marcel
Hi,
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Andreas Furtenbacher
2018-09-18 05:55:15 UTC
Permalink
Hi Marcel,

no worries! I am glad if you have a look at it, whenever there is time. Or is it possible to get a onetime paid support case for this?
We configure the hosts with names, but also set the IP. We use CMK in a hosting environment, where not all hosts are resolvable via DNS.
What do you mean with the "management board section"? What I can tell you is, that the CMK discovery works, but the check itself does not. I also submitted a crash report. Maybe someone takes a look at it.

Best regards,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Mail: ***@itarex.com |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien


-----Original Message-----
From: Marcel Schulte [mailto:***@gmail.com]
Sent: Dienstag, 18. September 2018 07:50
To: Andreas Furtenbacher <***@itarex.com>
Cc: <checkmk-***@lists.mathias-kettner.de> <checkmk-***@lists.mathias-kettner.de>
Subject: Re: [Check_mk (english)] SNMP in 1.5 fails

Hi Andreas,

sorry, I'm currently snowed under with phone calls and support cases.
Your problem seems to be something bigger and I do not find enough spare time to work on this.

Thoughts:

1) "cmk --snmpwalk <IP>": do you configure your hosts in CMK with their IP address as hostname? Usually you use the hostname here (written exactly like in CMK), so CMK can lookup the needed SNMP credentials from its configuration...

2) Crashreport: something regarding the management board checks is mentioned, did you configure the management board section of the host in question? And does the SNMP poll of the management board work using the configured credentials?

BR,
Marcel
Am Mo., 17. Sep. 2018 um 09:45 Uhr schrieb Marcel Schulte
Post by Marcel Schulte
Hi Andreas,
cmk -D AFFECTED_HOSTNAME | head -12
BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change anything manually.
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Gesendet: Montag, 17. September 2018 09:39
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup "snmp" yourself? Those groups are builtin now, maybe something went wrong during migration when upgrading...
BR,
Marcel
Hi,
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel Schulte
2018-09-18 06:12:59 UTC
Permalink
Hi Andreas,

the cmk command always needs the configured hostname. If this host has an
explicit ip set in CMK, thisvaddress is used internally - but the command
needs the configured hostname.

When you open the host's properties in WATO there's a management board
section at the bottom oft the page...

We do not offer onetime support, sorry. You can write to
***@check-mk.org, describe the Problem and mention the Crashreport-ID
in question - vor send a current crashreport with your mail.

BR,
Marcel
Post by Andreas Furtenbacher
Hi Marcel,
no worries! I am glad if you have a look at it, whenever there is time. Or
is it possible to get a onetime paid support case for this?
We configure the hosts with names, but also set the IP. We use CMK in a
hosting environment, where not all hosts are resolvable via DNS.
What do you mean with the "management board section"? What I can tell you
is, that the CMK discovery works, but the check itself does not. I also
submitted a crash report. Maybe someone takes a look at it.
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
-----Original Message-----
Sent: Dienstag, 18. September 2018 07:50
Subject: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
sorry, I'm currently snowed under with phone calls and support cases.
Your problem seems to be something bigger and I do not find enough spare
time to work on this.
1) "cmk --snmpwalk <IP>": do you configure your hosts in CMK with their IP
address as hostname? Usually you use the hostname here (written exactly
like in CMK), so CMK can lookup the needed SNMP credentials from its
configuration...
2) Crashreport: something regarding the management board checks is
mentioned, did you configure the management board section of the host in
question? And does the SNMP poll of the management board work using the
configured credentials?
BR,
Marcel
Am Mo., 17. Sep. 2018 um 09:45 Uhr schrieb Marcel Schulte
Post by Marcel Schulte
Hi Andreas,
could you send me a screenshot of "WATO -> hosttags" as well as your
~/etc/check_mk/multisite.d/wato/hosttags.mk and the out put oft this
Post by Marcel Schulte
cmk -D AFFECTED_HOSTNAME | head -12
BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change
anything manually.
Post by Marcel Schulte
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Gesendet: Montag, 17. September 2018 09:39
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a
hosttaggroup "snmp" yourself? Those groups are builtin now, maybe something
went wrong during migration when upgrading...
Post by Marcel Schulte
BR,
Marcel
Hi,
I got a problem with SNMP since the upgrade to 1.5.4. When I try an
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c
<COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15
seconds, the normal walk about 4 minutes.
Post by Marcel Schulte
Can anyone please point me in a direction?!
Thank you,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Andreas Furtenbacher
2018-09-19 08:41:01 UTC
Permalink
Hi Marcel,

I had to go back to 1.4 because so many hosts did not work. I hope this gets solved in a future release.

Thanks again and best regards,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com<http://www.itarex.com/>
Mail: ***@itarex.com<mailto:***@itarex.com> |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien

Von: Marcel Schulte <***@gmail.com>
Gesendet: Dienstag, 18. September 2018 08:13
An: Andreas Furtenbacher <***@itarex.com>
Cc: <checkmk-***@lists.mathias-kettner.de> <checkmk-***@lists.mathias-kettner.de>
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails

Hi Andreas,

the cmk command always needs the configured hostname. If this host has an explicit ip set in CMK, thisvaddress is used internally - but the command needs the configured hostname.

When you open the host's properties in WATO there's a management board section at the bottom oft the page...

We do not offer onetime support, sorry. You can write to ***@check-mk.org<mailto:***@check-mk.org>, describe the Problem and mention the Crashreport-ID in question - vor send a current crashreport with your mail.

BR,
Marcel

Andreas Furtenbacher <***@itarex.com<mailto:***@itarex.com>> schrieb am Di., 18. Sep. 2018, 07:55:
Hi Marcel,

no worries! I am glad if you have a look at it, whenever there is time. Or is it possible to get a onetime paid support case for this?
We configure the hosts with names, but also set the IP. We use CMK in a hosting environment, where not all hosts are resolvable via DNS.
What do you mean with the "management board section"? What I can tell you is, that the CMK discovery works, but the check itself does not. I also submitted a crash report. Maybe someone takes a look at it.

Best regards,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Mail: ***@itarex.com<mailto:***@itarex.com> |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien


-----Original Message-----
From: Marcel Schulte [mailto:***@gmail.com<mailto:***@gmail.com>]
Sent: Dienstag, 18. September 2018 07:50
To: Andreas Furtenbacher <***@itarex.com<mailto:***@itarex.com>>
Cc: <checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>> <checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>>
Subject: Re: [Check_mk (english)] SNMP in 1.5 fails

Hi Andreas,

sorry, I'm currently snowed under with phone calls and support cases.
Your problem seems to be something bigger and I do not find enough spare time to work on this.

Thoughts:

1) "cmk --snmpwalk <IP>": do you configure your hosts in CMK with their IP address as hostname? Usually you use the hostname here (written exactly like in CMK), so CMK can lookup the needed SNMP credentials from its configuration...

2) Crashreport: something regarding the management board checks is mentioned, did you configure the management board section of the host in question? And does the SNMP poll of the management board work using the configured credentials?

BR,
Marcel
Am Mo., 17. Sep. 2018 um 09:45 Uhr schrieb Marcel Schulte
Post by Marcel Schulte
Hi Andreas,
cmk -D AFFECTED_HOSTNAME | head -12
BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change anything manually.
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Gesendet: Montag, 17. September 2018 09:39
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup "snmp" yourself? Those groups are builtin now, maybe something went wrong during migration when upgrading...
BR,
Marcel
Hi,
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Andreas Furtenbacher
2018-09-18 06:02:23 UTC
Permalink
Hi again,

now I found the management board,

No we do not configure this on any host. Only the name, IP and if the agent and/or SNMP has to be used.

Best regards,
Andreas

Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT

iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Mail: ***@itarex.com |Mobil: +43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien


-----Original Message-----
From: Marcel Schulte [mailto:***@gmail.com]
Sent: Dienstag, 18. September 2018 07:50
To: Andreas Furtenbacher <***@itarex.com>
Cc: <checkmk-***@lists.mathias-kettner.de> <checkmk-***@lists.mathias-kettner.de>
Subject: Re: [Check_mk (english)] SNMP in 1.5 fails

Hi Andreas,

sorry, I'm currently snowed under with phone calls and support cases.
Your problem seems to be something bigger and I do not find enough spare time to work on this.

Thoughts:

1) "cmk --snmpwalk <IP>": do you configure your hosts in CMK with their IP address as hostname? Usually you use the hostname here (written exactly like in CMK), so CMK can lookup the needed SNMP credentials from its configuration...

2) Crashreport: something regarding the management board checks is mentioned, did you configure the management board section of the host in question? And does the SNMP poll of the management board work using the configured credentials?

BR,
Marcel
Am Mo., 17. Sep. 2018 um 09:45 Uhr schrieb Marcel Schulte
Post by Marcel Schulte
Hi Andreas,
cmk -D AFFECTED_HOSTNAME | head -12
BR,
Marcel
Hi,
thanks for your answer! Yes, I came from 1.4.34. I did not change anything manually.
Best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20/5 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Gesendet: Montag, 17. September 2018 09:39
Betreff: Re: [Check_mk (english)] SNMP in 1.5 fails
Hi Andreas,
did you upgrade from <1.5.0?
Did you change hosttaggroup "agent" formerly or die you add a hosttaggroup "snmp" yourself? Those groups are builtin now, maybe something went wrong during migration when upgrading...
BR,
Marcel
Hi,
OMD[<SITE>]:~$ cmk -nv --snmpwalk <IP>
Walk on ".1.3.6.1.2.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Walk on ".1.3.6.1.4.1"...ERROR: SNMP error: Timeout: No Response from <IP>
Error: SNMP Error on <IP>: Timeout: No Response from <IP> (Exit-Code: 1)
Wrote fetched data to /omd/sites/<SITE>/var/check_mk/snmpwalks/<IP>.
When I run an snmpwalk from the commandline (snmpbulkwalk -v 2c -c <COMMUNITY> <IP>), everything works fine. The bulkwalk takes about 15 seconds, the normal walk about 4 minutes.
Can anyone please point me in a direction?!
Thank you,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 | http://www.itarex.com
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Loading...