Den 17-01-2014 21:20, Andy Smith skrev:
If a Solaris host is stood up with no swap configured, any memory checks
submitted to 4.3.13 (and possibly previous versions) are silently
discarded. This affects most (but not all) of our non-global zones.
This patch for xymond/client/solaris.c fixes the problem.
On the subject of non-global zones, it is necessary to run slightly
different commands in a non-global zone to extract the correct
information. This is especially true in respect of memory and swap and
will be particularly visible to anyone running memory capped zones. I
offer this patch to xymonclient-sunos.sh if anyone is interested.
Thanks, applied. I don't know enough about Solaris to determine if your
client-script patches may break some setups, so I trust that you have
tested it on different systems.
The change for server-side handling of the swap data seems sound, so I
have no worries about that.
Regards,
Henrik