SNMP Monitoring do not show any SERVICES for a forti-device

CMK version: --1.6.0p19
OS version: CentOS Linux 7

Hello guys,
I wanted to check with you, hopefully if someone can share some clarity of the behavior of our CheckMK. - in regard to the SNMP services discovery for one FortiAuthenticator.
We have imported the two needed MIBS for the app to be able to translate the SNMP data, however no matter what we do we cannot even get to the initial services to show.
Other than PING nothing is shown.

  • All the checks in regard to configuration of the SNMPV3 are in the green.
    When i try to pull a OID manually, everything is as it should.
    Based on the output of the snmpwalk translation, the MIBs are doing their job.
    However no data is shown in the GUI.
    I do understand that we are running an older version of the application however, any inside would be appreciated, as upgrade is currently not an option.

Error message:

Output of “cmk --debug -vvn hostname”:

OMD[sas]:~$ cmk --debug -vvn FortiAuthenticator
[cpu_tracking] Start with phase ‘busy’
Check_MK version 1.6.0p19
Try aquire lock on /omd/sites/sas/tmp/check_mk/counters/FortiAuthenticator
Got lock on /omd/sites/sas/tmp/check_mk/counters/FortiAuthenticator
Releasing lock on /omd/sites/sas/tmp/check_mk/counters/FortiAuthenticator
Released lock on /omd/sites/sas/tmp/check_mk/counters/FortiAuthenticator

  • FETCHING DATA
    [cpu_tracking] Push phase ‘snmp’ (Stack: [‘busy’])
    [snmp] No persisted sections loaded
    [snmp] Not using cache (Does not exist)
    [snmp] Execute data source
    [snmp] Write data to cache file /omd/sites/sas/tmp/check_mk/data_source_cache/snmp/FortiAuthenticator
    Try aquire lock on /omd/sites/sas/tmp/check_mk/data_source_cache/snmp/FortiAuthenticator
    Got lock on /omd/sites/sas/tmp/check_mk/data_source_cache/snmp/FortiAuthenticator
    Releasing lock on /omd/sites/sas/tmp/check_mk/data_source_cache/snmp/FortiAuthenticator
    Released lock on /omd/sites/sas/tmp/check_mk/data_source_cache/snmp/FortiAuthenticator
    [cpu_tracking] Pop phase ‘snmp’ (Stack: [‘busy’, ‘snmp’])
    [cpu_tracking] Push phase ‘agent’ (Stack: [‘busy’])
    [piggyback] No persisted sections loaded
    [piggyback] Execute data source
    No piggyback files for ‘FortiAuthenticator’. Skip processing.
    No piggyback files for ‘IP ADDR’. Skip processing.
    [cpu_tracking] Pop phase ‘agent’ (Stack: [‘busy’, ‘agent’])
    [cpu_tracking] End
    OK - [snmp] Success, execution time 0.0 sec | execution_time=0.010 user_time=0.010 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_snmp=0.002 cmk_time_agent=-0.004
    OMD[sas]:~$ [cpu_tracking] Pop phase ‘snmp’ (Stack: [‘busy’, ‘snmp’])

If I try to use vvi --debug I get the following:


.1.3.6.1.4.1.2021.10.1.100.2 => [0] ‘INTEGER’
.1.3.6.1.4.1.2021.10.1.100.3 => [0] ‘INTEGER’
.1.3.6.1.4.1.2021.10.1.101.1 => [] ‘OCTETSTR’
.1.3.6.1.4.1.2021.10.1.101.2 => [] ‘OCTETSTR’
.1.3.6.1.4.1.2021.10.1.101.3 => [] ‘OCTETSTR’
Executing BULKWALK of “.1.3.6.1.4.1.2021.10.2” on FortiAuthenticator
Executing SNMP GET of .1.3.6.1.4.1.2021.10.2 on FortiAuthenticator
=> [None] NOSUCHOBJECT
Executing BULKWALK of “.1.3.6.1.4.1.2021.10.3” on FortiAuthenticator
Executing SNMP GET of .1.3.6.1.4.1.2021.10.3 on FortiAuthenticator
=> [None] NOSUCHOBJECT
[snmp] ERROR: list index out of range
Traceback (most recent call last):
File “/omd/sites/sas/bin/cmk”, line 94, in
exit_status = modes.call(mode_name, mode_args, opts, args)
File “/omd/sites/sas/lib/python/cmk_base/modes/init.py”, line 72, in call
return mode.handler_function(*handler_args)
File “/omd/sites/sas/lib/python/cmk_base/modes/check_mk.py”, line 1498, in mode_discover
discovery.do_discovery(hostnames, options.get(“checks”), options[“discover”] == 1)
File “/omd/sites/sas/lib/python/cmk_base/discovery.py”, line 130, in do_discovery
multi_host_sections = _get_host_sections_for_discovery(sources, use_caches=use_caches)
File “/omd/sites/sas/lib/python/cmk_base/discovery.py”, line 893, in _get_host_sections_for_discovery
return sources.get_host_sections(max_cachefile_age)
File “/omd/sites/sas/lib/python/cmk_base/data_sources/init.py”, line 279, in get_host_sections
host_sections_from_source = source.run()
File “/omd/sites/sas/lib/python/cmk_base/data_sources/abstract.py”, line 134, in run
raw_data, is_cached_data = self._get_raw_data()
File “/omd/sites/sas/lib/python/cmk_base/data_sources/abstract.py”, line 183, in _get_raw_data
raw_data = self._execute()
File “/omd/sites/sas/lib/python/cmk_base/data_sources/snmp.py”, line 233, in _execute
self._use_snmpwalk_cache)
File “/omd/sites/sas/lib/python/cmk_base/snmp.py”, line 262, in get_snmp_table
info += _construct_snmp_table_of_rows(sanitized_columns)
File “/omd/sites/sas/lib/python/cmk_base/snmp.py”, line 692, in _construct_snmp_table_of_rows
row = [c[index] for c in columns]
IndexError: list index out of range

Very Much appreciated!

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