When adding a network switch to be monitored in CheckMK 2.5.0p17 it will list interfaces who are not disabled during a scan.
However I can have a switch where an interface is configured but currently being disabled - this will then not show up in the list of services when doing the scan.
Whats the proper way to have that added?
Can I somehow setup a rule that it will always include int1-48 during scans or such?
I would rather have it added and manually disabled in CheckMK than it not showing up at all. I know it will eventually show up once the interfaces gets “no shutdown”.
These has two reasons.
For interfaces you have now four different version to name them.
index
name
alias
description
How should CMK know what you want?
For the HW/SW inventory - in some systems the hw/sw inventory is not wanted, it is producing a not too small amount of SNMP queries and on some devices this can lead to problems.
Well even without adding if_alias and if_desc how would CMK know which of remaining if_index or if_name you want to use?
I just think it would be more logical to include that by default.
The same for HW/SW inventory - it would be displayed at the bottom of when doing a full service scan and if you dont want it just disable that service for that host.
Just with any other service that is detected during a full service scan.
Even if I prefer optin rather than optout I also prefer tools that makes my life easier and not more complicated each time I need to install or set it up
At worst case it could be preconfigured but disabled.
Now its neither so unless you stubmle upon the “three rules that most admins wants to use” you will be clueless thats such a great feature is already included in CheckMK.
Its not that there doesnt already exists preconfigured rules here and there on a clean install?
The default is every time the index. Also as there are devices existing that only have index for interfaces and nothing else.
What exactly do you mean with include? Here you face the problem, how to handle devices without alias or name on the interfaces. Also how to present the data to the user. Normally my customers network people say what they prefer to see as the naming of the interfaces and i or someone else configures CheckMk the way they want.
Include as in include these rules out of the box similar to how rule for hw inventory is included and set to once a day or something like that otherwise hw inventory would be runned every minute.
I think this is not possible as you need to decide what type of interface description you want. The default rule is set to index as this is a value present on all devices. All other types of names can be not existing on some devices.
That’s a system default. You don’t need a specific rule for the start here.
If an extra rule exists, that is modifying the defaults, then this setting will be used, but to work for the start you don’t need any specific rule.