Output linux codename

(Tobias Grossmann) #1

Hi,

how can I output the Linux codename? I want to build a view with this information of all linux-servers at my site.

the normal Services of Host localhost

The normal Check_MK-Service only displays Services of Host localhost

“OS: linux”

(Philipp Näther) #2

I guess the “normal” information just includes what uname on the host is providing.

The easiest way to get what you are looking for is to write a local plugin that checks the linux distribution via cat /etc/*release or something similar.

Information about local plugins:

https://checkmk.com/cms_localchecks.html

1 Like
(DualBoot) #3

Hello,

lsb_release -c should do the trick.

Regards,

1 Like