Customize Host Menu

Hello,

Is there a way to customize the Host menu in the nav bar when viewing the Services of Host? I used to have Network Interfaces show up in the menu, but it disappeared after I added a LLDP plugin. I would like to bring it back by customizing what parts of the inventory tree show up in the menu (circled in red):

I am using CRE 2.2.0p41.

Thank you,
Auto

I don’t know how to add it to the host menu, but maybe as alternative you can make an icon with custom action for it?

Example how I have hosts link to KB in my raw environment.

Setup > General > Global settings > Custom icons and actions
image

Setup > Hosts > Host monitoring rules > Custom icons or actions for hosts in status GUI

Then wherever there are host icons in a view, the custom icon is there too, in this case the green one:
image

2 Likes

I was able to figure out what I wanted to accomplish after playing around some more. I realized the items in the drop down were basically shortcuts to the views. Opening up one of the views, I saw a checkbox for “Hide this view in dropdown menus”:

image

By cloning the built-in views and selecting that checkbox, I was able to effectively control what showed up in the Host drop down menu (even added some icons):

image

As for the Network Interfaces view not showing up, checking/unchecking that box had no effect on it showing up in the drop down menu. Turns out I had cloned that view in the past and somewhere along the line something must’ve gone wrong. I went ahead and cloned it again and slowly added my customizations back in, one at a time and testing each one. In the end, the new copy of my cloned view showed up fine in the menu. Not sure what happened, not worried about it at this point since things are working again.

Just as a reminder for those that are newer to Checkmk, you can customize the built-in views by cloning them. Just make sure you leave the ID the same and publish it to all users if that is what you want them to see as an admin.

@yggy thank you for sharing your workaround! Though I did not use it to solve my issue, I already have another use case where that would come in handy.

1 Like

Glad you found and described it, because I might have an use case for your solution here.
So thank you too.