Services not appearing in nexus

Hi, I´m experiencing some problems with a nexus 7700. When I created it in my site,the number of services were about 900 but after new discoverys they have decreased to 300 (it seems like it’s just being applied if64 and only interfaces appear …I´ve tried rediscovery but without results…Any idea?

Thanks in advance
Ana

try it on the console with

cmk -iv YourHost

cmk -IIv YourHost

as site user

discovering of a nexus takes some time

otherwise:

https://checkmk.com/cms_cmk_commandline.html

point 4.3 for special checks

I´ve tried it but same results :frowning_face:

what was the output ???

any Rules in the host & Service parameters -> Network Interface and Switch Port Discovery

Hi,

~$ cmk -iv mydevicenexus

  • FETCHING DATA
    [snmp] Execute data source
    [piggyback] Execute data source
    No piggyback files for ‘mydevice’. Skip processing.
    No piggyback files for ‘10.1.69.45’. Skip processing.
  • EXECUTING INVENTORY PLUGINS
    Plugins: inv_if snmp_extended_info snmp_info
    SUCCESS - Found 8563 inventory entries
    SUCCESS - Found 1208 status entries

~$ cmk -IIv DCESCCORE01_CPD
Discovering services on: mydevicenexus
DCESCCORE01_CPD:

  • FETCHING DATA
    [snmp] Execute data source
    [piggyback] Execute data source
    No piggyback files for ‘mydevicenexus’. Skip processing.
    No piggyback files for ‘10.1.69.45’. Skip processing.
  • EXECUTING DISCOVERY PLUGINS (6)
    302 if64
    1 snmp_info
    1 snmp_uptime
    SUCCESS - Found 304 services, no host labels

I created a rule in [Network Interface and Switch Port Discovery] in the main directory:

Appearance of network interface: Use alias
Network interface port states to discover: 1 - up, 2 - down

Network interface port types to discover: Selected all of them

sometimes i have simelar problems try this for example

cmk -Iv checks=cisco_nexus_cpu mydevicenexus

then i have to add the checks direktly

Nothings happens, -Is it supposed that cmk -Iv checks=cisco_nexus_cpu mydevicenexus should create the new service ?

yes …

you can try the other cisco checks the checknames are loceted:

wato - checkplugins

in the searchfield type cisco

Thanks BH2005, I´ll try it.

Hi BH2005,

Finally I´ve been able to discover all the services, I tried:
cmk --check --checks plugin_name -nv --debug mynexusdevice and that worked for me!
The problem is that the discovery process is not applying correctly all the plugins just only 6. Here´s the output:

  • EXECUTING DISCOVERY PLUGINS (6)
    Trying discovery with: hr_mem, snmp_uptime, if64_tplink, if64adm, if64, snmp_info
    Try aquire lock on /omd/sites/lancpds/var/check_mk/autochecks/mynexusdevice.mk
    Got lock on /omd/sites/lancpds/var/check_mk/autochecks/mynexusdevice.mk
    Releasing lock on /omd/sites/lancpds/var/check_mk/autochecks/mynexusdevice.mk
    Released lock on /omd/sites/lancpds/var/check_mk/autochecks/mynexusdevice.mk
    303 if64
    1 snmp_info
    1 snmp_uptime
    SUCCESS - Found 305 services, no host labels

where can I find the configuration of the plugins that are being applied to my device?, maybe something is wrong…

Thxs

Ana