Re: Warning about resource shortage [message #9551 is a reply to message #9544] |
Tue, 09 January 2007 12:33 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Thorsten Schifferdeck
Messages: 38 Registered: February 2006
|
Member |
|
|
Hi Jan,
as a startpoint you can use the shell script of nagios plugin (->
http://wiki.openvz.org/Monitoring_openvz_resources_using_nag ios_and_snmp
) to monitoring your ubc settings.
Remove the nagios spec. settings, like HOST, PORT, USER and PASS, and
smpdwalk commands ... to run it locally.
Add you should add a inform method like email or icq or what ever !
Regards,
Thorsten
--
tsd@debian.systs.org
Am Di, 9.01.2007, 10:32, schrieb Jan Tomasek:
> Hello,
>
> is it possible to get warning when *any* resource shortage happens? I've
> seen several times:
>
> Dec 20 16:04:39 chlivek kernel: Fatal resource shortage: kmemsize, UB
> 187033.
> Dec 20 16:04:39 chlivek kernel: Fatal resource shortage: kmemsize, UB
> 187033.
>
> But never for something else than kmemsize. I would like to see (have
> recorded) warning about any resource shortage counter change. This could
> help me decide whatever system need tuning resource or not (depending on
> time and state of other systems).
>
>
> Is chance to switch on such feature or have I write myself some script
> which will parse /proc/user_beancounters?
>
> Best regards
> --
> -----------------------
> Jan Tomasek aka Semik
> http://www.tomasek.cz/
|
|
|