[Check_mk (english)] Solaris zones and ldoms

Matthew.Stier at us.fujitsu.com Matthew.Stier at us.fujitsu.com
Tue Feb 26 17:38:49 CET 2019

The Solaris check_mk_agent provided with the server will function on zones and ldoms.

I do recommend using OpenCSW.org and installing the ‘statgrab’ packages so the check_mk_agent can get additional information on the filesystem.

I do find that the default Solaris check_mk_agent does have its short comings, and over the years I have used Check_MK I have rewritten the agent to correct those issues.

My agent backgrounds ‘ps’ and ‘statgrab’ data collection to reduce total agent runtime.

I’ve reordered filesystem checks, to handle Solaris 8 and 9 branded zones running on zfs filesystems.

I’ve imported ‘nfsmounts’ and ‘cifsmounts’ from the Linux agent, with a twist.  Normally it checks mounted filesystems.  Since we use automount, this resulted in filesystems coming and going.  My code only checks NFS or CIFS filesystems explicitly listed in the /etc/vfstab file, unless I have created an /etc/check_mk/{nfs,cifs}mounts file, and then only those listed I that file.

Also, the default Solaris check_mk_agent uses the UCB ‘ps’ command to reconstitute truncated process command lines.  My agent uses the ‘pargs’ command, if the length of the SVR4 ‘ps’ command line is greater than 75 characters.

Last, my agent prefers ‘statgrab’ over ‘top’ and will only generate ‘solaris_mem’ if ‘statgrab’ is not present.

Note:  I have Solaris 11, 10, 8 and 2.6 systems, and my agent runs on all of them.  (I had to build and install a 4.x instance of Bash to get it running on my Solaris 2.6 systems.)

From: checkmk-en <checkmk-en-bounces at lists.mathias-kettner.de> On Behalf Of Gerardo Ferreyra
Sent: Monday, February 25, 2019 3:54 PM
To: <checkmk-en at lists.mathias-kettner.de> <checkmk-en at lists.mathias-kettner.de>
Subject: [Check_mk (english)] Solaris zones and ldoms

Hi guys.
Can anyone confirm if there is any check mk version that can monitor zones and ldoms (Solaris 10/11)?

Cpu and memory for instance.

Using prstat, etc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20190226/e1f1f5fa/attachment.html>

More information about the checkmk-en mailing list