[Check_mk (english)] Ignoring interface

Shawn Hodgson s.hodgson at finance-in-motion.com
Fri Nov 30 14:47:36 CET 2012


Ok. That did the trick. So the complete solution is to set:



“if_inventory_uses_description = True” in main.mk and cmk –II and check_mk
–O



This will populate the snmp information with the interface descriptions
such as wlan0, eth0, ect.



Once that can be seen in the autochecks, then you can use



ignored_services += [

(["Host1"],["Interface .*wlan0.*"]),

]



Or



ignored_services += [

(["Host_Group"],ALL_HOSTS,["Interface .*wlan0.*"]),

]





to catch the interface name in the snmp description and apply it to a host
or hostgroup.



Thanks again for all the help!



*Shawn Hodgson        *

*Finance in Motion GmbH*

*IT Support Specialist*

Theodor-Stern-Kai 1, 60596 Frankfurt/Main, Germany



t: +49 (0) 69 977 876 50-948 | f: +49 (0) 69 977 876 50-10



s.hodgson at finance-in-motion.com | http://www.finance-in-motion.com

* **[image: newmain.png]*

Registered Office (Sitz der Gesellschaft): Frankfurt/Main, Germany |
Commercial Register (Handelsregister): HRB 85926, Local Court (Amtsgericht)
Frankfurt/Main
Managing Directors (Geschäftsführer): Sylvia Wisniwski, Elvira Lefting,
Florian Meister | Supervisory Board (Aufsichtsrat): Dr. Klaus Maurer
(Chairman / Vorsitzender)



 Please consider the environment before printing this e-mail

To see the terms and conditions of this e-mail, please click
here<http://fim.syscp.basehosts.de/finance-in-motion.com/likecms.php?site=index.html&nav=-1&siteid=85&entryid=0&sp=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20121130/b14a52ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 11075 bytes
Desc: not available
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20121130/b14a52ec/attachment-0001.png>


More information about the checkmk-en mailing list