Hi, Is the host which reports error solaris zone?
Monit uses getvmusage() when running in Solaris zone, otherwise it uses kstat. It seems that S11 SRU 12.4 and S10 150400-41 either has some bug or new restriction for getvmusage() in zones. Unfortunately we cannot test it - we have Solaris development license and running Solaris 11.3 SRU 1.5 + Solaris 10 U11 with 147147-26 / 147148-26. Is it possible to get remote access to some solaris zone running the new kernel? Best regards, Martin > On 20 Oct 2016, at 09:04, Townend Andrew (NHS BUSINESS SERVICES AUTHORITY) > <[email protected]> wrote: > > Hi, > > We have several Solaris servers running Monit which have recently been > patched, and since patching they have stopped reporting swap usage. > > Examples are a server which has been patched from Solaris 11.3 SRU 4.5.0 to > SRU 12.4.0, and another that has been patched from Solaris 10 9/10 kernel > patch 150400-32 to 150400-41. > > The error coming out of the logs is: > > [BST Oct 18 11:42:55] error : system statistic error -- getvmusage failed > [BST Oct 18 11:42:55] error : 'servername' statistic error -- memory usage > gathering failed > > I’ve upgraded Monit to version 5.19.0 but this hasn’t helped. > > Has anyone come across this before? > > How does Monit gather swap usage? Using vmstat to get this information on the > servers works fine. > > Any help would be much appreciated. > > Thanks. > > AndyT > > > ******************************************************************************************************************** > > This message may contain confidential information. If you are not the > intended recipient please inform the > sender that you have received the message in error before deleting it. > Please do not disclose, copy or distribute information in this e-mail or take > any action in reliance on its contents: > to do so is strictly prohibited and may be unlawful. > > Thank you for your co-operation. > > NHSmail is the secure email and directory service available for all NHS staff > in England and Scotland > NHSmail is approved for exchanging patient data and other sensitive > information with NHSmail and GSi recipients > NHSmail provides an email address for your career in the NHS and can be > accessed anywhere > For more information and to find out how you can switch, visit > www.nhsdigital.nhs.uk/nhsmail > > ******************************************************************************************************************** > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
