Check_mk discovery showing Warning alert as " WAYS TO CALL::"

Hi All,

I am having check_mk raw version 1.5.0.p21. I am getting Warning alert for Check_mk Discovery as “WAYS TO CALL:” check_mk is is working fine able to get monitoring data.

Only facing issue with Discovery. Please help me to sort out this issue.

image

Thanks in Advance.

Regards,
DD

What you can try to get a little bit more output is on the command line as site user.

cmk --debug -vvI hostname

There you should also have this text plus a little bit more information.

Please refer below output of mentioned command. It is completing successfully.

===========================================
Discovering services on: ************
***********:

  • FETCHING DATA
    [snmp] Not using cache (Don’t try it)
    [snmp] Execute data source
    SNMP scan:




    Trying discovery with: juniper_cpu, hr_cpu, hr_mem, juniper_bgp_state, juniper_mem, if64adm, juniper_alarm, juniper_fru.fan, snmp_uptime, juniper_fru, juniper_temp, juniper_cpu_util, snmp_info
    SUCCESS - Found nothing new

=======================================

The same with another option

cmk --debug -vv --check-discovery hostname

If this produces no error or the mentioned output before then all looks fine and i don’t know why you get the warning in your check.

It is completed successfully. but still getting Warning alert in “Check_mk discovery”

Please refer below output.

==============================================

  • FETCHING DATA
    [snmp] Not using cache (Don’t try it)
    [snmp] Execute data source
    SNMP scan:


[snmp] Using persisted section ‘juniper_cpu_util’
[snmp] Using persisted section ‘snmp_info’
[piggyback] No persisted sections loaded
[piggyback] Execute data source
OK - no unmonitored services found, no vanished services found

@andreas-doehler is there any work around ?

Regards,
DD

I Got the Root Cause. check-mk-inventory command in check_mk_templates.cfg having --check-inventory instead of --check-discovery.

After modification from --check-inventory to --check-discovery in command check-mk-inventory, check_mk discovery fetching proper data.

Regards,
DD

This means the cfg files was manually edited and could not be updated from the CMK update.
But you should have an message while you updated the system the last time.

It was updated via cmk update only. The template.cfg never manually updated.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.